XF 2.1 Post quote URLs

smozgur

Well-known member
When a user quoted a post, the link that leads to the quoted post is using the following URL:

1575779094498.png

This is causing "Indexed, though blocked by robots.txt" errors in Google Search Console since we block /community/goto/ route in robots.txt as it is used in XenForo website robots.txt file.
1575779269455.png

Isn't this link supposed to be using /community/index.php/post/ID URL template instead?

If not, as design, is it proper way if I create a template modification to avoid this problem which would be thousands of same errors in the Google Search Console.

Or, since /goto/ route is also using the canonical URL, why do we need this robots.txt blockage for /goto/ route?

Thanks.
 
It uses JS to protect against post number shuffling or changing # of posts per page etc.

I see. It scrolls up if the post in the same page with that route. That makes sense.

Actually Google also cleared up all warnings in two months, and I am still keeping the original robots.txt.

Thank you.
 
Back
Top Bottom