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
-
Is it worth keeping a decades-old domain that's merely 301 redirecting to the main domain?
Hi fellow Moz SEOs, We have a bigger client who we just did an SEO Site Audit for, and it was discovered that they have several domain names that are simply 301 redirecting to their main domain name. One of their domains in particular is decades old, and the client is asking if there is any value in keeping it (and the others), or simply leaving them as-is. Considering the domain age, does anyone have any recommendations? Much appreciated, Zack Barton
Intermediate & Advanced SEO | | Zack
Barton Interactive
(833) 442.6853 // office
(408) 910.7750 // mobile
https://bartoninteractive.com0 -
After hack and remediation, thousands of URL's still appearing as 'Valid' in google search console. How to remedy?
I'm working on a site that was hacked in March 2019 and in the process, nearly 900,000 spam links were generated and indexed. After remediation of the hack in April 2019, the spammy URLs began dropping out of the index until last week, when Search Console showed around 8,000 as "Indexed, not submitted in sitemap" but listed as "Valid" in the coverage report and many of them are still hack-related URLs that are listed as being indexed in March 2019, despite the fact that clicking on them leads to a 404. As of this Saturday, the number jumped up to 18,000, but I have no way of finding out using the search console reports why the jump happened or what are the new URLs that were added, the only sort mechanism is last crawled and they don't show up there. How long can I expect it to take for these remaining urls to also be removed from the index? Is there any way to expedite the process? I've submitted a 'new' sitemap several times, which (so far) has not helped. Is there any way to see inside the new GSC view why/how the number of valid URLs in the indexed doubled over one weekend?
Intermediate & Advanced SEO | | rickyporco0 -
How does educational organization schema interact with Google's knowledge graph?
Hi there! I was just wondering if the granular options of the Organization schema, like Educational Organization (http://schema.org/EducationalOrganization) and CollegeOrUniversity (http://schema.org/CollegeOrUniversity) schema work the same when it comes to pulling data into the knowledge graph. I've typically always used the Organization schema for customers but was wondering if there are any drawbacks for going deep into the hierarchy of schema. Cheers 😄
Intermediate & Advanced SEO | | Corbec8880 -
Domain switch planned - new domain accessible - until the switch: redirect from new to old domain with 307?
Hi there, We are going to switch our local domain oldsite.at to newsite.com in November. As our IT department wants to use the newsite.com already for email traffic till then, the domain newsite.com has to be accessible for public and currently shows the default Apache page without useful content. The old domain has quite some trust, the new domain is a first time registered domain (not known by search engines yet and no published anyhow). The domain was parked till now. I am aware of the steps to take for the switch itself, but: **what to do with the newsite.com domain until everything is prepared for the switch? **I suppose users or search engines find the domain and as there is no useful information available it harms us already. My idea was to 307 redirect newsite.com to the oldsite.at but the concern is that this causes problems as soon as we switch the domain and redirecting with 301 from oldsite.at to newsite.com? Do you have any objections or other recommendations? Thank you a lot in advance.
Intermediate & Advanced SEO | | comicron0 -
Our client's web property recently switched over to secure pages (https) however there non secure pages (http) are still being indexed in Google. Should we request in GWMT to have the non secure pages deindexed?
Our client recently switched over to https via new SSL. They have also implemented rel canonicals for most of their internal webpages (that point to the https). However many of their non secure webpages are still being indexed by Google. We have access to their GWMT for both the secure and non secure pages.
Intermediate & Advanced SEO | | RosemaryB
Should we just let Google figure out what to do with the non secure pages? We would like to setup 301 redirects from the old non secure pages to the new secure pages, but were not sure if this is going to happen. We thought about requesting in GWMT for Google to remove the non secure pages. However we felt this was pretty drastic. Any recommendations would be much appreciated.0 -
SEO connectivity between domains and sub-domains
Hi, My web site georgerossphotography.com and my ecommerce site store.georgerossphotography.com each reside on different servers. georgerossphotography.com has a domain authority of 30 store.georgerossphotography.com has a domain authority of 30 Clearly, they are considered two individual sites but is there any way that I can boost the performance of the primary domain by passing along some for that good SEO juice from the sub-domain? Any input would be gratefully received. Regards,
Intermediate & Advanced SEO | | sirgeorge0 -
How much risk would there be with this 'repeating of a sentence' situation?
Hello, A business owner and design decision was made on a published article page to have a summary sentence/paragraph placed prominently with a unique font treatment in the article header along with the article's main imagery. Historical content that does not have this summary migrated with "the first sentence of the article" used for this introduction/summary sentence/paragraph. In both cases, where there is a unique summary and where the first sentence is used, the article text normally begins below a graphical element below the summary element. Thus, when the first sentence was used for the summary, the first sentence will repeat, relatively close together on each page where this happens. The question is: How much risk would i be taking on in allowing the first sentence of these articles to get repeated in close proximity on the page. I wanted to get some other perspectives on this unique situation. Thanks,
Intermediate & Advanced SEO | | JennyTTGT0 -
What are the different tactics for getting ranked/ included in Google finance searches such as http://www.google.com/finance/company_news?q=NASDAQ:ADBE
I don't know what ranking factors they are using for this feed. The results vary greatly from a search done at google.com or google.com/news and google.com/finance I'm working with a website that regularly publishes finance-related news and currently gets traffic from google finance. I'm wondering what we can do to optimize our news articles to possibly show more prominently or more often. Thanks
Intermediate & Advanced SEO | | joemascaro0