Redirect Question

georgetoons

Elite Member
Jr. VIP
Joined
Feb 9, 2023
Messages
2,211
Reaction score
1,568
Hi bhw fam,

So I have a problem, I have a site with like 5000 pages, the site is getting about 50k traffic.

I have purchased a new domain that I want to change the site to for privacy/security reasons but here is what I have been thinking:

What is the best way I can go about the redirect?

Do I 301 redirect each page 1 by 1 to its correct page?

Or can I just redirect all links to my new domains home page which will be much quicker.

Will this have a big impact on my google rankings?

Please let me know what you believe is my best move in this case :)

Thank you all in advance!
 
Speak to your host and ask them to setup a 301 redirect for any URL on the old domain to the new domain. There is some .htaccess code that can be added to the old domain to achieve that.
Once that's done, they should also be able to update the WordPress install to be on the new domain with all of the old content.
 
I think you can redirect those 5000 pages to the new domain of same pages via .htaccess code. I found the good solution on this website which you can check
https://wpscholar.com/blog/redirect-old-domain-to-new-domain-via-htaccess/

They have given the code, that may be you can used in your .htaccess file for the desire output.

<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTP_HOST} ^olddomain.com$ [OR] RewriteCond %{HTTP_HOST} ^www.olddomain.com$ RewriteRule (.*)$ http://www.newdomain.com/$1 [R=301,L] </IfModule>
I am not a developer so I just ask chatgpt to decode this for me in layman's term and I think this will be the same as you want o achieve page by page redirection from old to new domain.

ChatGPT reply in Layman's langauge
In simple terms, when someone tries to access a page on "olddomain.com" or "[URL='http://www.olddomain.com/']www.olddomain.com[/URL]," the server will redirect them to the same page on "[URL]http://www.newdomain.com/[/URL]" with a permanent redirect. This is often used when you're moving your website from an old domain to a new one, and you want to ensure that both users and search engines are aware of the change.

Off course you can first confirm this with the developer. And for the new domain URL you can use the www or non www version(whichever is your preferred version) URL of your new domain.
 
Most of the registrants allow 301 domain redirect. Check because it's the simplest way and you don't have to write any code
 
Back
Top