Msg#: 3472011 posted 11:10 pm on Oct 8, 2007 (gmt 0)
You don't need the RewriteCond, since it doesn't do anything in your code anyway, and you do need to add a back-reference, so that the requested page is requested from the new domain: RewriteEngine on RewriteRule (.*) http://www.mynewdomain.com/$1 [R=301,L]
Msg#: 3472011 posted 11:49 pm on Oct 8, 2007 (gmt 0)
Ok i changed the code thanks but not understand what back-reference means, can you or someone give an example please .I renamed all pages ( was using a cms )and delete some of them so redirecting them to new homapage fine with me .