I have a new wordpress website that I want to put live. I need to redirect all the old product URLs to the new and the domain name needs to be pointed to a new server.
I just want to ensure I follow all the correct steps in the correct order and ensure Google knows about these changes and ranks the new website.
Is the below correct?
- follow wordpress instructions on how to replace uRLs: https://codex.wordpress.org/Moving_WordPress
- Upload new website to new server.
- Change nameservers for domain to point to new server.
- Write htaccess redirects for products and place on OLD server / website
- Write htaccess redirects for products and place on NEW server / website
2
Answers
Filbert everything looks ok, but you shouldn’t need to write a htaccess for the old server/website. There is no requirement for that, as when the nameservers change over it will be using the new htaccess only.
Other than that, for SEO reason, the 301 redirects will suffice.
You can skip step 4, no need to add anything to old host since nothing will be pointing there.
You can also look at a plugin for managing the redirects – may be a bit easier to manage with WordPress admin vs a .htaccess file.