WordPress.org

Support

Support » Themes and Templates » how does one go about accessing the 404.php file in themes?

how does one go about accessing the 404.php file in themes?

  • Alright, I’ve edited my .htaccess file to point toward my theme’s 404.php file, but I get an error:

    Fatal error: Call to undefined function: get_header() in (url-edited-for-security-reasons)/404.php on line 1

    What do I need to do to set up the error page to actually handle wrong links?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘how does one go about accessing the 404.php file in themes?’ is closed to new replies.
Skip to toolbar