Hello,
Can someone help me create an htaccess file that will 301 redirect all folders to a corresponding script address that uses the folders name? And allows me to exclude certain folders?
For example:
http://www.example.com/dogs/
needs to redirect to
http://www.example.com/search.php?q=dogs
And then I need to exclude the following so they don't redirect.
http://www.example.com/blog/
http://www.example.com/dictionary/
Any help would be deeply appreciated.
-Griff
[edited by: Ocean10000 at 8:54 pm (utc) on Nov 1, 2014]
[edit reason] Examplified [/edit]