Forum Moderators: Robert Charlton & goodroi

Message Too Old, No Replies

Move a domain to another: change the canonical tag of old site?

         

Owin

6:23 am on Aug 28, 2019 (gmt 0)

5+ Year Member



Hi all,

Recently we plan to move our domain to another.
For example: The old domain is abc.com, and the new domain is def.com. The content on both sites are exactly same. On the new site, we have replaced the rel=canonical tag from https:// www.abc.com/example.html to https:// www.def.com/example.html. Is there necessary to repeat the operation on the old site after the new site is online?

By the way, is there any suggestion for domain migration?

Thanks!

[edited by: goodroi at 10:47 am (utc) on Aug 28, 2019]
[edit reason] delinked example urls [/edit]

skaterpunk

12:38 pm on Aug 28, 2019 (gmt 0)

5+ Year Member Top Contributors Of The Month



Someone more informed may correct me, but you should just have to do a domain redirect from the old site to the new site, which can be done in cpanel.

Domain migration? Depends. I use WP and the web host has always been willing to handle the migration.

not2easy

12:45 pm on Aug 28, 2019 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Be very careful if you decide to take the cpanel shortcut for redirect because if you are not careful it uses the Apache default "302" (Temporary) rather than a permanent 301 rewrite.

aristotle

8:02 pm on Aug 29, 2019 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



On the new site, we have replaced the rel=canonical tag from https:// www.abc.com/example.html to https:// www.def.com/example.html.

Shouldn't it be on the old site instead of the new site? This seems more logical to me, because otherwise someone could copy your site and claim that their site is the canonical

lucy24

9:00 pm on Aug 29, 2019 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



we plan to move our domain to another
Do you mean that the former example.old/pagename will now be found at example.new/pagename? If the redirects are happening correctly, nobody will ever see the pages at example.old, so it makes no difference what tags you have.

tangor

10:34 pm on Aug 29, 2019 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



A standard redirect does not care what canoncial might be there. It is just redirecting urls from one place to another.