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. 301 Redirect with index.asp

    301 Redirect with index.asp

    Technical SEO Issues
    37 4 1.4k
    • 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.
    • MichaelC-15022
      MichaelC-15022 @TroyW last edited by

      If your default document is index.asp, and you're redirecting index.asp to /, then I would expect you'd get an infinite redirection loop.

      TroyW 1 Reply Last reply Reply Quote 0
      • TroyW
        TroyW @MichaelC-15022 last edited by

        Hmm well no all seems to be working well here, although the code in the web.config doesn't seem to be working for redirects, i.e. I can put in lucid8.com and it does not change to www.lucid8.com so maybe its not picking up the changes in web.config?

        MichaelC-15022 1 Reply Last reply Reply Quote 0
        • MichaelC-15022
          MichaelC-15022 @TroyW last edited by

          Yes, that looks to me like 2 clues that both say that the web.config isn't being read for some reason.

          TroyW 1 Reply Last reply Reply Quote 0
          • TroyW
            TroyW @MichaelC-15022 last edited by

            Yup something very strange.   So it appears that

            1. the redirect code in the web.config does not work

            2. I may have something else going on because whenever I enter lucid8.com it redirects to https://www.lucid8.com so wondering if you have any ideas as to how I might track down WHAT exactly is making the page change to from Lucid8.com to https://www.lucid8.com???

            MichaelC-15022 1 Reply Last reply Reply Quote 0
            • MichaelC-15022
              MichaelC-15022 @TroyW last edited by

              Sounds like something in a web.config file.  Is there possibly a web.config file in a higher-level folder?

              Or, perhaps there's an IIS plugin that you're using that is doing this?

              TroyW 1 Reply Last reply Reply Quote 0
              • TroyW
                TroyW @MichaelC-15022 last edited by

                ok so I figured out a workaround since it appears that because I am on IIS6 the web.config is a but finicky aka may or may not work for redirection.  Anyway I used the information in this link http://johnnycode.com/2012/01/04/in-iis6-http-301-redirect-from-non-www-to-www/ to create a now non-www site and point it to the www site and all seems to be working well, expect if a person puts in a HTTPS within the WWW but that should be a really rare event so I am not going to hassle with it.    I also got rid of the relative URLS on the website and made them all explicit.

                Fingers crossed that next run will show this issue is cleaned up....

                Thanks for all your help and patience

                MichaelC-15022 1 Reply Last reply Reply Quote 0
                • MichaelC-15022
                  MichaelC-15022 @TroyW last edited by

                  Good, I'm glad you got this all working.  MC

                  TroyW 1 Reply Last reply Reply Quote 0
                  • TroyW
                    TroyW @MichaelC-15022 last edited by

                    Hey thought that I would also mention that the issue where it was referring from Lucid8.com to Https://Lucid8.com was actually a bug in firefox.  Apparently FF has a bug where IF you ever went to say Https://Lucid8.com in the past, even though you enter lucid8.com it will autocorrect upon submission and send you to Https://Lucid8.com

                    They say that removing the HTTPS items from history will fix it, but in my case it did not and instead I had to export all my bookmarks, kill off the profile and then import the bookmarks again and now all is well.

                    MichaelC-15022 1 Reply Last reply Reply Quote 0
                    • MichaelC-15022
                      MichaelC-15022 @TroyW last edited by

                      That's brutal!  I've seen something like that happen watching the HTTP responses via httpfox sometimes, where I've made a change on the server to a redirection and not seeing it in the browser.

                      TroyW 1 Reply Last reply Reply Quote 0
                      • TroyW
                        TroyW @MichaelC-15022 last edited by

                        Yeah a major pain and went round and round since it was happening on all machines.  Once I got a machine that didn't do it it got me thinking..

                        Anyway hope it helps others in the future

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 2 / 2
                        • First post
                          Last post
                        • Alternatives 301? Issues redirection of index.html page with Adobe Business Catalyst
                          LoganRay
                          LoganRay
                          0
                          2
                          106

                        • To 301 redirect or not to 301 redirect? duplicate content problem www.domain.com and www.domain.com/en/
                          Chris-CA
                          Chris-CA
                          0
                          5
                          456

                        • 301 Redirect with ASP (not .NET)
                          Hughescov
                          Hughescov
                          0
                          2
                          550

                        • Index.php and 301 redirect with Joomla
                          SanketPatel
                          SanketPatel
                          0
                          2
                          2.1k

                        • Does it really matter to maintain 301 redirect after de-indexing of old URLs?
                          EGOL
                          EGOL
                          0
                          9
                          1.7k

                        • 301 redirect from root to /index.aspx
                          Dr-Pete
                          Dr-Pete
                          0
                          11
                          1.7k

                        • 301 Redirect Domain or 301 Redirect Domain + Interior Pages
                          Room214
                          Room214
                          0
                          7
                          1.1k

                        • Will Google index a 301 redirect for a new site?
                          StephanM
                          StephanM
                          0
                          2
                          666

                        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