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. Technical SEO Issues
    4. As a beginner in SEO, how do I do 302 redirects/ rel="canonicals"

    As a beginner in SEO, how do I do 302 redirects/ rel="canonicals"

    Technical SEO Issues
    5 4 71
    • 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.
    • Gain4
      Gain4 last edited by

      One of the things Inseem to leave undone is failure to do 302 redirects or rel="canonicals" on my site www.johannesburg.today. Please help .

      1 Reply Last reply Reply Quote 0
      • Linda-Vassily
        Linda-Vassily last edited by

        Why do you need 302 redirects? That is a temporary redirect--do you have some pages that have been temporarily moved?

        Although many sites do put canonicals on every page (making them canonical to themselves) this is not necessary. You only really need them if you have duplicate content on your site. Do you have that? If not, you don't need canonicals either.

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

          Hello,

          For the Redirects:

          You have asked about 302 redirects - do you intend to make the redirect permanent or are you transitioning sites temporarily?

          If permanent, you probably want to make those 301 redirects instead of 302.

          There are a lot of ways to redirect and most depend on the CMS (content management system) you're using. If you are using WordPress, each page has a redirect option at the bottom using the Yoast Plugin. Simply install it and scroll down the page you wish to redirect. There will be an area where you can fill in your new URL.

          Rel=canonicals are established through Google Search Console. Here's a link that will help you with the process:

          https://support.google.com/webmasters/answer/139066?hl=en

          "To address these issues, we recommend you define a canonical URL for content (or equivalent content) available through multiple URLs. You can do this for Google Search in a number of ways: Set your preferred domain. Indicate the preferred URL with the rel="canonical" link element."

          The Moz Blog also put up a pretty great rel=canonical guide (i.e. when to use them and when not to). That link is here:

          https://moz.com/blog/complete-guide-to-rel-canonical-how-to-and-why-not

          Hope this helps and feel free to ask any follow up questions you have.

          Cheers,

          Rob

          Linda-Vassily 1 Reply Last reply Reply Quote 2
          • Linda-Vassily
            Linda-Vassily @RobCairns last edited by

            Canonicals can be added in Yoast too.

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

              Hope the below helps.

              30x in .HTACCESS #PERMANENT REDIRECT
              redirect 301 /url-linked-to.html /new-page-you-want-to-link-to.html

              #TEMPORARY REDIRECT FOR SHORT TERM CHANGES
              redirect 302 /url-linked-to.html /temporary-page-you-want-to-link-to.html

              Canonical Tag

              Cheers

              Tim

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              • We have 302 redirect links on our forum that point to individual posts. Should we add a rel="nofollow" to these links?
                Nobody1565908128979
                Nobody1565908128979
                1
                2
                160

              • If I want clean up my URLs and take the "www.site.com/page.html" and make it "www.site.com/page" do I need a redirect?
                Booj
                Booj
                0
                4
                113

              • Http:// to https:// 301 or 302 redirect
                Kingof5
                Kingof5
                1
                7
                284

              • SEO question: Need help on rel="alternate" hreflang="x"
                TruvoDirectories
                TruvoDirectories
                0
                3
                183

              • Rel="canonical"
                cufflinksman
                cufflinksman
                0
                4
                117

              • Ideally should a 301 or 302 redirect be used from https://www.site.com to http://www.site.com? Is there a valid reason to use a 302 in this situation or would using a 301 have any negative impact on seo?
                Unity
                Unity
                0
                2
                317

              • Rel=Canonical on a page with 302 redirection existing
                sjcbayona-41218
                sjcbayona-41218
                0
                7
                2.3k

              • A rel="canonical" to www.homepage.com/home.aspx Hurts my Rank?
                EvolveCreative
                EvolveCreative
                0
                4
                719

              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