Okay, I’m a complete noob when it comes to editing .htaccess. I’ve never messed with it in all my years of building websites, and recently when trying to understand the process that goes into creating exactly what I’m looking for, it flies right over my head.
-
What I am trying to do is make a link domain.com/test/ load domain.com/test.php but keep /test/ instead of changing to /test.php
-
So I load domain.com/test/ and I see the page domain.com/test.php but the address bar shows domain.com/test/
If anyone could help me with this that would be amazing.
Enable mod_rewrite and .htaccess through
httpd.confand then put this code in your.htaccessunderDOCUMENT_ROOTdirectory: