Should I add canonical links to pages that are redirected?
-
Hello!
I am a little confused concerning canonical links. I have several URLs that all access my page, but I redirect them all. A lot of places I am told to redirect them or use canonicals. Other places, I read that I should always use canonicals. What is the right way for me? If I should use canonicals as well as redirects, which links should I do this on? I redirect my pages like this:
http to https:
http://example.com -> https://example.comwww to non-www:
https://www.example.com -> https://example.comRemove trailing slashes
https://example.com/ -> https://example.comWould-be 404-requests to index.php?p=$1
https://example.com/home -> https://example.com/index.php?p=home ( show as https://example.com/home )Example:
http://www.example.com/home/ -> http://www.example.com/home/ -> https://example.com/home/ -> https://example.com/home -> https://example.com/index.php?p=home ( shows as https://example.com/home )Thank you!
-
Ok, thank you!
-
It seems that in all your cases you should indeed be redirecting them. Only if a page is really using duplicate content then you're going to need a canonical tag.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Building a new page: What on-page SEO would you build in?
Hi all, Building a new page for a fairly competitive keyword. Need to make sure the on-page SEO is pretty top notch, because link building (including internal links) will be difficult. I've optimised the meta description, the alt tags and image names, and included the keyword in the Title Tags. Not a great deal I can do with regards to optimising for mobile or considering migrating to the AMP project because this is handled externally. What else would you suggest? Cheers in advance, Rhys
On-Page Optimization | | SwanseaMedicine1 -
Should you 301, 302, or rel=canonical private pages?
What should you do with private 'logged in' pages from a seo perspective? They're not visible to crawlers and shouldn't be indexed, so what is best practice? Believe it or not, we have found quite a few back links to private pages and want to get the ranking benefit from them without them being indexed. Eg: http://twiends.com/settings (Only logged in user can see the page) 302 them: We can redirect users/crawlers temporarily, but I believe this is not ideal from a seo perspective? Do we lose the link juice to this page? 301 them: We can do a permanent redirect with a short cache time. We preserve most link juice now, but we probably mess up the users browser. Users trying to reach a private page while logged out may have issues reaching it after logged in. **Serve another page with rel=canonical tag: **We could serve back the home page without changing the URL. We use a canonical tag to tell the crawlers that it's a duplicate of the home page. We keep most of the link juice, and the browser is unaffected. Yes, a user might share that different URL now, but its unlikely. We've been doing 302's up until now, now we're testing the third option. How do others solve this problem? Is there a problem with it? Any advice appreciated.
On-Page Optimization | | dsumter0 -
Nofollow links to own website pages
To preserve link juice should I "nofollow" links to about us and contact us pages that appear at the top of our navigation? I read this article - but I am not familiar with the authenticity: http://www.eminentseo.com/blog/navigation-menu-optimization-best-practices/ Thanks Mike
On-Page Optimization | | henandstag0 -
On page links
Hi I am really intrigued by Bloomberg strategy. if you look at their article pages they are full with internal links done with what I assume to be an automated process (too many pages to be done manually). it seems to work for them. I would love to hear your opinions.
On-Page Optimization | | ciznerguy
http://www.bloomberg.com/news/2014-11-26/uber-said-close-to-raising-funding-at-up-to-40b-value.html0 -
301, Canonical, and Page Authority
I have been trying to find an answer to this question for awhile now but I am having trouble. I have a clients site that I need to redirect and Canonical the pages to correct duplicate content issues and title tags however, the issue with this client is that some of the www. pages have a higher PA than non-www and the reverse is true. I am wondering if there is an issue with chasing the PA to get the highest PA per page (even if this means the site is going to be a mix of www. and non-www. pages)? I am extremely new to SEO so I apologize ahead of time if I missed this in the forum.
On-Page Optimization | | Highline_Ideas0 -
Dynamic pages on a static html pages websiite
Good evening everybody. I am new on SeoMoz that I find very helpful in my work. I am not a web developer so please excuse me if my technical language is poor.I have an issue that maybe you can help me to solve. I work for a company who has a website, which is old and very well positioned on google for the most important keywords for the field of the company I work for (dentistry). It is a website made some years ago and it's made of static html pages.I would like to add a section in my website where I can post articles, like a blog (I think of a wordpress-style website) with daily posts (so with a dynamic page). Is there a way to do this without modifying the structure of the website and without losing pages, urls and ranking? We're on the first google page for many keywords of interests in our city and it would be a great damage for us to lose those positions.Thank you very much!
On-Page Optimization | | adec0 -
Correct use of Canonical link vs 301 redirect
Hi All, Seeking yet more advice. SEOMOZ tools have told me I have duplicate content on one of my sites and I am keen to clean this up. I am not to familiar with the following so thought I would ask. The duplicate content is shown on : www.mysite.com www.mysite.com/index.html Obviously I only see index.html when I check the code so what is the best method of resolving the duplicate content, Canonical or 301? Can you give me an example 🙂 Thanks all
On-Page Optimization | | wedmonds0