Skip to content
    Moz logo Menu open Menu close
    • Products
      • Moz Pro
      • Moz Pro Home
      • Moz Local
      • Moz Local Home
      • STAT
      • Moz API
      • Moz API Home
      • Compare SEO Products
      • Moz Data
    • Free SEO Tools
      • Domain Analysis
      • Keyword Explorer
      • Link Explorer
      • Competitive Research
      • MozBar
      • More Free SEO Tools
    • Learn SEO
      • Beginner's Guide to SEO
      • SEO Learning Center
      • Moz Academy
      • SEO Q&A
      • Webinars, Whitepapers, & Guides
    • Blog
    • Why Moz
      • Agency Solutions
      • Enterprise Solutions
      • Small Business Solutions
      • Case Studies
      • The Moz Story
      • New Releases
    • Log in
    • Log out
    • Products
      • Moz Pro

        Your all-in-one suite of SEO essentials.

      • Moz Local

        Raise your local SEO visibility with complete local SEO management.

      • STAT

        SERP tracking and analytics for enterprise SEO experts.

      • Moz API

        Power your SEO with our index of over 44 trillion links.

      • Compare SEO Products

        See which Moz SEO solution best meets your business needs.

      • Moz Data

        Power your SEO strategy & AI models with custom data solutions.

      NEW Keyword Suggestions by Topic
      Moz Pro

      NEW Keyword Suggestions by Topic

      Learn more
    • Free SEO Tools
      • Domain Analysis

        Get top competitive SEO metrics like DA, top pages and more.

      • Keyword Explorer

        Find traffic-driving keywords with our 1.25 billion+ keyword index.

      • Link Explorer

        Explore over 40 trillion links for powerful backlink data.

      • Competitive Research

        Uncover valuable insights on your organic search competitors.

      • MozBar

        See top SEO metrics for free as you browse the web.

      • More Free SEO Tools

        Explore all the free SEO tools Moz has to offer.

      What is your Brand Authority?
      Moz

      What is your Brand Authority?

      Check yours now
    • Learn SEO
      • Beginner's Guide to SEO

        The #1 most popular introduction to SEO, trusted by millions.

      • SEO Learning Center

        Broaden your knowledge with SEO resources for all skill levels.

      • On-Demand Webinars

        Learn modern SEO best practices from industry experts.

      • How-To Guides

        Step-by-step guides to search success from the authority on SEO.

      • Moz Academy

        Upskill and get certified with on-demand courses & certifications.

      • SEO Q&A

        Insights & discussions from an SEO community of 500,000+.

      Unlock flexible pricing & new endpoints
      Moz API

      Unlock flexible pricing & new endpoints

      Find your plan
    • Blog
    • Why Moz
      • Small Business Solutions

        Uncover insights to make smarter marketing decisions in less time.

      • Agency Solutions

        Earn & keep valuable clients with unparalleled data & insights.

      • Enterprise Solutions

        Gain a competitive edge in the ever-changing world of search.

      • The Moz Story

        Moz was the first & remains the most trusted SEO company.

      • Case Studies

        Explore how Moz drives ROI with a proven track record of success.

      • New Releases

        Get the scoop on the latest and greatest from Moz.

      Surface actionable competitive intel
      New Feature

      Surface actionable competitive intel

      Learn More
    • Log in
      • Moz Pro
      • Moz Local
      • Moz Local Dashboard
      • Moz API
      • Moz API Dashboard
      • Moz Academy
    • Avatar
      • Moz Home
      • Notifications
      • Account & Billing
      • Manage Users
      • Community Profile
      • My Q&A
      • My Videos
      • Log Out

    The Moz Q&A Forum

    • Forum
    • Questions
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. Home
    2. Moz Tools
    3. Moz Pro
    4. Some questions on Canonical tag AND 301 redirect

    Moz Q&A is closed.

    After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.

    Some questions on Canonical tag AND 301 redirect

    Moz Pro
    4
    8
    1808
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with question management privileges can see it.
    • yacpro13
      yacpro13 Subscriber last edited by

      Hi everyone, I'm new here - always loved SEOMoz and glad to be part of the Pro community now.

      I have 2 questions regarding the Canonical URL tag.

      Some background info:

      We used to run an OsCommerce store, and recently migrated to Magento. In doing so, we right away created 301 redirects of the old category pages (OsCommerce) to the new category pages (Magento) via the Magento admin. Example:

      www.example.com/old-widget-category.html
      301 redicrected to
      www.example.com/new-widget-category.html

      In Magento admin, we have enabled the Canonical tag for all product and category pages. Here's how Magento sets up the Canonical tag:

      The URL of interest which we want to rank is:
      www.example.com/new-widget-category.html

      However Magento sets up the canonical tag on this page to point to:
      www.example.com/old-widget-category.html

      When using the SEOMoz On Page Report Card, it pick this up as an error because the Canonical tag is pointing to a different URL.

      However, if we dig a little deeper, we see that the URL being pointed to
      www.example.com/old-widget-category.html
      has a 301 redirect to
      www.example.com/new-widget-category.html
      which is the URL we wan to rank.

      So because we set up a 301 redirect of the old-page to the new-page, on the new-page the canonical tag points to the old-page.

      Question 1)
      What are you opinions on this? Do you think this method of setting up the Canonical tag is acceptable?

      Second question...

      We use pagination for category pages, so if we have 50 products in one category, we would have 5 pages of 10 products. The URL's would be:

      www.example.com/new-widget-category.html (which is the SAME as ?p=1)
      www.example.com/new-widget-category.html?p=1
      www.example.com/new-widget-category.html?p=2
      www.example.com/new-widget-category.html?p=3
      www.example.com/new-widget-category.html?p=4
      www.example.com/new-widget-category.html?p=5

      Now ALL the URLs above have the canonical tag set as:
      <link rel="canonical" href="http://www.example.com/new-widget-category" />

      However, the content of each page (page 1, 2, 3, 4, 5) is different because different products are displayed. So far most what I read regarding the Canonical tag is that it is used for pages that have the same content but different URLs.

      I would hope that Google would combine the content of all 5 pages and view the result as a single URL www.example.com/new-widget-category

      Question 2) Is using the canonical tag appropriate in the case described above?

      Thanks !

      1 Reply Last reply Reply Quote 0
      • HiveDigitalInc
        HiveDigitalInc @yacpro13 last edited by

        Most likely. Unless the parameters are greatly changing the content on the page, rather than simply sorting, you will want to block them or just use a canonical tag.

        1 Reply Last reply Reply Quote 0
        • yacpro13
          yacpro13 Subscriber @HiveDigitalInc last edited by

          Will do.

          the 301s will stay because they redirect the old (indexed and ranking) URL's to the new ones.

          The Canonical Tags will all be removed.

          Then 1 more question:
          How do you suggest I deal with URL parameters that cause duplicate content. Some examples:

          ?color=
          ?manufacturer=
          ?width=

          etc. We have hundreds of these - they are used to allow customers to filter or sort the product listings.

          Should we set them to be ignored via Webmaster tools?

          HiveDigitalInc 1 Reply Last reply Reply Quote 0
          • HiveDigitalInc
            HiveDigitalInc last edited by

            Drop the canonical, leave the 301.

            Use rel=next and rel=prev for pagination: http://googlewebmastercentral.blogspot.com/2011/09/pagination-with-relnext-and-relprev.html

            yacpro13 1 Reply Last reply Reply Quote 0
            • Jinx14678
              Jinx14678 @yacpro13 last edited by

              Yeah the 301 looks like it is correctly used, but I personally would not use canonical as well, in respect only to the redirect of "old pages" to "new pages"

              In the instance of the products it does appear this is a good example of canonical needed.

              All "staplers" pagination would canonical to the "Main" stapler page and so on and so forth.

              This gets your users to the page to see the same product in a different color, but tells search engines that this is all the same "product". So for this "product" only the main page will result in search (page in which the canonicals for given product points to)

              Hope this helps

              once again #STOPSOPA  😉

              1 Reply Last reply Reply Quote 0
              • AlanMosley
                AlanMosley last edited by

                Shane is correct in his advice,

                Q1

                you dont need the canonical, if you did not have a 301 redirect, then the canonical should be on the old page pointing to the new. but as Shane said you dont need it when you have a 301 in place.

                Q2

                I would canonical to http://www.example.com/new-widget-category for all p1 to p5

                As i wonder if the change of the products in the grid is enouth to make the pages unique. If you have sorting it just gets more messy

                Your product pages will have this info for each product anyhow.

                i would try to make the category page relevant for the catgory.

                Rather then use rel=canonical I would use rel=next and rel=previous

                http://support.google.com/webmasters/bin/answer.py?hl=en&answer=1663744

                1 Reply Last reply Reply Quote 1
                • yacpro13
                  yacpro13 Subscriber @Jinx14678 last edited by

                  Thanks for the info Shane.

                  Regarding pagination:
                  let's say we sell staplers.

                  ?p=1 will be the first 10 stapler models
                  ?p=2 will be stapler models 11-20
                  ?p=3 will be stapler models 21-30
                  ...and so on. Each page presents a different set of stapler models.
                  Keep in mind that each URL has the same Title and Meta Info.

                  We could choose to show all staplers on a single page and eliminate pagination, but this would affect loading time.

                  Yes we incidentally use Canonical tags and 301 redirects, which were implemented for different reasons.

                  The 301 redirect was implemented to redirect from old category URLs on old website (no longer live) which were indexed and had good ranking to the new category URLs on the new website.

                  The canonical URL on the other hand was implemented in hope of avoiding duplicate content of the new URLs.
                  For example if you were to navigate to the URL

                  www.example.com/new-widget-category.html?p=1

                  You would see the stapler models 1 to 10 of 50 (so 5 pages).
                  Now you can either go to the next pages, or you can 'filter'.

                  Let's say you choose to filter by color, because you really want a red stapler, the resulting URL would be

                  www.example.com/new-widget-category.html?color=red

                  You could now choose to filter by other characteristics or go to the next page (still with red filter on), so the URL would be

                  www.example.com/new-widget-category.html?color=red?p=2

                  Again, since all that's happening here is either changing page or filtering the products, the Title and Meta Info is the same, but the URLs are different, and the selection of products being presented is also different.

                  Jinx14678 1 Reply Last reply Reply Quote 0
                  • Jinx14678
                    Jinx14678 last edited by

                    Question 1

                    If i read it right it appears you are using 301 redirect and Canonical, Correct? If this is so,  the use of Canonical is redundant (possibly ignored by Gbot) but could cause issues.

                    Question 2

                    From the way it is described.. It would appear the only true canonical is www.example.com/new-widget-category.html?p=1 and should have <link rel="canonical" href="http://www.example.com/new-widget-category" />

                    The others depending on differences should not UNLESS

                    It is the same product, just different colors or something that does not change the product and what it does. But only changes the physical appearance. This would be an "acceptable" difference and "OK" to use canonical

                    EXAMPLE;

                    If...
                    www.example.com/new-widget-category.html?p=1  (Product in blue)
                    www.example.com/new-widget-category.html?p=2   (Product in Red)
                    www.example.com/new-widget-category.html?p=3 (ect...)
                    www.example.com/new-widget-category.html?p=4 (ect...)
                    www.example.com/new-widget-category.html?p=5 (Ect...)

                    Then canonical is probably a good fit,

                    but if....

                    www.example.com/new-widget-category.html?p=1   (Widget to tell time)
                    www.example.com/new-widget-category.html?p=2   (Widget that cooks you breakfast)
                    www.example.com/new-widget-category.html?p=3   So on and so forth..
                    www.example.com/new-widget-category.html?p=4
                    www.example.com/new-widget-category.html?p=5

                    Then I would suggest not using the canonical and make the content on each page different

                    Hopefully i read your questions right and this helps

                    w00t!

                    #STOPSOPA    please 😉

                    yacpro13 1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    • First post
                      Last post

                    Got a burning SEO question?

                    Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


                    Start my free trial


                    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.

                    • See all categories

                    Related Questions

                    • Coot

                      Source page showsI have 2 h1 tags on my page. I can only find one.

                      When I grade my page it says I have more than one h1 tag. I view the source page and it shows there are two h1 headings with the same wording. If I delete the one h1 heading I can find, the page source shows I have deleted both of them. I don't know how to get to the other heading to delete it. And I'm off page one of google! Can anybody help? Clay Stephens

                      Moz Pro | | Coot
                      0
                    • trumpfinc

                      A question on keywords that rank 51+

                      Good afternoon everyone. I wanted to pose a question to the group about keywords and the "on-page optimization -  grade a page tool." I have a list of keywords that I am trying to rank for. Some of them are not ranked in the top 50, so on the keyword ranking tool it gives you the 51+ message in the rank column. For the items that are ranked I can try to improve them by looking at grade a page and typing in the URL and keyword. It will then give me a score and suggestions on how to improve it. With that being said, is there an easy way to find out which pages I should be optimizing those keywords which rank at 51+ for,  besides typing the keywords in Google and seeing what URL it associates with the specific keyword? I hope the question above is clear.

                      Moz Pro | | trumpfinc
                      0
                    • Adam_RushHour_Marketing

                      Canonical URLs all show trailing slash on main site pages - using Yoast SEO for Wordpress - how to correct

                      We are using Yoast for a number of our sites.  We use naked domain as the canonical. I have noticed in the header tags that all our sites show the canonical URLs as having a trailing slash: Example:   http;//foxspizzajc.com, when I look at the source code, it shows the canonical as http;//foxspizzajc.com/ Of course, it is much more likely that all sites that link to us will not use the trailing slash - so preferably we do not want that to be the canonical - among other reasons. Does this need to be fixed so the trailing slash is removed? I cannot see how to do this in Yoast SEO or in Permalinks structure for Wordpress. Sorry for my ignorance. Thanks for any help.

                      Moz Pro | | Adam_RushHour_Marketing
                      1
                    • copyfaxes1

                      Add to cart redirect using 302

                      I am getting a list of crawl errors in Moz because I am using a 302 redirect when people click on an item using the quickview add to cart eg:http://copyfaxes.com/cart/quickadd?partno=4061 will redirect them to the viewshoppingcart page. Is this wrong should this be a 301 redirect? There is no link juice to pass. Thanks

                      Moz Pro | | copyfaxes1
                      0
                    • Highline_Ideas

                      Need help understanding search filter URL's and meta tags

                      Good afternoon Mozzers, One of our clients is a real estate agent and on that site there is a search field that will allow a person to search by filtered categories. Currently, the URL structure makes a new URL for each filter option and in my Moz reports I get the report that there is missing meta data. However, the page is the same the filter options are different so I am at a loss as to how to proper tag our site to optimize those URL's. Can I rel canonical the URL's or alt rel them? I have been looking for a solution for a few days now and like I said I am at a loss of how to properly resolve these warning messages, or if I should even be concerned with the warning messages from Moz (obviously I should be concerned, they are warning messages for a reason). Thank you for your assistance in advance!

                      Moz Pro | | Highline_Ideas
                      0
                    • notgwenevere

                      HTC access 301 redirect rules regarding pagination and striped category base (wp)

                      I am an admin of a wordpress.org blog and I used to use "Yoast All in one SEO" plugin. While I was using this plugin it stripped the category base from my blog post URL's. With yoast all in one seo: Site.com/topic/subtpoic/page/#
                      Without yoast all in one seo: Site.com/category/topic/subtopic/page/# Now, that I have switched to another plugin, I am trying to manage the page crawl errors which are tremendous somewhere around 1800, mostly due to pagination. Rather than redirecting each URL individually I would like to develop HTC access 301 redirects rules. However all instructions on how to create these HTC access 301 redirect rules are regarding the suffix rather than the category base. So my question is, can HTC access 301 redirects rules work to fix this problem? Including pagination?  And if so, what would this particular HTC access 301 redirect look like? Especially regarding pagination? And do I really have to write a 301 redirect for each pagination page?

                      Moz Pro | | notgwenevere
                      0
                    • vanessacolina

                      My page has a 302 redirect and I don't know how to get rid of it!

                      I use Internet Officer tool to see the 302 redirect but I check the redirects in the CPanel and there are none. In the .htaccess there are none either. I don't know where else to look 😞 The url is http://servicioshosting.com Can you guys help me? I can't set up a campaign because Google can't crawl the website. I can't setup the Facebook OpenGraph because of the redirect. error.jpg

                      Moz Pro | | vanessacolina
                      0
                    • glass01

                      Redirect analysis tool

                      I'm looking for a tool like this: http://www.internetofficer.com/seo-tool/redirect-check/ that can check hundreds/thousands of URLs and give me a report as to which ones have been redirected. Does anyone know of something that can do this?

                      Moz Pro | | glass01
                      0

                    Get started with Moz Pro!

                    Unlock the power of advanced SEO tools and data-driven insights.

                    Start my free trial
                    Products
                    • Moz Pro
                    • Moz Local
                    • Moz API
                    • Moz Data
                    • STAT
                    • Product Updates
                    Moz Solutions
                    • SMB Solutions
                    • Agency Solutions
                    • Enterprise Solutions
                    Free SEO Tools
                    • Domain Authority Checker
                    • Link Explorer
                    • Keyword Explorer
                    • Competitive Research
                    • Brand Authority Checker
                    • MozBar Extension
                    • MozCast
                    Resources
                    • Blog
                    • SEO Learning Center
                    • Help Hub
                    • Beginner's Guide to SEO
                    • How-to Guides
                    • Moz Academy
                    • API Docs
                    About Moz
                    • About
                    • Team
                    • Careers
                    • Contact
                    Why Moz
                    • Case Studies
                    • Testimonials
                    Get Involved
                    • Become an Affiliate
                    • MozCon
                    • Webinars
                    • Practical Marketer Series
                    • MozPod
                    Connect with us

                    Contact the Help team

                    Join our newsletter
                    Moz logo
                    © 2021 - 2025 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                    • Accessibility
                    • Terms of Use
                    • Privacy

                    Looks like your connection to Moz was lost, please wait while we try to reconnect.