Redirection to new domain problem
-
I’ve spent all day trying to do this and it’s been a nightmare.
I’ve copied across all the files for https://www.blog.rlaschool.com to my new domain, https://www.reallifeattraction.com using ftp.
I’ve set up a new database and ensured wpconfig on the new wordpress points to the new database, I’ve copied the database from blog.rlaschool.com and put it there. I’ve been through the database and changed all URLs using a URL change plugin.
I have set up the .htaccess (now removed because the site is broken) file to 301 redirect to the new domain using the following snippet:
RewriteRule (.*) https://www.newdomain.com/$1 [R=301,L]
Placed after RewriteEngine on
—
I thought all of this was working fine. Upon viewing https://www.blog.rlaschool.com I was getting redirected perfectly to the new domain. The problem is that is the ONLY thing that was working, I have just realised that absolutely none of the posts are there in reality when you try to click through to them. Only the homepage works.
What have I done wrong? I could really use some help with this.
- The topic ‘Redirection to new domain problem’ is closed to new replies.