Fixed Controller XF:Tag may return 200 if tagged content doesn't exists

Kruzya

Well-known member
Affected version
2.2.11
As written in title.
If user can't see any tagged content, controller continue returns 200, but with text No results found.

For example, in internal node for staff I have single thread with tag "punishments":
1669670284814.webp

If i try view this page as guest, I receive 200 status, but without results:
1669670338973.webp

You may test it manually: https://hlmod.ru/tags/punishments/

Also this may be as result in error in Google SEO control panel "duplicate pages" with empty pages /tags/a/ and /tags/b/, but Google Robot just can't view tagged content.
 
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.2.12).

Change log:
Return a HTTP 404 error code when trying to view a tag with no viewable content
There may be a delay before changes are rolled out to the XenForo Community.
 
Back
Top Bottom