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
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
-
Why is my website not ranking for it's brand name in SERPs but has been indexed by Google?
The website https://christchurch.crowneplaza.com has been live for a couple of months but is not being found in Google search results - even when searching for it's own brand name 'crowne plaza christchurch.' Google has indexed the site - but we are still not showing - https://www.google.co.nz/search?q=site%3Ahttp%3A%2F%2Fchristchurch.crowneplaza.com&rlz=1C1NHXL_enNZ735NZ735&oq=site%3A&aqs=chrome.0.69i59j69i57j69i58j69i59l2j69i65.896j0j7&sourceid=chrome&ie=UTF-8 Any ideas as to why? I think it may be because their are two versions of the site, http and https, both with their own rel=canonical tags. Could this be the cause? Any help much appreciated.
Intermediate & Advanced SEO | | Timmy30 -
Google showing sitelinks on wrong spelling of domain
Hello, For some reason, google is giving us sitelinks for for the wrong spelling of our domain. Our site is stackstreet(.com) and our company is named 'StackStreet'. Instead of showing sitelinks for the search 'StackStreet', google is showing them for 'Stack Street' (with a space). Any ideas? This spelling does not exist anywhere within our source code. Thanks!
Intermediate & Advanced SEO | | stackstreet0 -
How does Google index pagination variables in Ajax snapshots? We're seeing random huge variables.
We're using the Google snapshot method to index dynamic Ajax content. Some of this content is from tables using pagination. The pagination is tracked with a var in the hash, something like: #!home/?view_3_page=1 We're seeing all sorts of calls from Google now with huge numbers for these URL variables that we are not generating with our snapshots. Like this: #!home/?view_3_page=10099089 These aren't trivial since each snapshot represents a server load, so we'd like these vars to only represent what's returned by the snapshots. Is Google generating random numbers going fishing for content? If so, is this something we can control or minimize?
Intermediate & Advanced SEO | | sitestrux0 -
Merging Domains... Sub-domains, Directories or Seperate Sites?
Hello! I am hoping you can help me decide the best path to take here... A little background: I'm moving to a new company that has three old domains (the oldest is 10 years old), which get a lot of traffic from their e-letters. Until recently they have not cared about SEO. So the websites have some structural, coding, URL and other issues. The sites are indexed, but have a problem getting crawled and/or indexed for new content - haven't delved into this yet but am certain I will be able to fix any of these issues. These three domains are PR4, PR4, PR5 and contain hundreds of unique articles. Here's the question... They want to move these three sites **to their main company site (PR4) and create sub domains for each one. ** I am wondering if this is a good idea or not. I have merged sites before (creating categories and/or directories) and the end result is that the ONE big site, is much for effective than TWO smaller, less authoritative sites. But the sub domain idea is something I am unsure about from an SEO perspective. Should we do this with sub domains? Or do you think we should keep the sites separate? How do Panda and Penguin play into this? Thanks in advance for the help! SD P.S. I'm not a huge advocate in using PR as a measurement tool, but since I can't reveal the actual domains, I figured I would list it as a reference point.
Intermediate & Advanced SEO | | essdee0 -
Are sub domains considered completely different than the root domain?
We have a project that is going to generate duplicate content. If we move the new content to a sub-domain (E.g. product.domain.com) will it still be considered duplicate content to the root domain? Or is it like having two completely different domains? Thanks!
Intermediate & Advanced SEO | | tripled5110 -
Does Google crawl the pages which are generated via the site's search box queries?
For example, if I search for an 'x' item in a site's search box and if the site displays a list of results based on the query, would that page be crawled? I am asking this question because this would be a URL that is non existent on the site and hence am confused as to whether Google bots would be able to find it.
Intermediate & Advanced SEO | | pulseseo0 -
Any way to find which domains are 301 redirected to competitors' websites?
By looking at the work from an SEO collegue it became clear that his weak linkbuilding graph probably is not the cause for his good rankings for a pretty competitive keyword. (also no social mentions where found) I was wondering what it could be, site structure and other on page optimization factors seems to be ok and I don't think there will be exceptionally good or bad user behavior... Finally I looked at the competitors and found that they have more links, better content en better design, so I got a little stuck. The only reason I can think of is that he is doing 301 redirects (or is rel=canonical tags). Is there a way to trace these redirects back to the source in order to include this important variable in your competitor research? thnx
Intermediate & Advanced SEO | | djingel10 -
Pro's & Con's of registering your customers?
I know that making a user register will drop the the conversion rate. However, there are a lot of sites that still stand by making users register before you can purchase. I was wondering if they know something that I don't that would outweigh the loss of those conversions. What exactly are the Pro's & Con's of making your customers register before being able to purchase an item?
Intermediate & Advanced SEO | | HCGDiet0