I redirected my e-commerce website from Http to Https. Now I want to implement canonical tags for similar products to avoid duplicate issue. In my product pages the permalink is the HTTP version but the redirection works properly. Is it ok if I put the canonical tag in a 301 redirected page? Since I can not find the HTTPs pages in my Wordpress.

  • How would you do that? Redirects don't have a "page", so you can't put a canonical tag in the same URL that redirects. Sep 13, 2018 at 11:22
  • @StephenOstermiller: You could do so by adding the canonical "tag" to the http header. But I would not do this as the 301 redirect should go to the "final" URL anyway.
    – Patrick
    Sep 13, 2018 at 12:54
  • I didn't even know there was a HTTP header for that. I found documentation from Google about it: support.google.com/webmasters/answer/… Sep 13, 2018 at 14:10

1 Answer 1


No, that's not correct. You should only use canonical tag for the final URL you want Google to crawl.

Google will choose one URL as the canonical version and crawl that, and all other URLs will be considered duplicate URLs and crawled less often.

So, if you use a 301 redirect from http to https and after that tells Google that the canonical URL is the previous one, that could lead to an indexation problem. I'll not take the risk.

  • So how can I implement the canonical links while the permalink is HTTP in product pages? Sep 13, 2018 at 12:47
  • 1
    You need to change all the links on your site to point to HTTPS. There are probably links in your WordPress database. Sep 13, 2018 at 14:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.