Fixed Template page_view is missing search engine indexation control

Affected version
2.2 Beta 1

Kirby

Well-known member
This is somewhere in between a bug report and a feature suggestion, but as all other templates for AbstractNode childs seem to implement this I feel this could be a bug:

Template page_view is missing smth. like
HTML:
<xf:if is="!$page.isSearchEngineIndexable()">
    <xf:head option="metaNoindex"><meta name="robots" content="noindex" /></xf:head>
</xf:if>

to allow for method isSearchEngineIndexable being overridding and having the desired effect (without an additional template modification).

Or maybe even better: https://xenforo.com/community/threads/formal-interface-for-search-engine-index-control.183315/
 

XF Bug Bot

XenForo bug fixer bot
Staff member
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.0 Beta 2).

Change log:
Add template support to handle overriding whether a page or not can be indexed
There may be a delay before changes are rolled out to the XenForo Community.
 
Top