undefined
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
    • SEO Q&A
    • Webinars, Whitepapers, & Guides
  • Blog
  • Why Moz
    • Agency Solutions
    • Enterprise Solutions
    • Small Business Solutions
    • Case Studies
    • 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.

    NEW Keyword Suggestions by Topic
    Moz Pro

    NEW Keyword Suggestions by Topic

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

    • Case Studies

      Explore how Moz drives ROI with a proven track record of success.

    • 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
  • 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. Remove html file extension and 301 redirects

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.

Remove html file extension and 301 redirects

Technical SEO
3
10
5.5k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as question
Log in to reply
This topic has been deleted. Only users with question management privileges can see it.
  • ulefos
    ulefos last edited by Apr 9, 2013, 7:22 PM

    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

    1 Reply Last reply Reply Quote 1
    • Tom-Anthony
      Tom-Anthony @ulefos last edited by Apr 11, 2013, 10:03 AM Apr 11, 2013, 10:03 AM

      This looks good to me, the html pages are 301ing to the non .html versions. 🙂

      1 Reply Last reply Reply Quote 0
      • ulefos
        ulefos last edited by Apr 10, 2013, 12:50 PM Apr 10, 2013, 12:50 PM

        I think I've done it this is what I have found and added to my htaccess code.

        <ifmodule mod_rewrite.c="">   
         Options +FollowSymLinks -MultiViews</ifmodule>

        DirectoryIndex index.html

        RewriteEngine On    
        RewriteBase /

        #removing trailing slash
        RewriteCond %{REQUEST_FILENAME} !-d    
        RewriteRule ^(.*)/$ $1 [R=301,L]

        #non www to www
        RewriteCond %{HTTP_HOST} !^www.    
        RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]

        #html
        RewriteCond %{REQUEST_FILENAME} !-f    
        RewriteCond %{REQUEST_FILENAME} !-d    
        RewriteRule ^([^.]+)$ $1.html [NC,L]

        #index redirect 
        RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index.html\ HTTP/    
        RewriteRule ^index.html$ http://www.timports.co.uk/ [R=301,L]
        RewriteCond %{THE_REQUEST} .html    
        RewriteRule ^(.*).html$ /$1 [R=301,L]

        Tom-Anthony 1 Reply Last reply Apr 11, 2013, 10:03 AM Reply Quote 0
        • ulefos
          ulefos last edited by Apr 10, 2013, 9:38 AM Apr 10, 2013, 9:38 AM

          I still have the internal error, thank you for your time in looking at this I will keep trying

          1 Reply Last reply Reply Quote 0
          • LynnPatchett
            LynnPatchett @ulefos last edited by Apr 10, 2013, 8:54 AM Apr 10, 2013, 8:54 AM

            Hi,

            htaccess can be a pain and I will admit I usually manage what I am after with a bit of trial and error. Try the following, and if you have problems concentrate on the lines:

            RewriteCond %{THE_REQUEST} .html
            RewriteRule ^(.*).html$ /$1 [R=301,L]

            I have added a redirect for index.html to root, and from non www to www and removed the last .html from the last list of _ to - redirects. Give it a shot, and keep that backup handy just in case. If no go, maybe one of the htaccess experts around can step in and have a look, I am not 100% sure what some of those other rules are doing to be honest!

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

            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>

            # mod_rewrite On only needed once
            RewriteEngine On

            301 permanent redirect old underscore.html to new dash urls

            redirect 301 /PRODUCTS http://www.timports.co.uk/kiln-dried-logs 
            redirect 301 /kindling_firewood.html http://www.timports.co.uk/kindling-firewood
            redirect 301 /about_us.html http://www.timports.co.uk/about-us
            redirect 301 /log_delivery.html http://www.timports.co.uk/log-delivery
            redirect 301 /oak_boards_delivery.html http://www.timports.co.uk/oak-boards-delivery
            redirect 301 /un_edged_oak_boards.html http://www.timports.co.uk/un-edged-oak-boards
            redirect 301 /wholesale_logs.html http://www.timports.co.uk/wholesale-logs
            redirect 301 /privacy_policy.html http://www.timports.co.uk/privacy-policy
            redirect 301 /payment_failed.html http://www.timports.co.uk/payment-failed
            redirect 301 /payment_info.html http://www.timports.co.uk/payment-info

            301 permanent redirect index.html to folder

            RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /([^/]+/)index.html?\ HTTP/
            RewriteRule ^(([^/]+/)
            )index.html?$ http://www.timports.co.uk/$1 [R=301,L]

            301 permanent redirect non-www to www

            RewriteCond %{HTTP_HOST} !^(www.timports.co.uk)?$
            RewriteRule (.*) http://www.timports.co.uk/$1 [R=301,L]

            301 permanent redirect all .html to non .html

            RewriteCond %{THE_REQUEST} .html
            RewriteRule ^(.*).html$ /$1 [R=301,L]

            1 Reply Last reply Reply Quote 0
            • ulefos
              ulefos last edited by Apr 10, 2013, 7:44 AM Apr 10, 2013, 7:44 AM

              thanks Lyn, but that gave an 500 internal error, back up worked though

              LynnPatchett 1 Reply Last reply Apr 10, 2013, 8:54 AM Reply Quote 0
              • LynnPatchett
                LynnPatchett @ulefos last edited by Apr 10, 2013, 7:37 AM Apr 10, 2013, 7:37 AM

                Hi,

                I think you will only need this bit:

                #301 from example.com/page.html to example.com/page
                RewriteCond%{THE_REQUEST}^[A-Z]{3,9}\ /..html\ HTTP/
                RewriteRule^(.
                ).html$ /$1 [R=301,L]

                And you would replace this bit below with the above:

                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]

                But leave the  at the end of that section.

                htaccess files can be a bit picky, so be sure to keep a backup so you can quickly undo something if it is not working!

                1 Reply Last reply Reply Quote 0
                • ulefos
                  ulefos last edited by Apr 10, 2013, 6:58 AM Apr 10, 2013, 6:58 AM

                  Ok have got links to work again with old code, going to try this

                  #example.com/page will display the contents of example.com/page.html RewriteCond%{REQUEST_FILENAME}!-f RewriteCond%{REQUEST_FILENAME}!-d RewriteCond%{REQUEST_FILENAME}.html -f RewriteRule^(.+)$ $1.html [L,QSA] #301 from example.com/page.html to example.com/page RewriteCond%{THE_REQUEST}^[A-Z]{3,9}\ /..html\ HTTP/ RewriteRule^(.).html$ /$1 [R=301,L]

                  where would I put this code in relation to what I already have in my htaccess file

                  LynnPatchett 1 Reply Last reply Apr 10, 2013, 7:37 AM Reply Quote 0
                  • ulefos
                    ulefos last edited by Apr 10, 2013, 6:52 AM Apr 10, 2013, 6:52 AM

                    Thanks you for your reply, I have looked at the links you provided and tried replacing this 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]

                    with this, but it didn't work or I did something wrong. #example.com/page will display the contents of example.com/page.html RewriteCond%{REQUEST_FILENAME}!-f RewriteCond%{REQUEST_FILENAME}!-d RewriteCond%{REQUEST_FILENAME}.html -f RewriteRule^(.+)$ $1.html [L,QSA] #301 from example.com/page.html to example.com/page RewriteCond%{THE_REQUEST}^[A-Z]{3,9}\ /..html\ HTTP/ RewriteRule^(.).html$ /$1 [R=301,L]

                    Now www.timports.co.uk  says this page cant be displayed so I tried to put it back to the previous  .htaccess and still no links working

                    I am so stuck

                    1 Reply Last reply Reply Quote 0
                    • LynnPatchett
                      LynnPatchett last edited by Apr 10, 2013, 1:08 AM Apr 10, 2013, 1:08 AM

                      Hi,

                      Indeed there seems to be an issue with your redirects since the .html versions are still available on your site. Two things to check in the first instance:

                      1. The redirect line for the .html to non .html versions:

                      Rewrite valid requests on .html files  RewriteCond %{REQUEST_FILENAME}.html -f

                      RewriteRule ^ %{REQUEST_URI}.html?rw=1 [L,QSA]

                      I am not sure if this will work the way you want it. First of all a # at the beginning of this line means it is a comment and not processed so you seem to have the RewriteCond part of the statement as a comment (maybe this is just the forum formatting it wrong, but good to check).
                      You can check some other solutions for redirecting .html to non .html here: http://stackoverflow.com/questions/5730092/how-to-remove-html-from-url

                      2. At the bottom of the file you have a bunch of 301 redirects like this:

                      redirect 301 /kindling_firewood.html http://www.timports.co.uk/kindling-firewood.html

                      Which are working as expected redirecting underscored urls to urls with dashes. But they are also redirecting to the .html version which means you will be getting into double redirects which is pointless in your case. Once you have the non .html redirects working as expected you should adjust these 301s to go to the non .html version like so:

                      redirect 301 /kindling_firewood.html http://www.timports.co.uk/kindling-firewood

                      Hope that helps!

                      1 Reply Last reply Reply Quote 0
                      • 1 / 1
                      1 out of 10
                      • First post
                        1/10
                        Last post

                      Got a burning SEO question?

                      Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


                      Start my free trial


                      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

                      • tejasbansode

                        Is 301 redirect the only way when using Vanity URLs?

                        We have been using vanity urls for some of our pages. Mostly the pages that have a vanity URL have a long URL length. But now the problem is, the vanity URL is getting displayed on the search engine when the particular keyword related to the page is entered. I checked the google search console, the vanity URL is indexed and the original URL remains unindexed. What should I do? Is adding 301 redirect to the vanity URLs are solution? Since some of vanity URLs are not redirecting to the original. Some of the original pages are not getting traffic. Also, can using canonical tag help?

                        Technical SEO | Sep 15, 2020, 7:34 AM | tejasbansode
                        0
                      • MarketHubb

                        Help Setting Up 301 Redirects from Coldfusion Site to Wordpress Site.

                        I have created a new website and need to redirect all of the previous pages to the new one. The old website was built in coldfusion and the new site is built in wordpress. One of the pages I'm trying to redirect is www.norriseal.com/products.cfm to http://norrisealwellmark.com/products/. This is what I have in my .htaccess file <ifmodule mod_rewrite.c="">Options +FollowSymlinks
                        RewriteEngine On
                        RewriteBase /
                        Redirect 301 /products.cfm http://norrisealwellmark.com/products/</ifmodule> The result of this redirect is http://norrisealwellmark.com/products.cfm How do I prevent the .cfm from appending to the destination URL?

                        Technical SEO | Jan 13, 2017, 4:00 PM | MarketHubb
                        1
                      • Uber_

                        Add trailing slash after removing .html extention

                        My website is non www ,it has wordpress in subdirectory and some static webpages in the root and other subdirectory 1. i want to remove .html extention from the webpages in the root and
                        the others static webpages in subdirectory.
                        2. add slash at the end.
                        3. 301 redirect from non slash to url with slash. so it should be http://ghadaalsaman.com/articles.html to http://ghadaalsaman.com/articles/ and http://ghadaalsaman.com/en/poem-list.html to http://ghadaalsaman.com/en/poem-list/ the below code 1. working with non slash at the end **2. **redirect 301 url with slash to non here's my .htaccess <ifmodule mod_rewrite.c="">Options +FollowSymLinks -MultiViews RewriteEngine On
                        RewriteBase /</ifmodule> #removing trailing slash
                        RewriteCond %{REQUEST_FILENAME} !-d     
                        RewriteRule ^(.*)/$ $1 [R=301,L] #www to non
                        RewriteCond %{HTTP_HOST} ^www.(([a-z0-9_]+.)?domain.com)$ [NC]
                        RewriteRule .? http://%1%{REQUEST_URI} [R=301,L] #html
                        RewriteCond %{REQUEST_FILENAME} !-f
                        RewriteCond %{REQUEST_FILENAME} !-d
                        RewriteRule ^([^.]+)$ $1.html [NC,L] #index redirect
                        RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index.html\ HTTP/
                        RewriteRule ^index.html$ http://ghadaalsaman.com/ [R=301,L]
                        RewriteCond %{THE_REQUEST} .html
                        RewriteRule ^(.*).html$ /$1 [R=301,L] PS everything is ok with the wordpress , the problems with static pages only. Thanks in advanced

                        Technical SEO | Jul 31, 2016, 7:51 PM | Uber_
                        0
                      • IM_Learner

                        301 Redirect on a PDF, DOCX files?

                        Hi, I have to rename many pdf and docx files. How can I implement 301 redirect on them as they are linked from 'n' number of places? Regards, Shailendra Sial

                        Technical SEO | Jul 31, 2012, 9:53 AM | IM_Learner
                        1
                      • dballari

                        Where does Wordpress store the 301 redirects?

                        Hi, I've just created a campaign for my new wordpress blog and found 11 301 redirects which I was not aware of. It looks like wordpress has created them automatically. Does any one know how wordpress handles this issues or where are they stored so I can delete them? They are of no use for me. 9 of these redirects point to the same url with an added '/' and are in pages 1 is on a post. I've been changing the permalink and some urls several times and maybe one of these times the Wordpress has automatically created the 301 redirect. But why? I do not want to keep the old url. the last redirect is very strange it goes from http://www.mydomain.com/folder to http://www.mydomain.com where folder is the folder where I installed wordpress. But again, I want no one to type the url with the folder name or even know this folder exists. Any comment on this would be greatly appreciated. Thanks a lot, David

                        Technical SEO | Apr 11, 2012, 8:30 AM | dballari
                        0
                      • ChristianMKTG

                        Drupal URL Aliases vs 301 Redirects + Do URL Aliases create duplicates?

                        Hi all! I have just begun work on a Drupal site which heavily uses the URL Aliases feature. I fear that it is creating duplicate links. For example:: we have http://www.URL.com/index.php and http://www.URL.com/ In addition we are about to switch a lot of links and want to keep the search engine benefit. Am I right in thinking URL aliases change the URL, while leaving the old URL live and without creating search engine friendly redirects such as 301s? Thanks for any help! Christian

                        Technical SEO | Nov 11, 2011, 5:29 AM | ChristianMKTG
                        0
                      • EvergladesDirect

                        200 Redirects for SEO instead of 301

                        We are working with a company on re-platforming our website.  On a call yesterday they outlined a strategy to use 200 redirects for our top keywords instead of 301s.  I am not familiar with this type of redirect and was wondering if anyone could provide some more insight.

                        Technical SEO | Jun 1, 2011, 3:20 PM | EvergladesDirect
                        0
                      • sboelter

                        Multiple Domains, Same IP address, redirecting to preferred domain (301) -site is still indexed under wrong domains

                        Due to acquisitions over time and the merging of many microsites into one major site, we currently have 20+ TLD's  pointing to the same IP address as our "preferred domain:"  for our consolidated website http://goo.gl/gH33w. They are all set up as 301 redirects on apache - including both the www and non www versions. When we launched this consolidated website, (April 2010) we accidentally left the settings of our site open to accept any of our domains on the same IP.  This was later fixed but unfortunately Google indexed our site under multiple of these URL's (ignoring the redirects) using the same content from our main website but swapping out the domain.  We added some additional redirects on apache to redirect these individual pages pages indexed under the wrong domain to the same page under our main domain http://goo.gl/gH33w.  This seemed to help resolve the issue and moved hundreds of pages off the index.  However, in December of 2010 we made significant changes in our external dns for our ip addresses and now since December, we see pages indexed under these redirecting domains on the rise again. If you do a search query of : site:laboratoryid.com you will see a few hundred examples of pages indexed under the wrong domain.  When you click on the link, it does redirect to the same page but under the preferred domain.  So the redirect is working and has been confirmed as 301.  But for some reason Google continues to crawl our site and index under this incorrect domains.  Why is this? Is there a setting we are missing?   These domain level and page level redirects should be decreasing the pages being indexed under the wrong domain but it appears it is doing the reverse. All of these old domains currently point to our production IP address where are preferred domain is also pointing.  Could this be the issue? None of the pages indexed today are from the old version of these sites. They only seem to be the new content from the new site but not under the preferred domain. Any insight would be much appreciated because we have tried many things without success to get this resolved.

                        Technical SEO | Jun 2, 2011, 3:45 PM | sboelter
                        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
                      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.