Support » Fixing WordPress » 404 error page doesn't work

  • Resolved bluegum

    (@bluegum)


    I have been trying to get my 404 error page to work, but I have had no luck. This is what I put in the .htaccess file: ErrorDocument 404 /404-2/. I have placed the same code from page.php into 404.php, does there need to be some special php code in 404.php? The page it goes at the moment is a complete mess and my 404 error page shouldn’t be like that, I have tested 404.php and it looks like it should be, but when I type in something that doesn’t exist on my website, it goes to the complete mess page. I have Yoast WordPress SEO installed. Could someone please how I can solve this problem? Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘404 error page doesn't work’ is closed to new replies.