Best practices on site migration?

CryptMedia

Regular Member
Joined
Sep 24, 2019
Messages
207
Reaction score
145
What are your suggestions when moving a website to another domain to maintain the seo rankings?
 
i dont think u can maintain the rank of the domain, maybe poke google about it?
 
Yes, that is doable and you have to set that on .htaccess if using Apache or in the Nginx configuration file.

.htaccess is more common since cPanel, so here it is:
Code:
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^OLDDOMAIN\.com$ [NC]
RewriteRule ^(.*)$ http://NEWDOMAIN.com [R=301,L]
 
I've just finished doing it for a site at digitalocean on nginx, just requires swapping all mentions of the previous domain to the new domain in var / www / html / and then adding a 301 perm redirect in the old server block while creating a new server block that is just a copy of the old one with the domain replaced throughout.

The other thing you need to do right is the SSL cert, it will be nightmare to try to solve after the fact if you don't do that right. If you're using letsencrypt you can switch the cert to the new domain pretty easily, or you can completely remove it from the old domain and start again.
 
For maintain same SEO ranking you can do 301 redirects but not 100% sure for the same ranking !!
 
You can use 301 to redirect. You have to redirect it properly if not you may lose some traffic to your website and also it affects ranking. Make sure you have redirected all your visitors to your new domain.
But will take few days to rank.
 
Yes, that is doable and you have to set that on .htaccess if using Apache or in the Nginx configuration file.

.htaccess is more common since cPanel, so here it is:
Code:
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^OLDDOMAIN\.com$ [NC]
RewriteRule ^(.*)$ http://NEWDOMAIN.com [R=301,L]
as said above it best way .

but i usally just use my domain provider and redirect there .
 
Before starting to migrate first give it a try in a test server and check out whether the output is satisfactory. Migrating all of a sudden without giving it a try leads to most of the errors. Also u should try to migrate during the slow season of the year trying to migrate before or during holidays will surely affect uer traffics.
 
Back
Top