I've screwed up. Domain pointers I forgot about. Think I am getting dinged by google.
-
Hey all. I setup some domain pointers for a client 8 years ago and now think they are hurting them. I am afraid google thinks it duplicate content. They are pointers so you can get to the same page using other domain names. Is my best approach to do a 301 redirect on them? The client is on a shared host so I have to use the web.config file. The site is pretty small so doing it for the 10+ pages is not that big of a deal. My question is this? When should I drop those pointers from the website altogether?
-
Hi Doug
If you have duplicate content then you could add a cross-domain canonical on all the pages from site 2 to site 1. Then when it's dropped away just 301 everything,
That means you'd still get direct traffic to it but Google would rank the main site 1 and drop site 2 because all the canonicals would reference site 1.
You just put the 301s in the .htaccess file
I wouldn't do it this way - I'd just make sure all the content was on site 1 then 301 but I understand you might be nervous.
Regards
Nigel
-
So I wanted to answer this question if someone else has problems with URL redirecting in IIS and they don't have console level access.
I added the following to my web.config file and this took care of all my problems.
Basically it checks to see if https is being used, if not it redirects to the primary domain using https://www.domain1.com. The second condition checks to see if it is the exact domain name. If it is anything else, it redirects to the primary https://www.domain1.com
**This fixes HTTP to HTTPs, non-WWW to WWW, and other domain pointers to the correct one. **
<rewrite><rule name="Force canonical hostname and SSL" stopprocessing="true"><match url=".*"><conditions logicalgrouping="MatchAny"><add input="{HTTPS}" pattern="off"><add input="{HTTP_HOST}" pattern="^www.domain1.com$" negate="true"></add></add></conditions>
<action type="Redirect" url="https://www.domain1.com{URL}" appendquerystring="true" redirecttype="Permanent"></action></match></rule></rewrite> -
Thanks Nigel.
There are 3 domains setup and all point to the same website. I checked with analytics and one of the domains is not even on the radar, but the other accounts for about 6% of traffic for the last year. I think the problem is google is counting this as duplicate content (same page, but 2 different domains to get there - i.e. domainone.com/page1, domaintwo.com/page1).
Domain one is the main one.
I am just super nervous about this as this is a real business that makes money and I do not want to screw it up.
My plan is to do the following:
1. Update to Https
2. Add rel=canonical to each page using absolutes (https://www.domainone.com/page1).
3. Add 301s using web.config file to point any request for the other domains to the primary.
4. Add 301 to non "WWW" request to point them to WWW version.
5. Update sitemapPray I don't make a mistake in my redirects and make the google gods mad
-
Hi Doug
Firstly I doubt there is any value in the backlinks to those old domains so I guess the only way you will get a click is if someone assumes a domain name and types it in, however
You haven't said if there is any content on those pages. If there is, then delete it and 301 to the relevant pages.
1. Use analytics to see how many entries came from those domains.
2. If it's low to zero and there are no backlinks to them then just delete them altogether.I doubt they are doing much damage to be honest unless they have duplicate content on them.
The cleanest way of course is to have one domain name but big companies still use domains that point at them. It happens a lot with TLD variants e.g. diy.co.uk points to diy.com
Regards
Nigel
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
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.
Related Questions
-
301 Old domain with HTTPS to new domain with HTTPS
I am a bit boggled about https to https we redirected olddomain.com to https://www.newdomain.com, but redirecting https://www.olddomain.com or non-www is not possible. because the certificate does not exist on a level where you are redirecting. only if I setup a new host and add a htaccess file will this work. What should I do? just redirect the rest and hope for the best?
Intermediate & Advanced SEO | | waqid0 -
Change Google's version of Canonical link
Hi My website has millions of URLs and some of the URLs have duplicate versions. We did not set canonical all these years. Now we wanted to implement it and fix all the technical SEO issues. I wanted to consolidate and redirect all the variations of a URL to the highest pageview version and use that as the canonical because all of these variations have the same content. While doing this, I found in Google search console that Google has already selected another variation of URL as canonical and not the highest pageview version. My questions: I have millions of URLs for which I have to do 301 and set canonical. How can I find all the canonical URLs that Google has autoselected? Search Console has a daily quota of 100 or something. Is it possible to override Google's version of Canonical? Meaning, if I set a variation as Canonical and it is different than what Google has already selected, will it change overtime in Search Console? Should I just do a 301 to highest pageview variation of the URL and not set canonicals at all? This way the canonical that Google auto selected might get redirected to the highest pageview variation of the URL. Any advice or help would be greatly appreciated.
Intermediate & Advanced SEO | | SDCMarketing0 -
How can I get a list of every url of a site in Google's index?
I work on a site that has almost 20,000 urls in its site map. Google WMT claims 28,000 indexed and a search on Google shows 33,000. I'd like to find what the difference is. Is there a way to get an excel sheet with every url Google has indexed for a site? Thanks... Mike
Intermediate & Advanced SEO | | 945010 -
Site Structure: How do I deal with a great user experience that's not the best for Google's spiders?
We have ~3,000 photos that have all been tagged. We have a wonderful AJAXy interface for users where they can toggle all of these tags to find the exact set of photos they're looking for very quickly. We've also optimized a site structure for Google's benefit that gives each category a page. Each category page links to applicable album pages. Each album page links to individual photo pages. All pages have a good chunk of unique text. Now, for Google, the domain.com/photos index page should be a directory of sorts that links to each category page. Alternatively, the user would probably prefer the AJAXy interface. What is the best way to execute this?
Intermediate & Advanced SEO | | tatermarketing0 -
Are links that are disavowed with Google Webmaster Tools removed from the Google Webmaster Profile for the domain?
Hi, Two part question - First, are links that you disavow using google webmaster tools ever removed from the webmaster tools account profile ? Second, when you upload a file to disavow links they ask if you'd like to replace the previously uploaded file. Does that mean if you don't replace the file with a new file that contains the previously uploaded urls those urls are no longer considered disavowed? So, should we download the previous disavow file first then append the new disavow urls to the file before uploading or should we just upload a new file that contains only the new disavow urls? Thanks
Intermediate & Advanced SEO | | bgs0 -
Setting Up Google Analytics for domains with 301
I have a client with a google analytics account that is a mess. domaina.com domainb.com 302's to domaina.com domainc.com 302's to domaina.com domaind.com 302's to domaina.com I thought the client was doing 301s on all these domains to the primary domain. I have logged into there analytics account and found data is being tracked on the other domains i.e domainb,c,d.com etc. How is it possible that google analytics is tracking data on these domains when no analytics code has been created and the urls are redirecting to domaina.com? Also there are not sites on these domains so for webmaster tools should I enable domain verification through a cname on the dns? Also I can I best setup a way to track traffic coming from say domainb.com? Whats the best step by step guide to use to set this up.
Intermediate & Advanced SEO | | JohnW-UK0 -
I'm afraid I may have messed up my site's organization
So I recently started working on an existing site for a company, and I'm afraid I may have done something to lose some backlinks. So to start off, say the website is www.domain.net and when I arrived domain.net and www.domain.net showed up as two separate sites so I changed my web.config file to direct all domain.net to www.domain.net The homepage was called default.asp, and I wanted the homepage to always show up as www.domain.net instead of www.domain.net/default.asp. Of course they both showed the same thing but I couldn't figure it out. So I removed www.domain.net/default.asp from indexing and changed the my internal links to the homepage to point at www.domain.net instead of simply pointing at the file default.asp. So now www.domain.net/default.asp still brings up the page, but I want it to revert to www.domain.net. I'm also a little worried because I noticed that one of my incoming links points at www.domain.net/default.asp and it doesn't get passed along to www.domain.net and I think i may have damaged my sites SEO I guess this is a very complicated and roundabout way of saying this, but how can I get www.domain.net/default.asp to take you to www.domain.net
Intermediate & Advanced SEO | | bcrabill0 -
My Google title isn't showing what is entered
Help! On Yahoo and Bing, if you search "Chant Real Estate" the full title that I've entered appears in the search listings: Chant PA Real Estate | Real Estate PA | Pennsylvania: Find PA Homes for Sale But in Google it only shows "Chant PA Real Estate". This title was what the original developer used for their site and it's been almost a year now that it's been under our control. Any suggestions? The URL is www.chantre.com.
Intermediate & Advanced SEO | | gXe0