MyBB Community Forums

Full Version: Why is Google showing threads in printthread?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Very odd.. some posts of mine show in google search engine, but it will show the printthread.php link instead of the showthread.php which is actually really annoying to see..

[img]data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUEAAAAzCAYAAAAJk7pPAAAX20lEQVR4Ae2dC1RVVf7HP2oOlM0V/46IMVKoNd10mFAz0MkESxNTh0dM5lg+yMfAmBNMOeEjHbScZI01sIqCtMw0QklTLEdBLaFBATMeq3zgQCRdc3iUem8Onv/a59zHuXDv5ZkWnLPWXeyz9/499nfv/Tu/396HfbpJkiShXRoCGgIaAl0Uge5dtN1aszUENAQ0BGQENCOoDQQNAQ2BLo2AZgS7dPdrjdcQ0BC4rqtA0K1bt67S1KvSTm0p+arArAm5CghonuBVAFkToSGgIfDjRaCVRrCQ1fPn8Hb1j7dBmmY/VgRMlB8vpPxix+mX9+ogwnef6ziGreJ0jrdXDGJ1UauIzJWv4jy6co6yIyXUXnGm51XUxZkK1zi/lUawOW2VgWE3MIvW0G3+GvKaI21nefm7U+wmhDF3BQNeLWwnV4284xAoYfurM0g8Ut8ilsLAdbPrPwdjq0WcOmGl+kKS10xg0PxBdIuZQNTbJRgtzWw8377JI/H1P7P5tKVC+/4aT6YTt+ROusmyI4jZppINlO9bweRFerl8UOxCEo/YP6TkfhW0qp+dvWifem2i7hxrgldK2J77S2Ys72cGoZ6sAweIm7qyTaBoRD8EAsOJTSr7IRh3MZ71ZKXMYHPvl9n/wnD6fPMB0S9EkDDoGAkBbk2x8JxK6stTm+a3JafmQ+ISUxnw2CGkAB3U5LE6IYK4X/ybpHt1UJxM+LZK4pYcY/fNbtR+soaQ1OX4DnmZsD5CoIlLJpg79SDr7ult08BNZ0tfg1SbPMFLZ3aanwZ67liZSpEIcarTCZ9/NzOqYfvOu+m2Ip1d4mn+SiqQyuj55tBBrreGt3NWMDlGPBHuZPKrB+zcdWNxKlGxytNGPE2Sj1u8h0IS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Xgu4v4/F4E+1nMg6We+q87Y+L8CTlVxkSxO6zP5/Adt/FUK7xAwc0lTsCwCZ64JRXgPa+lm0pqHdXpwcxPFxs+BQToMvCffJLaxYE8PdbiqUPIKNg4IxPv/zvEqjovkmL0rj1B99tYlH47PpkKT++AIo4OHsgw199ZVyvlNO0ZGsSbD33Penn87GDqy1cYc7+rr9EqrDwjAtk5vJZHB2biPfIgBf37EuJUig9jQntiGO3JGHMobDhUQtS6E82G3U5ZagU/aQR+EidLi1cbXhk8VrXD2BrMhZdnCa/EqxaH+GKBo5CrNTy1uj9lBCo27uBvNwa2cTz9lFuu6e4IgQ71BB0JuLZ5FWwM38OWUhHqNFCfV8KG3F7cdZvFKF5b7TTp1wCB8yVsSf0ZoUHOtr6ugU6ayGuKQCc3gj5Mf86TE8v24q3LZOJSI2HbxhIsvjOrXV0OAUPmLrwDTmKK9ydEGwNdrv+dNfgnEQ47U17L1xDQENAQaC8CndwTbC88Gr2GgIZAZ0dAM4KdvYe19mkIaAi4REAzgi7h0Qo1BDQEOjsCmhHs7D2stU9DQEPAJQKaEXQJj1aoIaAh0NkR0IxgZ+9hrX0aAhoCLhHoOkbweBoPxX/Qun+NOvcB8Q+lmc+fc4njtStsS7s6WFvDnngeek05pa+trAWPePP5gK3hUfzaQ87pGi5Qdaa5M2iAVvSz4UwVFyxn49opWkxaa8ZKK2TaibkGNx3Rvx2ltlNd2jEPtPcEO6p3ND4aAhoCP0kEuo4n+JPsHk1pDQENgR8agf8HibVk7QOX9VgAAAAASUVORK5CYII=[/img]

How can I fix this?

