Show Menu
TOPICS×

Setting the PageType variable incorrectly

The pageType variable is used only to designate a 404 (Page Not Found) error page.
It has only one possible value, which is errorPage.
pageType="errorPage"

On a 404 error page, the pageName variable should not be populated. The pageType variable should be set only on a designated 404 error page. Any page containing content should never have a value in the pageType variable. For pages containing content, you can set the variable as shown below:
pageType=""

It is best to delete the variable completely from pages containing content. This practice is recommended to avoid confusion regarding the purpose of the variable.