Wednesday, November 25, 2009

.htaccess - handling "?" in URL's indexed by Google?

Does anyone know how we use a .htaccess redirect command on an old URL indexed by google:



e.g. www.xyz.com/?isp=4



and make it go to something like www.xyz.com/tesco



We can't get it to interpret the "?" as part of the URL



Any ideas?



.htaccess - handling "?" in URL's indexed by Google?internet browser



You will need to setup mod_rewrite in apache. it's pretty easy, i've linked to the mod_rewrite website, and a really nice mod_rewrite cheat sheet for figuring out what you need to put in your .htaccess file



good luck!

No comments:

Post a Comment

 
nortin