'Design pattern for directing user

I have quite large website for incident analysis. Now the owner wants to make a smaller analys tool with parts of the old tool to make it simpler for smaller incidents/events. If I look how the site is constructed now everypage would need to have a lot of if statments to check if this page or method should be needed. It feels that somekind of designpattern or combined would make this pages less messy and more simplified. Simplified steps of an analysis

Any ideas or suggestions would be deeply appricated



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source