Hi
Site is changing its domain name (so its on the same server), so i just want to redirect any traffic going to the old name to the new name, site structure is identical etc the old domain name is still live and pointed at the server and will be for the forseeable future
I just want to confirm this will work, as i have never redirected the main domain on a server to the same server
RewriteEngine on
RewriteCond %{HTTP_HOST} ^oldname.com$
RewriteRule ^(.*)$ http://newname.com$1 [R=301,L]
obviously I will be changing the configure files accordingly.
I also assume paypal will need to be reconfigured (or will it work ok)
Bookmarks