MyBB Community Forums
Archive mode disable - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: Archive mode disable (/thread-217221.html)



Archive mode disable - yosy7 - 2018-04-27

Hello, how can I deactivate the Archive mode to not appear in the google search?



something like this https://docs.mybb.com/assets/images/1.6/4/4c/Archive_thread.png


RE: Archive mode disable - labrocca - 2018-04-28

Do you want to remove the feature entirely or just disallow google from indexing it?


RE: Archive mode disable - yosy7 - 2018-04-28

that google does not index in archive mode


RE: Archive mode disable - SvePu - 2018-04-28

(2018-04-28, 11:28 AM)yosy7 Wrote: that google does not index in archive mode

You could disallow it in a robots.txt in forum root direction.

e.g.:
User-Agent: *
Disallow: /captcha.php
Disallow: /editpost.php
Disallow: /misc.php
Disallow: /modcp.php
Disallow: /moderation.php
Disallow: /newreply.php
Disallow: /newthread.php
Disallow: /online.php
Disallow: /printthread.php
Disallow: /private.php
Disallow: /ratethread.php
Disallow: /report.php
Disallow: /reputation.php
Disallow: /search.php
Disallow: /sendthread.php
Disallow: /task.php
Disallow: /usercp.php
Disallow: /usercp2.php
Disallow: /calendar.php
Disallow: /archive/*
Disallow: /*action=emailuser*
Disallow: /*action=nextnewest*
Disallow: /*action=nextoldest*
Disallow: /*year=*
Disallow: /*action=weekview*
Disallow: /*action=nextnewest*
Disallow: /*action=nextoldest*
Disallow: /*action=favoriteposts_add*
Disallow: /*sort=*
Disallow: /*order=*
Disallow: /*mode=*
Disallow: /*datecut=*
Allow: /