Mobile app version of vmapp.org
Login or Join
Hamaas447

: Google Doesn't Obey Canonical meta-tag for cross-domain I'm working on a website that's normally accessed trough a load-balance. But we also have direct URL to each server. Lately, Google started

@Hamaas447

Posted in: #Google #GoogleSearchConsole #MultipleDomains #Search

I'm working on a website that's normally accessed trough a load-balance. But we also have direct URL to each server.

Lately, Google started to index the direct URLs to our servers, which is bad because we don't want our user to go directly to each server (if some server is taken down for maintenance).

We've correct canonical link tags pointing to the load-balance URL. All links in the sitemap.xml point to the load-balance URL. So we have no idea how Google got a hand on the direct server URLs.

To be extra clear:
Our load-balance is foo.com. All the links on the site use this URL. So does the sitemap and canonical-tags.

But Google still indexes foo.server01.webhost.com and foo.server02.webhost.com

We cannot add 301-redirects from foo.server**.webhost.com to foo.com due to various reasons.

Do I have to verify that I own all the URLs in Google Search Console? Or am I missing out some other settings?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Hamaas447

1 Comments

Sorted by latest first Latest Oldest Best

 

@LarsenBagley505

...Lately, Google started to index the direct URLs to our servers, which is bad...


Remove the link tag with rel="canonical" in it and place the following tag between <head> and </head> of the HTML:

<meta name="ROBOTS" content="NOINDEX">


This will tell all search engines not to index the page. This should work with all search engines as some might not even understand and/or process rel=canonical. Then after saving the changes, give the search engines a few hours to a few weeks to process your request.

There's more information here: www.metatags.org/meta_name_robots

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme