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. Intermediate & Advanced SEO
    4. Interesting 302 redirect situation - could they be a good idea??

    Interesting 302 redirect situation - could they be a good idea??

    Intermediate & Advanced SEO
    7 3 810
    • 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.
    • OddDog
      OddDog last edited by

      Just started with a new SEO client. The site is built on Sharepoint Server 2007 running Windows Server 2003 R2 on IIS 6.5 (I know, fun times for me).

      Being a standard crappy Windows setup, URLs and canonicalization is a huge issue: first and foremost, we get a 302 redirect from the root www.example.com to www.example.com/Pages/default.aspx

      Now standard SEO best practices dictate that we rewrite and redirect these pages so they're clean URLs. However that may or may not be possible in the current environment - so is the next best thing to change those to 301s so at least link authority is passed better between pages?

      Here's the tricky thing - the 302s seem to be preventing Google from indexing the /Pages/default.aspx part of the URL, but the primary URL is being indexed, with the page content accurately cached, etc.

      So,

      www.example.com 302 redirects to www.example.com/Pages/default.aspx but the indexed page in Google is www.example.com

      www.example.com/sample-page/ 302 redirects www.example.com/sample-page/Pages/default.aspx but the indexed page in Google is www.example.com/sample-page/

      I know Matt Cutts has said that in this case Google will most likely index the shorter version of the URL, so I could leave it, but I just want to make sure that link authority is being appropriately consolidated.

      Perhaps a rel=canonical on each page of the source URL? i.e. the www.example.com/sample-page/ - however is rel=canonical to a 302 really acceptable?

      Same goes for sitemaps? I know they always say end-state URLs only, but as the source URLs are being indexed, I don't really want Google getting all the /Pages/default.aspx crap.

      Looking for thoughts/ideas/experiences in similar situations?

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

        i dont think the 302 to /pages/default.aspx has anything to do with windows or asp.net, why not just just remove the 302?

        What does "/" and pages/default.aspx render? the same page? then yes use a canonical, but one has to ask why have the 302 at all?

        OddDog 1 Reply Last reply Reply Quote -1
        • OddDog
          OddDog @AlanMosley last edited by

          Obviously the 302 is not a preference - it's the way the system has been set up by IT staff who don't know any better. Removing it might not be as simple as flicking a switch as it is how Sharepoint displays content by default.

          "/" doesn't render - it 302 redirects to /Pages/default.aspx - sorry I don't quite get what you're asking here?

          As the website was built on Sharepoint and hacked to pieces with custom code, we're still trying to figure out what's actually possible from a URL rewrite perspective. Sharepoint is not a natively SEO-friendly system. Rewrites are possible in IIS7, but more difficult in IIS6

          AlanMosley OddDog 2 Replies Last reply Reply Quote 0
          • AlanMosley
            AlanMosley @OddDog last edited by

            Well share point is really for intranets not a internet website, if it is on iis6 then i was proaoably setup before much was known about SEO.

            You can do the rewrites in iis6 uising a httpmoedel, i have an a example in both c# and VB on my website

            http://thatsit.com.au/seo/tutorials/using-ihttpmodule-visual-basic

            1 Reply Last reply Reply Quote -1
            • OddDog
              OddDog @OddDog last edited by

              Thanks! Yeah site was set up not that long ago, but is a great example of why IT Departments should never be trusted to build websites.

              I'm just trying to figure out what's even possible on the current platform.

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

                I'm super super late on this, but, did you ever decide on a solution to this issue? Sharepoint 2010 runs into the same problems, and even though it looks to be solved in 2013, the install base of 2010 is still pretty large.

                OddDog 1 Reply Last reply Reply Quote 0
                • OddDog
                  OddDog @BedeFahey last edited by

                  Unfortunately no - client is finally moving to 2013 which is on IIS7 and have proper rewrite facility.

                  There doesn't appear to be any decent way to accomplish it on 2010/IIS6.

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  • First post
                    Last post
                  • Multistore 302 Redirects
                    0
                    1
                    20

                  • 302 > 302 > 301 Redirect Chain Issue & Advice
                    Everett
                    Everett
                    0
                    3
                    583

                  • If you do 302 redirect then change to 301 redirect do you lose all link juice?
                    EricaMcGillivray
                    EricaMcGillivray
                    0
                    3
                    792

                  • SEO before Replatforming - Good Idea?
                    BruceA
                    BruceA
                    0
                    4
                    226

                  • Redirecting a redirect - thoughts?
                    MikeRoberts
                    MikeRoberts
                    0
                    2
                    165

                  • Warning about a 302 redirect
                    ShaMenz
                    ShaMenz
                    0
                    2
                    353

                  • 302 redirect
                    joseph.chambers
                    joseph.chambers
                    0
                    2
                    487

                  • Branching out from .com... good idea?
                    john4math
                    john4math
                    0
                    4
                    707

                  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