XF 2.2 How to add "noindex" on links in widgets?

henriksan

Member
The links in some widgets (Latest Post...) have the "/post-" included in the url. So Google can index the same page twice. I have seen threads on my site been indexed 2-3 times by Google. For example:

site.x/abc/thread.15300/
site.x/abc/thread.15300/latest
site.x/abc/thread.15300/post-154670

How can i set these internal links (widget) as nofollow?

Thanks!
 

henriksan

Member
Top