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. Help with setting up 301 redirects from /default.aspx to the "/" in ASP.NET using MasterPages?

    Help with setting up 301 redirects from /default.aspx to the "/" in ASP.NET using MasterPages?

    Intermediate & Advanced SEO
    2 2 595
    • 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.
    • TisBest
      TisBest last edited by

      Hi SEOMoz Moderators and Staff,

      My web developer and I are having a world of trouble setting up the best way to 301 redirect from www.tisbest.org/default.aspx to the www.tisbest.org since we're using session very heavily for our ASP.NET using MasterPages.  We're hoping for some help since our homepage has dropped 50+ positions for all of our search terms since our first attempt at setting this up 10 days ago.  = (  A very bad result.

      We've rolled back the redirects after realizing that our session system was redirecting www.tisbest.org back to www.tisbest.org/default.aspx?AutoDetectCookieSupport=1 which would redirect to a URL with the session ID like this one: http://www.tisbest.org/(S(whukyd45tf5atk55dmcqae45))/Default.aspx which would then redirect again and throw the spider into an unending redirect loop.  The Google gods got angry, stopped indexing the page, and we are now missing from our previous rankings though, thankfully, several of our other pages do still exist on Google.

      So, has anyone dealt with this issue?  Could this be solved by simply resetting up the 301 redirects and also configuring ASP.NET to recognize Google's spider as supporting cookies and thus not serving it the Session ID that has caused issue for us in the past?

      Any help (even just commiserating!) would be great.  Thanks!  Chad

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

        What was causing the session ID to form a URL (page) structure like that? It should append to the page URL  dynamically "?=(S(whukyd45tf5atk55dmcqae45)" Has that been fixed?

        Here's something that may help:

        • Wherever possible, avoid the use of session IDs in URLs. Consider using cookies instead.

        • Whenever possible, shorten URLs by trimming unnecessary parameters.

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

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        • How to 301 Redirect /page.php to /page, after a RewriteRule has already made /page.php accessible by /page (Getting errors)
          DirkC
          DirkC
          0
          2
          435

        • Help with https// redirects
          ForForce
          ForForce
          0
          5
          317

        • 301 Redirect from ASP.NET to PHP...Is it possible?
          AlanMosley
          AlanMosley
          0
          8
          1.6k

        • URL Redirect: http://www.example.net/ vs. http://www.example.net
          dotfly
          dotfly
          0
          2
          705

        • 301 Redirect To Another 301 Redirect
          cbielich
          cbielich
          0
          5
          247

        • 301 redirect a old site that has been "dead" for a while?
          mememax
          mememax
          0
          4
          323

        • Is it ok to use both 301 redirect and rel="canonical' at the same time?
          Dr-Pete
          Dr-Pete
          0
          4
          1.7k

        • How to 301 redirect ASP.net URLS
          KJ-Rodgers
          KJ-Rodgers
          0
          2
          824

        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