How to convert text to lowercase URLs using .htaccess

Question!

I want to set up 301 redirects in my .htaccess file so URLs like

http://example.com/Foo

http://example.com/Foo/Bar

http://example.com/Foo/Bar/Blah

change to

http://example.com/products/foo

http://example.com/products/foo/bar

http://example.com/products/foo/bar/blah

There are a discrete number of "Foo" cases which I can target with RewriteRule ^Foo, but how to append the "products" part?



Answers

First add this line in

By : anubhava


This video can help you solving your question :)
By: admin