PAGE Methods

robots()

The robots meta tag is set for each domain individually in the backend's domain setup. It can also be changed for each page in the backend's content settings. This method allows you to rewrite the meta tag dynamically.

string robots([ string set ])

Return

Current robots setting

Parameter
Description
setRewrite robots setting

Set robots meta tag

$PAGE->robots("all")
RETURN: 'all'