I need last help ........ i think
I need to redirect all traffic from google to my new domain. The structure is the same and i would link redirect to correct discusisone url, not only domain.
How is possible set in .htaccess this funcion:
redirect url 'http://www.old-domain.com/category1/discussion13.html' to 'http://www.new-domain.com/category1/discussion13.html'
and all other urls
thanks
[SOLVED]
domain name change
For a basic domain name change, where folder names haven't changed, simply copy these following lines into the file, replacing "new.com" with the new domain name. If you have an existing .htaccess file; keep a backup copy of it and then remove all other instructions from the file; except for these:
Code:
RewriteEngine On
RewriteRule ^(.*)$ http://www.new.com/$1 [R=301,L]