Advertisement

Upgrading Wordpress followed by 403 Forbidden Error

KhaledAtya
KhaledAtya

Hello,

I was manually upgrading Wordpress using FTP and after I was done I got this messages.

403 Forbidden
The website's configuration prevents you from accessing this page

The only thing I did outside of the Wordpress folder is that I, by mistake, changed the .htaccess file name thinking it was that of Wordpress and then I returned it again. Could this be the issue or is there another possibility?

Comments

  • Admin
    Admin

    I have checked your current .htaccess file, but there are lines in it which prevent access to all pages on your website.

    Specifically these rules are causing the problem:

     Apache 2.2
    <IfModule !mod_authz_core.c>
        Order Deny,Allow
        Deny from all
    </IfModule>
    
    # Apache 2.4
    <IfModule mod_authz_core.c>
        Require all denied
    </IfModule>
    

    The default Wordpress rules are missing as well.

    Could you try merging both .htaccess files you have now? That might solve the issue. If not, you could delete the section above from the file instead.

  • KhaledAtya
    KhaledAtya

    Thanks that did help to make my website run again. But I guess I will have to create a new cleaned copy as the automatic wordpress upgrade fail caused problems to the files of the website and the front-end and back-end are neither displays as they should. Thanks again for the fast reply :)

Sign In or Register to comment.

Welcome

It looks like you're new here. If you want to get involved, click one of these buttons!

Discussions

Advertisement

Advertisement

Copyright © InfinityFree 2017
Powered by Vanilla Forums