XF 2.1 Add the froum number on the thread URL

aana

Active member
hello,

i would likte to cancel the crawl of threads are in forum X, i am using robots.txt to do so.
The actual thread URL is:
Code:
/threads/does-xf-expose-metrics.164680/

Would it be possible to add the forum number after the "threads", like this by exemple :
Code:
/threads.25/does-xf-expose-metrics.164680/

or somewhere else in the url
 
just curious. you want to keep this forum publicly open but not to search engines? because a more logical choice would be to make this forum private. visible to logged in users. that would block it from search engines.

also i assume you would have better luck using noindex meta tag using a conditional statement like this?

Code:
<xf:if is="$forum.node_id == x">
<meta name="robots" content="noindex, nofollow">
</xf:if>
 
Back
Top Bottom