Resource, How disable History tab for Guest?

juabo10

Well-known member
Registered
Joined
Aug 20, 2020
Messages
72
Points
28

Reputation:

Hello,

I would like to know how I can disable the history tab of the resources section for guests.
This is detrimental to SEO so it is important to do so.

Regards!
 

dwinchester

Well-known member
Registered
Joined
Aug 12, 2020
Messages
188
Points
38

Reputation:

Hello,

I would like to know how I can disable the history tab of the resources section for guests.
This is detrimental to SEO so it is important to do so.

Regards!
juabo10What do you mean by history tab?
 

juabo10

Well-known member
Registered
Joined
Aug 20, 2020
Messages
72
Points
28

Reputation:

What do you mean by history tab?
dwinchesterI mean this:
imagen.png
 

juabo10

Well-known member
Registered
Joined
Aug 20, 2020
Messages
72
Points
28

Reputation:

Come to think of it, can history tab be disabled in robots.txt ?
The same for the "Updates" tab

Do you think it's a good idea?

Like this
Code:
User-agent: *
Disallow: /updates
Disallow: /history
Disallow: /whats-new/
Disallow: /account/
Disallow: /members/
Disallow: /attachments/
Disallow: /goto/
Disallow: /help/
Disallow: /posts/
Disallow: /login/
Disallow: /search/
Disallow: /admin.php
Allow: /

Sitemap: https://mysite.com/sitemap.xml
 
Last edited:

dwinchester

Well-known member
Registered
Joined
Aug 12, 2020
Messages
188
Points
38

Reputation:

Come to think of it, can history tab be disabled in robots.txt ?
The same for the "Updates" tab

Do you think it's a good idea?

Like this
Code:
User-agent: *
Disallow: /updates
Disallow: /history
Disallow: /whats-new/
Disallow: /account/
Disallow: /members/
Disallow: /attachments/
Disallow: /goto/
Disallow: /help/
Disallow: /posts/
Disallow: /login/
Disallow: /search/
Disallow: /admin.php
Allow: /

Sitemap: https://mysite.com/sitemap.xml
juabo10im not sure, depends on what you want to show or no, but yeah that might work
 

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,519
Points
523

Reputation:

im not sure, depends on what you want to show or no, but yeah that might work
dwinchestervia robots.txt it is not a good idea, because this will only be used to protect crawling and not all search engines understand all the rules in there or do not want to understand them. It is just a text file Robots Exclusion Standard

this will not protect the site from users who access the link, anyway you want to hide it just for guests, I guess all other logged in users should be able to access that, right?

The AndyB addon could be used to limit the access to prevent downloading older versions of these resources, but this will prevent for all users except the admin.
 
Top