I have the following directory setup:
http://www.mysite.com/public/
I use the following correspondence to remove a βpublicβ folder from visible URLs:
This works fine and redirects everything correctly. However, I also want to rewrite some dynamic pages, which are also in the "public" subfolder, but I am having trouble getting any of the files I have rewritten, which I found work with the above rule.
For example, with the above subdirectory, rewrite the rule by going to the URL, for example:
http:
... should be rewritten to something like:
http:
Thoughts?
php regex friendly-url .htaccess mod-rewrite
MindSculpt
source share