The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

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

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Alternative Search Sources
    4. How do I "301 or Rel Canonical" a link.

    How do I "301 or Rel Canonical" a link.

    Alternative Search Sources
    4 3 1.2k
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • AhmadS
      AhmadS last edited by

      I'm watching the webinar, Link Building w/ Open Site Explorer. One of the slide pages is 301/Rel Canonicaling Overlapping Content.  Can you explain how this is done?

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

        There are a few ways of doing this and it depends on how your website is set up, for example, you could do a 301 redirect in your htaccess file something like:

        Standard 301 Redirect for Permanent Changes

        redirect 301 /old-page.html http://www.example.com/newpage.html

        You can add a canonical link in your head like:

        If you're using wordpress it makes doing this a lot easier.

        1 Reply Last reply Reply Quote 1
        • cprasad
          cprasad last edited by

          Hi,

          301 Redirection and Canonicaling are 2 different methods. But both can help you to avoid duplicating contents.

          Hope you need to know how to do those, right?

          301 redirection is using to direct one url to another url permanently. That means if you will redirect http;//www.yourdomain.com/images.php to http://www.yourdomain.com/images/ using 301 redirection, all the search engines will understand your page have permanently moved to a new location. So search engines will index your new page instead of the old page. And about 95% of link juice on old url will be redirected to new page.

          301 redirection can be initiated by using .htaccess in linux servers and also in server side script in your page. If you have a plan to redirect using .htaccess file maybe this guide will help you.

          If you are planing to redirect using the server side scripting this guide will help you.

          Rel Canonical is a different way than redirection. It will not direct you to another location. As an example just imagine you have two pages with two different urls, first is http://www.yourdomain.com/page1.php and second page is http://www.yourdomain.com/page2.php but you have used same contents on both pages. So in this point you have a duplicate content issue. Now you have to select which page you need to be indexed by search engines. So, if you need to index the first page you the following Rel Canonical link between tags.

          When using this canonical link users can visit both pages. It will not redirect. But search engines will understand the second page is just a duplicate page of first page.

          Mostly this Rel Canonical link is so helpful to ignore the unwanted suffixes from url. Here is an example about that.

          http://www.yourdomain.com/index.php

          http://www.yourdomain.com/?refferer=some_refferer

          http://www.yourdomain.com/index.php?sessid=a6yda7dafdd

          Above url types (also more) can be indexed in search engines because of many reasons. But really those 3 urls will show you the contents of http://www.yourdomain.com/ So in this case there are 3 duplicate pages of http://www.yourdomain.com/ and search engines will also index those 3 duplicate pages and you will get duplicate content issue.

          So, if you have used Rel Canonical tag to your home page as

          then no problem there will generate how many kind of duplicates made of your home page. Search engines will ignore those and will not indexed and will not have any duplicate content issues.

          Hope this will help you and ask for more help if there anything else you confusing.

          Regards

          Prasad

          AhmadS 1 Reply Last reply Reply Quote 0
          • AhmadS
            AhmadS @cprasad last edited by

            Thanks for the help.  I'll take a look at my site config and make sure everything is as it should be.

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            • Google showing different links in SRRPs
              TOFHA054515
              TOFHA054515
              0
              2
              33

            • Any tool to check complete internal linking structure? Especially number of internal links pointing to pages
              RobertvanHeerde
              RobertvanHeerde
              0
              3
              382

            • How to find outbound links
              DirkC
              DirkC
              0
              4
              2.2k

            • Site "Internal" Search Full-Text Indexing vs. Manual Tagging
              Stramark
              Stramark
              0
              2
              129

            • How would you promote a "Literary Contest"?
              YESdesign
              YESdesign
              0
              3
              175

            • What is everyones opinion on links form site like Updowner
              KeriMorgret
              KeriMorgret
              0
              4
              634

            • Is there a tool to search for multiple allintitle:"keyword phrase"
              SaeedKhosravi
              SaeedKhosravi
              0
              6
              7.3k

            • Using foreign companies for link building
              francesco27
              francesco27
              0
              8
              1.5k

            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
            • Digital Marketers
            Free SEO Tools
            • Domain Authority Checker
            • Link Explorer
            • Keyword Explorer
            • Competitive Research
            • Brand Authority Checker
            • Local Citation 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 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
            • Accessibility
            • Terms of Use
            • Privacy