XF 2.2 Prevent the link suffix from appearing in archives on search engines

arabia2

Member
Prevent the link suffix from appearing in archives on search engines

See the picture
How do links appear in the search engine?
I don't want this to appear as a suffix
1700221688345.webp
Is there a solution to this problem
 
Robots.txt file might stop this. This is the robots.txt used be xenforo and as you can see posts are disallowed

Rich (BB code):
User-agent: PetalBot
User-agent: AspiegelBot
User-agent: AhrefsBot
User-agent: SemrushBot
User-agent: DotBot
User-agent: MauiBot
User-agent: MJ12bot
Disallow: /community/

User-agent: Amazonbot
Disallow: /community/threads/*/reply

User-agent: *
Disallow: /community/whats-new/
Disallow: /community/account/
Disallow: /community/attachments/
Disallow: /community/goto/
Disallow: /community/posts/
Disallow: /community/login/
Disallow: /community/search/
Disallow: /community/admin.php
Allow: /

Sitemap: https://xenforo.com/community/sitemap.xml[
 
Robots.txt file might stop this. This is the robots.txt used be xenforo and as you can see posts are disallowed

Rich (BB code):
User-agent: PetalBot
User-agent: AspiegelBot
User-agent: AhrefsBot
User-agent: SemrushBot
User-agent: DotBot
User-agent: MauiBot
User-agent: MJ12bot
Disallow: /community/

User-agent: Amazonbot
Disallow: /community/threads/*/reply

User-agent: *
Disallow: /community/whats-new/
Disallow: /community/account/
Disallow: /community/attachments/
Disallow: /community/goto/
Disallow: /community/posts/
Disallow: /community/login/
Disallow: /community/search/
Disallow: /community/admin.php
Allow: /

Sitemap: https://xenforo.com/community/sitemap.xml[
Thank you, my friend. I will work on the modifications you mentioned
 
Robots.txt file might stop this. This is the robots.txt used be xenforo and as you can see posts are disallowed

Rich (BB code):
User-agent: PetalBot
User-agent: AspiegelBot
User-agent: AhrefsBot
User-agent: SemrushBot
User-agent: DotBot
User-agent: MauiBot
User-agent: MJ12bot
Disallow: /community/

User-agent: Amazonbot
Disallow: /community/threads/*/reply

User-agent: *
Disallow: /community/whats-new/
Disallow: /community/account/
Disallow: /community/attachments/
Disallow: /community/goto/
Disallow: /community/posts/
Disallow: /community/login/
Disallow: /community/search/
Disallow: /community/admin.php
Allow: /

Sitemap: https://xenforo.com/community/sitemap.xml[
I reviewed Roberts' file

I found that I had actually prevented spiders from archiving this paragraph

So where is the problem?

See the picture

1700252504643.webp
 
Be aware doing this...
Code:
Disallow: /community/posts/

will have no effect on urls like...
/threads/168834/#post-518139

you would need to add this line to robots.txt...
Code:
Disallow: *#post-*
 
Top Bottom