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.
    • TroyW
      TroyW @MichaelC-15022 last edited by

      Sorry for the delayed response, been buried putting out other fires.  That said

      1. The web.config  has the following in place so it refers to /

      <rewritemaps><rewritemap name="Redirect"><add key="/index.asp" value="/"></add></rewritemap></rewritemaps>

      2. All of my menu systems and links now reference the home page as www.lucid8.com or as / which I assume should not be an issue?

      3. The only issue outstanding is your recommendation to

      A: copy index.asp to home.asp

      B: then would I strip the entire contents from index.asp and put some type of code within to tell it to look at home.asp?  if so any help you have here would be appreciated.

      NOTE:  I am still a bit lost as to why I would have to do 3.a & b since steps 1 & 2 would seem to resolve the issue, but perhaps I am missing a critical point?

      MichaelC-15022 1 Reply Last reply Reply Quote 0
      • 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
                          • 301 Redirects Showing As 307 Redirects
                            0
                            1
                            64

                          • Alternatives 301? Issues redirection of index.html page with Adobe Business Catalyst
                            LoganRay
                            LoganRay
                            0
                            2
                            106

                          • 301 Redirects, Sitemaps and Indexing - How to hide redirected urls from search engines?
                            LoganRay
                            LoganRay
                            0
                            4
                            3.0k

                          • 404 Errors for Form Generated Pages - No index, no follow or 301 redirect
                            Ric_McHale
                            Ric_McHale
                            0
                            5
                            549

                          • 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 Domain or 301 Redirect Domain + Interior Pages
                            Room214
                            Room214
                            0
                            7
                            1.1k

                          • Why is a 301 redirected url still getting indexed?
                            dim_d
                            dim_d
                            0
                            6
                            1.1k

                          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