Make s.Pagetype accessible in Processing Rules

Avatar

Avatar
Boost 5
Level 3
dberger
Level 3

Likes

23 likes

Total Posts

14 posts

Correct reply

0 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Applaud 5
View profile

Avatar
Boost 5
Level 3
dberger
Level 3

Likes

23 likes

Total Posts

14 posts

Correct reply

0 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Applaud 5
View profile
dberger
Level 3

27-11-2012

We use a singular code base across the site, rather than static tagging. Generally, we use Processing rules to help manage some exception handling.  the 404Error page is one such exception

 

In debugger, regardless of the bad URL, the page title is "page not found"

with s.pagetype available in Processing rules, we could create

 

IF Page Title is "page not found".

Overwrite value of s.pagetype="errorPage"