![]() |
mod_rewrite : make a "fake" directory that displays an "index.php" from another folde
Hey there,
I'm attempting to use clean URLs. The about page my site is located at http://www.example.com/frontEnd/about.php I'd like to access it by merely typing in http://www.example.com/about/ Similar to how you clean ugly variables in a URL : Code:
RewriteEngine OnI've tried : Code:
RewriteEngine On |
Solved
I've figured it out.
The problem was that I included a "/" before the name of the "fake" directory. Here's the solution : Code:
RewriteEngine On |
| All times are GMT +1. The time now is 10:11 PM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.