XF 2.1 How Can i add nofollow for all members pages xenforo 2.1

OguzhanM

Active member
Hi, How Can i add nofollow for all members pages? i dont want to get index members pages. i think bad indexs for domain.
 
I am using robot.txt to disallow user page and It working fine for me.

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

Sitemap: https://yourdomain.com/sitemap.xml
 
For what it's worth, I had noindex on member pages and also Disallow: /members/ in robots.txt

That resulted in member pages being indexed because Google was blocked by robots.txt and couldn't reach those pages to see that they had noindex tag. However it was following links to member pages from threads/posts so it was indexing them!

1611756626417.webp
 
Top Bottom