Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google indexing matomo #15273

Closed
MESWEB opened this issue Dec 15, 2019 · 4 comments
Closed

Google indexing matomo #15273

MESWEB opened this issue Dec 15, 2019 · 4 comments

Comments

@MESWEB
Copy link

MESWEB commented Dec 15, 2019

Google all the time indexing matomo. I have website and matomo is installed into subdomain of main domain. What values should be in robot.txt?

@tsteur
Copy link
Member

tsteur commented Dec 15, 2019

Hi there, I recommend you search for robots.txt and disallow search engine crawling or similar in your favourite search engine. If you are using a somewhat recent version of Matomo, we also disallow Matomo being indexes through Meta tags

@tsteur tsteur closed this as completed Dec 15, 2019
@MESWEB
Copy link
Author

MESWEB commented Dec 15, 2019

Yes I know that but how should this file looks like?
Matomo domain is subdomain.example.com
So in robot txt I should att this?:

User-agent: *
Disallow: subdomain.example.com

And where this file should be placed? In main domain or matomo subdomain?

@Findus23
Copy link
Member

@MESWEB I'd recommend you to make sure you are using the latest Matomo version as it contains a line like this

<meta name="robots" content="noindex,nofollow">

that tells search engines to not index this page.

@MESWEB
Copy link
Author

MESWEB commented Dec 15, 2019

@Findus23 Yes I do. I have Matomo 3.13.0

This line is visible on login page but google all the time index this subdomain.
I was reading somewhere about google indexing and someone says:
Google is indexing even if content nofollow and noindex is added to html code because some website can link to this url. So he's recommend using robot.txt file.
https://support.google.com/webmasters/thread/12775313?hl=en

mattab added a commit that referenced this issue Nov 25, 2020
According to one user, this has helped worked around the issues with the google ads submission. 
Similar to #6552 #15273 but as a robots.txt file as well as the meta tags.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants