[thelist] .htaccess rewrite to redirect

Tony Crockford tonyc at boldfish.co.uk
Thu Jan 19 17:29:29 CST 2006


in the middle of moving dev sites to live server and I discover that 
the dev sites are placed higher in the search engines than the 
original site.

could some kind soul give me a simple .htaccess rewrite rule that I 
could stick in an .htaccess file on the dev server to redirect 
requests to the live server - page for page preferably.

e.g no matter what the incoming request is it goes to the same place 
on the live server...

e.g. http://www.exampledevserver.com/about.htm would be redirected to 
http://www.exampleliveserver.com/about.htm


It's late here in the UK and getting my head round the regex and 
rewrite rules isn't happening!

TIA

Tony
-- 
Join me: http://wiki.workalone.co.uk/
Thank me: http://www.amazon.co.uk/gp/registry/1VK42TQL7VD2F
Engage me: http://www.boldfish.co.uk/portfolio/




More information about the thelist mailing list