EDIT: That IMG tags is a bug with MyBB, I did not do that... anyways: https://i.gyazo.com/a01cd0c6396af7b26865...cdef85.png
In your Robots.txt, add a rule to disallow printthread.php.
Google bot is lazy: the printthread page is simpliest to read (for it) than a forum page.
(2019-08-05, 06:25 AM)Crazycat Wrote: [ -> ]In your Robots.txt, add a rule to disallow printthread.php.
Google bot is lazy: the printthread page is simpliest to read (for it) than a forum page.

Sorry I am not very well with that. Can you help me with the right rule to add?
That does make sense
Ok, so add (if doesn't exists) a file robots.txt in your forum root, and put in this file:
User-agent: *
Disallow: /printthread.php*
This will say to all spiders to not read the printthread.php page. Googlebot usually follow the robots.txt directives, you'll have to be patient and wait for an unindexation of your pages.

Note that you can specify a particular User-agent if you want to apply rules to only one spider.
Have a look @ https://www.robotstxt.org/robotstxt.html if you want to understand more things about this file and what you can do with it.
(2019-08-05, 07:18 AM)Crazycat Wrote: [ -> ]Ok, so add (if doesn't exists) a file robots.txt in your forum root, and put in this file:
User-agent: *
Disallow: /printthread.php*
This will say to all spiders to not read the printthread.php page. Googlebot usually follow the robots.txt directives, you'll have to be patient and wait for an unindexation of your pages.

Note that you can specify a particular User-agent if you want to apply rules to only one spider.
Have a look @ https://www.robotstxt.org/robotstxt.html if you want to understand more things about this file and what you can do with it.

Thank you very much! I have done this and I feel confident it will work as well. Thanks again
Adding disallow won't result in "unindexation". It will only result in bots being blocked from crawling those URLs.
The only way to remove the content from the index, is to add meta noindex to the printthread template. And you have to remove the disallow directive.
(2019-08-05, 07:34 AM)Ashley1 Wrote: [ -> ]Adding disallow won't result in "unindexation". It will only result in bots being blocked from crawling those URLs.
The only way to remove the content from the index, is to add meta noindex to the printthread template. And you have to remove the disallow directive.

This method is preferred over robots.txt?

So I would just add:
<meta name="robots" content="noindex">

Under <head> tags?
In the printthread template, yes.
And this method is not preferred, you can use the 2.
The disallow directive in robots.txt says robots to not go on the page, the meta noindex says them to not index the page.

(2019-08-05, 07:34 AM)Ashley1 Wrote: [ -> ]Adding disallow won't result in "unindexation". It will only result in bots being blocked from crawling those URLs.
The only way to remove the content from the index, is to add meta noindex to the printthread template. And you have to remove the disallow directive.
They will unindex: the page "doesn't exists anymore" (for crawlers) so they will remove it.
(2019-08-05, 07:44 AM)Crazycat Wrote: [ -> ]In the printthread template, yes.
And this method is not preferred, you can use the 2.
The disallow directive in robots.txt says robots to not go on the page, the meta noindex says them to not index the page.

(2019-08-05, 07:34 AM)Ashley1 Wrote: [ -> ]Adding disallow won't result in "unindexation". It will only result in bots being blocked from crawling those URLs.
The only way to remove the content from the index, is to add meta noindex to the printthread template. And you have to remove the disallow directive.
They will unindex: the page "doesn't exists anymore" (for crawlers) so they will remove it.

Not true. If you use disallow in robots, the URLs will stay in the index indefinitely.

As i said above the only way to remove URLs from the index, is to use meta noindex, or alternatively set a 301 redirect.
(2019-08-05, 08:02 AM)Ashley1 Wrote: [ -> ]
(2019-08-05, 07:44 AM)Crazycat Wrote: [ -> ]In the printthread template, yes.
And this method is not preferred, you can use the 2.
The disallow directive in robots.txt says robots to not go on the page, the meta noindex says them to not index the page.

(2019-08-05, 07:34 AM)Ashley1 Wrote: [ -> ]Adding disallow won't result in "unindexation". It will only result in bots being blocked from crawling those URLs.
The only way to remove the content from the index, is to add meta noindex to the printthread template. And you have to remove the disallow directive.
They will unindex: the page "doesn't exists anymore" (for crawlers) so they will remove it.

Not true. If you use disallow in robots, the URLs will stay in the index indefinitely.

As i said above the only way to remove URLs from the index, is to use meta noindex, or alternatively set a 301 redirect.

Well, if I were to do the templates way, does that mean Google will then only crawl showthread URLs? I have some posts that are on Google ranked on the first page, but they are in printthread.php templates. I understand it may be lost, but is it possible to simply convert all printthread.php links to their proper Google SEO url / showthread.php url?
Pages: 1 2