Search found 1 match
- Wed Nov 22, 2017 7:24 pm
- Forum: General
- Topic: Prevent a theme page returning 404
- Replies: 6
- Views: 3205
Re: Prevent a theme page returning 404
Hi Jon, I did something similar, maybe that could help. - create a static Page called "category" with the slug "category" - change the code in the theme index.php to something like that if ($Url->whereAmI()=='page' AND $Page->title() == 'category') { include("yourfile.php&qu...