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


Well-known member
Affected version
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":

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

You may test it manually:

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.
Top Bottom