Setting the PageType Variable Correctly

The pageType variable is used only to designate a 404 (Page Not Found) error page.

It has only one possible value, which is 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:

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.