• Resolved garbonzo

    (@garbonzo)


    Hi,

    How would I write a conditional if statement, that can detect what template page has been called?

    specifically, it’d be something like,
    if page is 404.php, then echo this:
    if page is category.php, then echo this:

    I’m gonna use it redirect when someone lands on my 404.php

    Thanks

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘trying to make my 404.php redirect to front page…’ is closed to new replies.