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. What is the best way to change tons of 302 for 301...

    What is the best way to change tons of 302 for 301...

    Technical SEO Issues
    7 2 155
    • 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.
    • Felip3
      Felip3 last edited by

      I'm doing an audit for a new client and their website has tons of 302... (more than 1000)... What is the best/fast way to change all the 302 for 301...?

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

        That depends on how the current 302's are set up.

        Via PHP header? htaccess? IIS? Some plugin/script? Can you share more info?

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

          Looks like their shopping cart (OS commerce) is doing all the 302. ..

          OlegKorneitchouk 1 Reply Last reply Reply Quote 0
          • OlegKorneitchouk
            OlegKorneitchouk @Felip3 last edited by

            Okay.. what kinds of links are throwing up the 302s? Old product pages? www/non-www?

            I often see people leaving off the trailing slash in links which 302s to the URL with the trailing slash.

            Felip3 1 Reply Last reply Reply Quote 0
            • Felip3
              Felip3 @OlegKorneitchouk last edited by

              Here is a example:

              This URL:

              http://www.toolsandmachinery.com/jet-parts-5883/jet-dust-collection-8097/jet-jc-3-parts-8110/jet-foot-jc3-141-289123.html?buy=now

              302 for: http://www.toolsandmachinery.com/jet-parts-5883/jet-dust-collection-8097/jet-jc-3-parts-8110/

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

                what's happening is that there is a 302 redirect to : http://www.toolsandmachinery.com/index.php?cPath=5883_8097_8110&osCsid=8a13a53a966400e3bef97cef001aa4e5

                Then it's 301 redirected to: http://www.toolsandmachinery.com/jet-parts-5883/jet-dust-collection-8097/jet-jc-3-parts-8110/?osCsid=8a13a53a966400e3bef97cef001aa4e5

                I'm thinking this is due to some plugin but i'm not too familiar with osCommerce so can't be positive. I would try to install a SEO plugin and see if that helps.

                Felip3 1 Reply Last reply Reply Quote 1
                • Felip3
                  Felip3 @OlegKorneitchouk last edited by

                  Thanks, I'll try do that the messy is worse than I thought...

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  • First post
                    Last post
                  • To 301 or not to 301?
                    iHasco
                    iHasco
                    1
                    4
                    70

                  • What is the best way to change the URL along with the brand name change & having a minimal affect on the traffic
                    sharp_instincts
                    sharp_instincts
                    1
                    3
                    50

                  • To 301 or not to 301?
                    seorocket
                    seorocket
                    0
                    3
                    91

                  • Should you change Temporary redirects 302's to a 301 even if page is not important/intended for ranking ?
                    Dan-Lawrence
                    Dan-Lawrence
                    1
                    6
                    1.0k

                  • 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

                  • What is the best way to deal with pages whose content changes?
                    ChatterBlock
                    ChatterBlock
                    0
                    5
                    374

                  • Best Way to change domain name
                    blackballonline
                    blackballonline
                    0
                    3
                    748

                  • Switching ecommerce CMS's - Best Way to write URL 301's and sub pages?
                    tylerfraser
                    tylerfraser
                    0
                    7
                    1.2k

                  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