Posts: 876
Name: Matt Pealing
Location: England, north west
|
So far I have this code that has been automatically generated by Wordpress to define the permalink structure:
Code:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Does anyone know how I should update it to forward my old domain to my new domain?
Basically I have:
Code:
newdomain.com and olddomain.com
Both pointing to the same location, if I visit olddomain.com then it shows in the address bar, however if I then click any link on the site, the address changes to newdomain.com
But how would I set it so that anyone who visits olddomain.com will be automatically forwarded to newdomain.com?
Thanks
|