WordPress.org

Ready to get started?Download WordPress

Forums

No resolution for 404 admin errors (1 post)

  1. luckygirrl
    Member
    Posted 1 year ago #

    I have researched through forums for a solution and have had no luck.

    The problem is that when trying to update a post or page it redirects to the 404 error page.

    I initially took care of this issue by adding the below code to my htaccess file. This solved the problem and suddenly today after working for hours with no issue it started happening again.

    Could this be a server issue that I am unaware of? I just need to know the right direction to go in as this site is for a client and is currently live and constantly updated. Your help is VERY appreciated!

    # BEGIN WordPress

    <IfModule mod_rewrite.c>
    ErrorDocument 404 /index.php?error=404
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    # BEGIN 404 Fix

    <IfModule mod_env.c>
    SetEnv MODSEC_ENABLE Off
    PassEnv MODSEC_ENABLE
    </IfModule>

    #END 404 Fix

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags