how can i redirect all requests coming on
foo.bar.com/some-thing
to be redirected to
foo.bar.com/some-thing-else
also can you please hook me up to some good learning resources for learning htaccess, i am very new to this development stuff.
Regards.
Edit
following is the code i have been trying with (without success)
RewriteRule ^some-thing?$ index.php/some-thing-else [QSA,L]
try something like this :
in the .htaccess put this :
in the index php put this for testing :
browse to your site ie
http://localhost/some-thingorhttp://localhost/dirty-thing.hope you can modify this to your exact needs.