301 Redirection and Canonical Issue

2 replies
  • SEO
  • |
Hi

I have a site with thousand's of pages dynamically generated through CMS. Now i have changed my site from http to https and my query is all my old pages with http are having canonical with http, do i need to change all canonical http to https or can i keep as it is because i have already done 301 redirect to https, if SE's crawled https page and if they found canonical with http, to which page SE's give preffer

Example: A site is 301 redirected to B site, B site is having canonical tag of A

To which URL (A or B) will get value from SE's
#301 #canonical #issue #redirection
  • Profile picture of the author MikeFriedman
    You are going to confuse the shit out of the search engines like that. The canonical tag needs to point to the canonical URL.
    {{ DiscussionBoard.errors[10428952].message }}
  • Profile picture of the author webdevpro
    If you are doing 301 redirection from http (A) to https (B), there is no need to keep the canonical tag that points to http (A); as 301 happens before any rendering of the contents.
    {{ DiscussionBoard.errors[10429090].message }}

Trending Topics