• Hello,

    I am trying to create a custom 404 page for WordPress. I copied my themes index.php file and renamed it 404.php for ease of administration I copied it to the sites root directory. When I run the 404.php I receive a insufficient permissions error. I changed my wp prefix for security purposes and I ran the meta key query as suggested on this forum. Furthermore, looking at the tables I noticed a couple of the tables were appended with a _11_

    My questions

    • 01 can I create a 404 page from the themes index.php file and run it in the site root
    • 02 is it alright that some tables are appended with _11_
    • 03 When I ran Better Security it crashed and left some of the tables with the wp_ appended should I leave them or should I delete them

    This is the link that I followed for fixing insufficient permission errors
    link

Viewing 5 replies - 1 through 5 (of 5 total)
  • Try reviewing creating a 404 error page.

    Thread Starter ryanparrish

    (@ryanparrish)

    Esmi,

    Thanks for the post

    that was the tut I was following when I run this custom 404 page it throws a insufficient privileges error

    Ryan

    How exactly have you been testing it this 404? By trying to navigate to a non-existent page such as https://your_domain/wibble/? Only you cannot access any theme template file directly.

    Thread Starter ryanparrish

    (@ryanparrish)

    Esmi,

    if I put in yofotografia.com/foo.bar

    I get a white screen this is my HTTP errors from my web.config file

    <httpErrors>
                <error statusCode="404" path="/wp-content/themes/superstore/404.php" responseMode="ExecuteURL" />
            </httpErrors>
    Thread Starter ryanparrish

    (@ryanparrish)

    Hello,

    I also tried to create a 302 redirect with <httpErrors> although, I get a redirect loop when I type in yofotografia.com/foo

    not sure what I broke or how I did it

    -Ryan

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Custom 404 Page’ is closed to new replies.