• majorAlexa

        See all notifications

        Skip to content
        Moz logo Menu open Menu close
        • Products
          • Moz Pro
          • Moz Pro Home
          • Moz Local
          • Moz Local Home
          • STAT
          • Moz API
          • Moz API Home
          • Compare SEO Products
          • Moz Data
        • Free SEO Tools
          • Domain Analysis
          • Keyword Explorer
          • Link Explorer
          • Competitive Research
          • MozBar
          • More Free SEO Tools
        • Learn SEO
          • Beginner's Guide to SEO
          • SEO Learning Center
          • Moz Academy
          • MozCon
          • Webinars, Whitepapers, & Guides
        • Blog
        • Why Moz
          • Digital Marketers
          • Agency Solutions
          • Enterprise Solutions
          • Small Business Solutions
          • The Moz Story
          • New Releases
        • Log in
        • Log out
        • Products
          • Moz Pro

            Your all-in-one suite of SEO essentials.

          • Moz Local

            Raise your local SEO visibility with complete local SEO management.

          • STAT

            SERP tracking and analytics for enterprise SEO experts.

          • Moz API

            Power your SEO with our index of over 44 trillion links.

          • Compare SEO Products

            See which Moz SEO solution best meets your business needs.

          • Moz Data

            Power your SEO strategy & AI models with custom data solutions.

          Let your business shine with Listings AI
          Moz Local

          Let your business shine with Listings AI

          Learn more
        • Free SEO Tools
          • Domain Analysis

            Get top competitive SEO metrics like DA, top pages and more.

          • Keyword Explorer

            Find traffic-driving keywords with our 1.25 billion+ keyword index.

          • Link Explorer

            Explore over 40 trillion links for powerful backlink data.

          • Competitive Research

            Uncover valuable insights on your organic search competitors.

          • MozBar

            See top SEO metrics for free as you browse the web.

          • More Free SEO Tools

            Explore all the free SEO tools Moz has to offer.

          NEW Keyword Suggestions by Topic
          Moz Pro

          NEW Keyword Suggestions by Topic

          Learn more
        • Learn SEO
          • Beginner's Guide to SEO

            The #1 most popular introduction to SEO, trusted by millions.

          • SEO Learning Center

            Broaden your knowledge with SEO resources for all skill levels.

          • On-Demand Webinars

            Learn modern SEO best practices from industry experts.

          • How-To Guides

            Step-by-step guides to search success from the authority on SEO.

          • Moz Academy

            Upskill and get certified with on-demand courses & certifications.

          • MozCon

            Save on Early Bird tickets and join us in London or New York City

          Unlock flexible pricing & new endpoints
          Moz API

          Unlock flexible pricing & new endpoints

          Find your plan
        • Blog
        • Why Moz
          • Digital Marketers

            Simplify SEO tasks to save time and grow your traffic.

          • Small Business Solutions

            Uncover insights to make smarter marketing decisions in less time.

          • Agency Solutions

            Earn & keep valuable clients with unparalleled data & insights.

          • Enterprise Solutions

            Gain a competitive edge in the ever-changing world of search.

          • The Moz Story

            Moz was the first & remains the most trusted SEO company.

          • New Releases

            Get the scoop on the latest and greatest from Moz.

          Surface actionable competitive intel
          New Feature

          Surface actionable competitive intel

          Learn More
        • Log in
          • Moz Pro
          • Moz Local
          • Moz Local Dashboard
          • Moz API
          • Moz API Dashboard
          • Moz Academy
        • Avatar
          • Moz Home
          • Notifications
          • Account & Billing
          • Manage Users
          • Community Profile
          • My Q&A
          • My Videos
          • Log Out

        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. Home
        2. SEO Tactics
        3. Technical SEO
        4. 301 Redirect with index.asp

        Moz Q&A is closed.

        After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.

        301 Redirect with index.asp

        Technical SEO
        4
        37
        5351
        Loading More Posts
        • Watching

          Notify me of new replies.
          Show question in unread.

        • Not Watching

          Do not notify me of new replies.
          Show question in unread if category is not ignored.

        • Ignoring

          Do not notify me of new replies.
          Do not show question in unread.

        • Oldest to Newest
        • Newest to Oldest
        • Most Votes
        Reply
        • Reply as question
        Locked
        This topic has been deleted. Only users with question management privileges can see it.
        • TroyW
          TroyW last edited by

          I am very new to all of this so forgive the newbie questions I will get better.   Ok so after starting a campaign I see that I have many issues including where some pages are being deemed as duplicate content.

          1. The report says the http://lucid8.com has duplicate content on 2 other pages

          2. When I look at them it shows that http://lucid8.com/index.asp and http://www.lucid8.com are duplicates.

          3. Really these are the exactly the same page because the default page that is opened for www.lucid8.com http://www.lucid8.com etc always opens the index.asp page.

          4. Now I read that I should do permanent redirects and how to do this via IIS and I tried to do a redirect from index.asp to www.lucid8.com but that does not work because www.lucid8.com is pointing to index.asp and so we end up in a circle.

          So the question is how do I get rid of these duplicate page references without causing problems.

          Thanks

          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
            • 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

                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

                  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

                    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

                      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

                        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

                          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

                            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

                              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

                                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
                                • TroyW
                                  TroyW @Mike.Goracke last edited by

                                  Sorry for the delay in response, had another fire to deal with....

                                  Anyway I put this in place and it just doesn't seem to work, i.e.

                                  1. if I put in lucid8.com I would expect it to correct itself to www.lucid8.com or http://www.lucid8.com however instead it just opens the page and keeps lucid8.com in the URL.   Any ideas here?

                                  2. I also notice that from that point on when I click to navigate to another place on the site that the URL stays without the www and I am going to guess that is because some of the pages have ABSOLUTE paths, i.e. www.lucid8.com/purchase/login.asp while others are relative, i.e /purchase/login.asp

                                  So I guess two questions here i.e.

                                  A: any idea how to track down why the redirect in the web.config is not working?

                                  B: if we get # 1 working will it solve the # 2 issue or do we need to change all relative paths to absolute?

                                  thanks

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

                                    Excellent Info

                                    thanks

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

                                      You're pretty much on track with this now.  The key points are:

                                      • nothing outside of your web config file should be aware of what your home page's file name actually is
                                      • Googlebot, your menu, etc. should all see your home page as /
                                      • any existing links to index.asp should be 301 redirected to / to consolidate the link juice

                                      And, the reason you're renaming index.asp to something else is that otherwise you'd have an infinite redirection loop of index.asp -> / -> gets resolved to index.asp -> / -> ....

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

                                        I'll second Mike's comment about using Screaming Frog to test immediately.

                                        The only thing I'll add is that it's worth doing an httpfox test of one example page to make sure you don't have a chain of redirects from your combinations of rules--Screaming Frog will just show you 1 of the response codes per page (it's unclear to me if it's the first or the the last response code).  You'll catch things like one of the redirects in the chain being a 302 not a 301 (for instance, a basic Response.Redirect in the ASP code itself does a 302, not a 301!).

                                        TroyW 1 Reply Last reply Reply Quote 0
                                        • Mike.Goracke
                                          Mike.Goracke @TroyW last edited by

                                          MatchAll means that all of the conditions must be met for the rule to process. It has nothing to do with case sensitivity.

                                          Give this a whirl (I added your example of including a purchase folder in the rule):

                                          <system.webserver><rewrite><rewritemaps><rewritemap name="Redirect"><add key="/index.asp" value="/"></add></rewritemap></rewritemaps>
                                                  <rules><rule name="CanonicalHostNameRule" enabled="true"><match url="(.)"><conditions logicalgrouping="MatchAll" trackallcaptures="false"><add input="{HTTPS}" pattern="^ON$"> 
                                                              <add input="{HTTP_HOST}" pattern="^www.lucid8.com$" negate="true"></add></add></conditions>
                                                          <action type="Redirect" url="<a href=" http:="" www.lucid8.com="" {r:1"="">http://www.lucid8.com/{R:1}" redirectType="Permanent"  />
                                                     </action></match></rule>
                                                      <rule name="AllHTTPexceptSIGNIN" stopprocessing="true"><conditions><add input="{HTTP_HOST}" pattern="<a href=" http:="" (www.)(.
                                          )$"="">http://(www.)(.*)$" negate="true" />
                                                              <add input="{HTTPS}" pattern="on"><add input="{URL}" pattern="download" negate="true"><add input="{URL}" pattern="purchase" negate="true"></add></add></add></add></conditions>
                                                          <action type="Redirect" url="<a href=" http:="" {http_host}="" {r:0"="">http://{HTTP_HOST}/{R:0}" redirectType="Permanent"/>
                                                     </action></rule></rules></rewrite></system.webserver>

                                          TroyW 1 Reply Last reply Reply Quote 0
                                          • TroyW
                                            TroyW @Mike.Goracke last edited by

                                            ok thats  great information since we only have a few sections where HTTPS is enforced and the cleaner I can make things the better.

                                            That said here is what I have now in my web.config file so

                                            1. how would I best integrate what you have above with this?

                                            2. As I add new sections for HTTPS is it a single line for each new pattern, i.e. like "purchase" for example.

                                            3. Am I correct that the "MatchAll" is for non case sensitivity?

                                            <system.webserver><rewrite><rewritemaps><rewritemap name="Redirect"><add key="/index.asp" value="/"></add></rewritemap></rewritemaps>
                                                        <rules><rule name="CanonicalHostNameRule" enabled="true"><match url="(.*)"><conditions logicalgrouping="MatchAll" trackallcaptures="false"><add input="{HTTPS}" pattern="^ON$"><add input="{HTTP_HOST}" pattern="^www.lucid8.com$" negate="true"></add></add></conditions>
                                                                <action type="Redirect" url="http://www.lucid8.com/{R:1}" redirecttype="Permanent"  =""></action></match></rule></rules></rewrite></system.webserver>

                                            Mike.Goracke 1 Reply Last reply Reply Quote 0
                                            • TroyW
                                              TroyW @Mike.Goracke last edited by

                                              Excellent information and it appears that today is my next crawl date.  I will also take a look at screaming frog to see what it is all about.  Thanks much for all your help and insight its invaluable.  I am stuck trying to do this myself because of budgetary reasons and also my past experience with so called SEO experts was not so great...  Lots of posers out there, however tools like this and these message boards make it much better and also easier to find other people to work with in the future.

                                              Thanks again Mike

                                              Troy

                                              1 Reply Last reply Reply Quote 0
                                              • Mike.Goracke
                                                Mike.Goracke @TroyW last edited by

                                                If you go to your campaign overview page, you will see a little box below the mini overviews that will say something like, "Last Crawl Completed: Apr. 3rd, 2013 Next Crawl Starts: Apr. 10th, 2013"

                                                I personally use SEOmoz PRO tools in combination with Screaming Frog. I verify many of the problems using Screaming Frog, then fix them, then rescan (which is instant), then wait for my SEOmoz PRO tools to reflect my changes. SEOmoz does a great job of warning you and keeping you in the know... where Screaming Frog gives you a lot of information, but you really have to know what you are looking for and would have to keep on top of it... SEOmoz is more automated... if that makes sense.

                                                Mike

                                                TroyW MichaelC-15022 2 Replies Last reply Reply Quote 1
                                                • Mike.Goracke
                                                  Mike.Goracke @TroyW last edited by

                                                  The only thing that can happen is if Google indexes an http and https version of the same page. It isn't a HUGE deal... just depends on how obsessed you are about the site structure.

                                                  You could potentially have visitors start linking to the https version vs the http version, in which case that would be a problem.

                                                  Depending on the complexity of your site and code, this rule may be able to help you... where it says, pattern="download" that means that if someone visits the downloads section of your website, it will allow for https.  You can continue to add additional folders by just repeating that code and replacing "download" with whatever the folder names are that you want to allow to use HTTPS. I did a Google search of site:lucid8.com inurl:https and noticed that your download section was indexed as using HTTPS, that is why I used it in this example.

                                                  If you are just using simple folder structures, this rule is not too bad to implement. I previously just implemented it with pattern matching and that was not fun.

                                                  Any way, if it helps great, if not, just try to keep your internal linking as consistent as possible. Sometimes the best way to do this is use absolute paths vs relative.

                                                  Mike

                                                  <rule name="AllHTTPexceptSIGNIN" stopprocessing="true"><conditions><add input="{HTTP_HOST}" pattern="<a href=" http:="" (www.)(.)$"="">http://(www.)(.)$" negate="true" />
                                                                          <add input="{HTTPS}" pattern="on"><add input="{URL}" pattern="download" negate="true"></add></add></add></conditions>
                                                                      <action type="Redirect" url="<a href=" http:="" {http_host}="" {r:0"="">http://{HTTP_HOST}/{R:0}" redirectType="Permanent"/>
                                                                 </action></rule>

                                                  TroyW 1 Reply Last reply Reply Quote 1
                                                  • TroyW
                                                    TroyW @Mike.Goracke last edited by

                                                    So the weekly scan from SEOmoz, will that happen one week from the original scan date or?  And if so will the campaign show when the scan has been updated or will I get a notification that its been updated or??

                                                    Just trying to figure out how to best use the tool and how long to wait for changes to appear in SEOmoz before I can mark an issue internally as being resolved so I can move on to the others

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

                                                      ok so I corrected all the internal references by taking out the explicit use of index.asp so moving forward that would seem to be solved.

                                                      However that said is the premise here that index.asp is already seen as a separate page from www.lucid8.com and therefore  should become the reference page to a copy of itself called home.asp or whatever so that anything out there pointing to index.asp will now get consolidated into the new home.asp file and that when that happens it will resolve any issue with the search engines thinking that www.lucid8.com and www.lucid8.com/index.asp are different?

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

                                                        We do use HTTPS in different sections on the site.  I played with a few things however it appears that unless you get complex there is no easy way to ensure the proper pages go to HTTP or HTTPS so will leave as the default of HTTPS now since it clearly does no harm in opening a non HTTPS page as HTTPS unless there is something I am missing??

                                                        Mike.Goracke 1 Reply Last reply Reply Quote 0
                                                        • MichaelC-15022
                                                          MichaelC-15022 @Mike.Goracke last edited by

                                                          You can thoroughly test these your self using the Firefox plugin httpfox.

                                                          The advantage this particular tool has over pretty much everything else is that you see not only the LAST http response code, but the entire chain.

                                                          I've answered private Q&A questions here from people where Google was seeing one of the response codes in the chain, but other tools were seeing a different one.  If I remember correctly, it was a chain of 301s and 302s.

                                                          You want (ideally) a SINGLE 301; if you cannot make that happen, then a chain of 301s, with no 302s or 404s in the middle.

                                                          1 Reply Last reply Reply Quote 0
                                                          • Mike.Goracke
                                                            Mike.Goracke @TroyW last edited by

                                                            Cool. Glad to help.

                                                            Taking care of https is another rule that you would need to implement. This can be a bit more tricky if your site uses https for other purposes (such as signing in or a checkout process, etc.)

                                                            If you do not use https anywhere on your site, I can probably come up with some code that would work for you.

                                                            The SEOmoz scan is done on a weekly basis, so there isn't much you can do there. And as for other tools to do these scans, you really cannot get the level of detail in a user-friendly manner that SEOmoz provides - in my opinion.

                                                            Mike

                                                            MichaelC-15022 TroyW 3 Replies Last reply Reply Quote 0
                                                            • TroyW
                                                              TroyW @Mike.Goracke last edited by

                                                              Mike I think that did the trick, which is awesome!!!   I validated the results by entering lucid8.com and it redirected me, however it added HTTPS vs the default of HTTP i.e. i got https://www.lucid8.com/ vs. http://www.lucid8.com/

                                                              Therefore;

                                                              1. Does the code above need to be modified or do I need to change some other setting

                                                              2. Is there a more robust way of validating these resolutions, i.e. if I do a new scan with SEOmoz will it immediately report that the issues have been fixed or ???  OR are there other methods to ensure I fixed these two issues completely?

                                                              Mike.Goracke 1 Reply Last reply Reply Quote 0
                                                              • Mike.Goracke
                                                                Mike.Goracke @TroyW last edited by

                                                                If you are using IIS, then you would want to configure these fixes in your web.config file.

                                                                I think you'd want something like this:

                                                                <configuration><system.webserver><rewrite><rewritemaps><rewritemap name="Redirect"><add key="/index.asp" value="/"></add></rewritemap></rewritemaps>
                                                                            <rules><rule name="CanonicalHostNameRule" enabled="true"><match url="(.*)"><conditions logicalgrouping="MatchAll" trackallcaptures="false"><add input="{HTTP_HOST}" pattern="^www.lucid8.com$" negate="true"></add></conditions>
                                                                                    <action type="Redirect" url="http://www.lucid8.com/{R:1}"></action></match></rule></rules></rewrite></system.webserver></configuration>

                                                                If that does not work, I would recommend breaking it into sections - for example, try doing the redirect code first, then the canonical code second, or vise versa. I always look up examples of web.config configurations on stackoverflow.com.

                                                                Hope this helps Troy.

                                                                Mike

                                                                TroyW 1 Reply Last reply Reply Quote 2
                                                                • MichaelC-15022
                                                                  MichaelC-15022 @jesse-landry last edited by

                                                                  FYI you'll want to rename index.asp to something else, and then change the default document to point to the new filename (e.g. "home.asp"), then 301 redirect index.asp to /.  This will consolidate any link juice currently going to index.asp onto your one real home page, "/".

                                                                  When you think you're all done, then use the Firefox plugin HTTPfox to see your entire HTTP response code stream when you hit index.asp, the non-www version of your site, etc.  You're looking to see a single 301 redirect for each.

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

                                                                    Mike is correct.  You've got 2 separate problems here.  I actually wrote articles on these for About Us here and here.

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

                                                                      BTW I Googled the issue and then poked around IIS on could not find any type of duplicate entry for www vs non www, however perhaps I am missing something simple?   The entry that I have for the main site doesn't seem to say whether its for WWW or Non-WWW either so?

                                                                      Also read an article that said this might be the cause of a duplicate DNS entry, i.e. one for WWW and one for non WWW??

                                                                      Mike.Goracke 1 Reply Last reply Reply Quote 1
                                                                      • TroyW
                                                                        TroyW @Mike.Goracke last edited by

                                                                        Mike sorry for the delay in response....

                                                                        I am using IIS on a Windows 2003 Server

                                                                        TroyW 1 Reply Last reply Reply Quote 0
                                                                        • Mike.Goracke
                                                                          Mike.Goracke @TroyW last edited by

                                                                          That is a change you will make on your server.

                                                                          Depending on the backend software you use, the code or setting to implement this type of change will be different.

                                                                          What software do you use?

                                                                          Mike

                                                                          TroyW 1 Reply Last reply Reply Quote 0
                                                                          • TroyW
                                                                            TroyW @Mike.Goracke last edited by

                                                                            Great info thanks guys and

                                                                            1. I found and corrected the /index.asp issue and am searching to ensure that issue is resolved on all other pages as well

                                                                            2. Regarding the http://lucid8.com and http://www.lucid8.com  I am confused as to where this is set or how to adjust.  Can you provide any additional hints as to how I should address this?

                                                                            Thanks to both of you this has been a great help!

                                                                            Mike.Goracke 1 Reply Last reply Reply Quote 0
                                                                            • jesse-landry
                                                                              jesse-landry @Mike.Goracke last edited by

                                                                              excellent catch, Mike. He's absolutely correct about the index.asp page.

                                                                              these two fixes should really help your site.

                                                                              1 Reply Last reply Reply Quote 0
                                                                              • Mike.Goracke
                                                                                Mike.Goracke last edited by

                                                                                Hi Troy,

                                                                                The issue with /index.asp is coming up because of your Home link in your footer. Instead of resolving to home "/" it is being pointed to "/index.asp".

                                                                                And the reason it is also showing the www-version is because when the crawler is on lucid8.com and it crawls the link to the right of customer/partner login "customers", the crawler is brought to www.lucid8.com/downloadplus/Resource_login.asp Then, from here, if you click on any of the hyperlinks, you are brought to the www-version of the page instead of the non-www you specified as your preferred.

                                                                                Jesse is correct in saying you need to choose either a www or non-www version; however, you also need to fix the /index.asp issue.

                                                                                Hope this helps.

                                                                                Mike

                                                                                jesse-landry TroyW MichaelC-15022 3 Replies Last reply Reply Quote 2
                                                                                • jesse-landry
                                                                                  jesse-landry last edited by

                                                                                  i think that because you said "http://lucid8.com/index.asp and http://www.lucid8.com are duplicates" your issue might actually be in the www and non-www canonicalization of your site.

                                                                                  Make sure that you pick one or the other (i recommend www) and in your IIS server settings redirect the non-www to the www. (or vice versa if you must)

                                                                                  This should solve your problem.

                                                                                  **update -- I just went to your site and yes this is happening. You have two sites going, http://lucid8.com and http://www.lucid8.com. The "index.asp" portion of it actually has nothing to do with this. But Google is currently seeing each version as two separate pages, resulting in duplicates of every page on that domain.

                                                                                  Definitely add the 301 redirect in your IIS settings to one or the other. A linkrel=canonical tag wouldn't hurt on each page either, but isn't necessary.

                                                                                  Good luck

                                                                                  MichaelC-15022 1 Reply Last reply Reply Quote 1
                                                                                  • 1 / 1
                                                                                  • First post
                                                                                    Last post

                                                                                  Browse Questions

                                                                                  Explore more categories

                                                                                  • Moz Tools

                                                                                    Chat with the community about the Moz tools.

                                                                                  • SEO Tactics

                                                                                    Discuss the SEO process with fellow marketers

                                                                                  • Community

                                                                                    Discuss industry events, jobs, and news!

                                                                                  • Digital Marketing

                                                                                    Chat about tactics outside of SEO

                                                                                  • Research & Trends

                                                                                    Dive into research and trends in the search industry.

                                                                                  • Support

                                                                                    Connect on product support and feature requests.

                                                                                  • See all categories

                                                                                  Related Questions

                                                                                  • moz46y

                                                                                    Reusing an already 301 redirected URL for a very important keyword

                                                                                    301 redirect 301 redirects

                                                                                    I have a question about reusing an already 301 redirected URL Till now I never reused an URLs that has been already redirected with a 301 redirect. However, I just started working on a website where in past they created a lot of 301 redirects without thinking about the future, and now certain URLs, that are currently redirected with a 301, would be very useful (exact match) and needed (for some of the most important keywords for this specific business), to maintain an optimal, homogeneous and "beautiful" URL structure. Has any of you ever reused a URL that was previously redirected with a 301 redirect? If yes what are your experiences with it? Can content on the reused URL (that was previously 301 redirected and than the redirect removed) normally rank if the page is reestablished and the redirect is removed (and you do great content, on page, internal linking, backlinking, .... ) or is such an URL risky / not recommended / "burned" forever and not recommended to be reused again... especially for very important keywords since it present the exact match ?! Thank you very much for all your help! Regards

                                                                                    Technical SEO | | moz46y
                                                                                    0
                                                                                  • ulefos

                                                                                    Remove html file extension and 301 redirects

                                                                                    Hi Recently I ask for some work done on my website from a company,  but I am not sure what they've done is right.
                                                                                    What I wanted was html file extensions to be removed like
                                                                                    /ash-logs.html to /ash-logs
                                                                                    also the index.html to www.timports.co.uk
                                                                                    I have done a crawl diagnostics and have duplicate page content and 32 page title duplicates. This is so doing my head in please help This is what is in the .htaccess file <ifmodule pagespeed_module="">ModPagespeed on
                                                                                    ModPagespeedEnableFilters extend_cache,combine_css, collapse_whitespace,move_css_to_head, remove_comments</ifmodule> <ifmodule mod_headers.c="">Header set Connection keep-alive</ifmodule> <ifmodule mod_rewrite.c="">Options +FollowSymLinks -MultiViews</ifmodule> DirectoryIndex index.html RewriteEngine On 
                                                                                     # Rewrite valid requests on .html files  RewriteCond %{REQUEST_FILENAME}.html -f RewriteRule ^ %{REQUEST_URI}.html?rw=1 [L,QSA] 
                                                                                     # Return 404 on direct requests against .html files RewriteCond %{REQUEST_URI} .html$  
                                                                                    RewriteCond %{QUERY_STRING} !rw=1 [NC]
                                                                                     RewriteRule ^ - [R=404] AddCharset UTF-8 .html # <filesmatch “.(js|css|html|htm|php|xml|swf|flv|ashx)$”="">#SetOutputFilter DEFLATE #</filesmatch> <ifmodule mod_expires.c="">ExpiresActive On
                                                                                    ExpiresByType image/gif "access plus 1 years"
                                                                                    ExpiresByType image/jpeg "access plus 1 years"
                                                                                    ExpiresByType image/png "access plus 1 years"
                                                                                    ExpiresByType image/x-icon "access plus 1 years"
                                                                                    ExpiresByType image/jpg "access plus 1 years"
                                                                                    ExpiresByType text/css "access 1 years"
                                                                                    ExpiresByType text/x-javascript "access 1 years"
                                                                                    ExpiresByType application/javascript "access 1 years"
                                                                                    ExpiresByType image/x-icon "access 1 years"</ifmodule> <files 403.shtml="">order allow,deny allow from all</files> redirect 301 /PRODUCTS http://www.timports.co.uk/kiln-dried-logs
                                                                                    redirect 301 /kindling_firewood.html http://www.timports.co.uk/kindling-firewood.html
                                                                                    redirect 301 /about_us.html http://www.timports.co.uk/about-us.html
                                                                                    redirect 301 /log_delivery.html http://www.timports.co.uk/log-delivery.html redirect 301 /oak_boards_delivery.html http://www.timports.co.uk/oak-boards-delivery.html
                                                                                    redirect 301 /un_edged_oak_boards.html http://www.timports.co.uk/un-edged-oak-boards.html
                                                                                    redirect 301 /wholesale_logs.html http://www.timports.co.uk/wholesale-logs.html redirect 301 /privacy_policy.html http://www.timports.co.uk/privacy-policy.html redirect 301 /payment_failed.html http://www.timports.co.uk/payment-failed.html redirect 301 /payment_info.html http://www.timports.co.uk/payment-info.html

                                                                                    Technical SEO | | ulefos
                                                                                    1
                                                                                  • etruvian

                                                                                    What to do with 302 redirects being indexed

                                                                                    Hi there, Our site's forums include permalinks that for some reason uses an intermediary URL that 302 redirects to the URL with the permalink anchor. For example: http://en.tradimo.com/learn/chart-analysis/time-frames/ In the comments, there is a permalink to the following URL; en.tradimo.com/co/50c450005f2b949e3200001b/  (there is no content here, and never has been).  This URL 302 redirects to the following final URL: http://en.tradimo.com/learn/chart-analysis/time-frames/?offset=0&limit=20#50c450005f2b949e3200001b The problem is, Google is indexing the redirect URL (en.tradimo.com/co/50c450005f2b949e3200001b/) and showing duplicate content even though we are using the nofollow tag on these links. Ideally, we would directly use the last link rather than redirecting.  Alternatively, I'd say a 301 redirect would be preferable.  But if both aren't available, is there a way to get these pages out of the index? Is the canonical tag the best way?  I really wish I could just add /co/ to the robots.txt file, but I think they would still be in the index, right? Thanks for your help!

                                                                                    Technical SEO | | etruvian
                                                                                    0
                                                                                  • Gotmoxie

                                                                                    How do I fix a 301 Redirect Loop?

                                                                                    Saturday I waas doing some correcting of some duplicate titles, including nofollowing tags, etc. (my main problem was duplicate titles due to tags and categories being indexed). Now this morning I see that one of my pages refuses to load, citing a 301 redirect loop. http://www.incredibleinfant.com/feeding/switching-baby-formula/ Originally, the page was posted under the wrong category. http://www.incredibleinfant.com/uncategorized/switching-baby-formula I resaved it under the correct category (feeding) and now it won't load. Can someone help me figure out how to correct this mess? Thanks so much Heather

                                                                                    Technical SEO | | Gotmoxie
                                                                                    0
                                                                                  • w0lfiesmithUK

                                                                                    Switching from a .org to .io (301 domain redirect)

                                                                                    I'm considering switching my main site from a .org to .io address; the .org is an exact match domain which helped to kickstart it a few years ago and now has about 50% repeat visitors, but was thrown off the Apple affiliation program for trademark infringement. I've found and purchased a nice (non-infringing) .io domain, and I've read the advice here on how to properly 301 the old domain; but my question is - does it matter that it's .io? Is this going to significantly hurt my rankings, even when everything has been 301'd properly? Another thought I had is that I may actually come out better off in the long run, what with Google penalties being applied to exact match domains. Is this a ranking suicide? If so, I'm tempted to leave it as is; even without the affiliation, it's making a good amount every month in ad fees that I don't want to disrupt. Thanks all!

                                                                                    Technical SEO | | w0lfiesmithUK
                                                                                    0
                                                                                  • Alick300

                                                                                    301 redirect using javascript

                                                                                    Can I use javascript code to redirect(301) a webpage?

                                                                                    Technical SEO | | Alick300
                                                                                    0
                                                                                  • SamTurri

                                                                                    Any way around buying hosting for an old domain to 301 redirect to a new domain?

                                                                                    Howdy. I have just read this QA thread, so I think I have my answer. But I'm going to ask anyway! Basically DomainA.com is being retired, and DomainB.com is going to be launched. We're going to have to redirect numerous URLs from DomainA.com to DomainB.com. I think the way to go about this is to continue paying for hosting for DomainA.com, serving a .htaccess from that hosting account, and then hosting DomainB.com separately. Anybody know of a way to avoid paying for hosting a .htaccess file on DomainA.com? Thanks!

                                                                                    Technical SEO | | SamTurri
                                                                                    0
                                                                                  • briankb

                                                                                    301 Redirect vs Domain Alias

                                                                                    We have hundreds of domains which are either alternate spelling of our primary domain or close keyword names we didn't want our competitor to get before us. The primary domain is running on a dedicated Windows server running IIS6 and set to a static IP. Since it is a static IP and not using host headers any domain pointed to the static IP will immediately show the contents of the site, however the domain will be whatever was typed. Which could be the primary domain or an alias. Two concerns. First, is it possible that Google would penalize us for the alias domains or dilute our primary domain "juice"? Second, we need to properly track traffic from the alias domains. We could make unique content for those performing well and sell or let expire those that are sending no traffic. It's not my goal to use the alias domains to artificially pump up our primary domain. We have them for spelling errors and direct traffic. What is the best practice for handling one or both of these issues?

                                                                                    Technical SEO | | briankb
                                                                                    0

                                                                                  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 - 2025 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                                                                                  • Accessibility
                                                                                  • Terms of Use
                                                                                  • Privacy

                                                                                  Looks like your connection to Moz was lost, please wait while we try to reconnect.