403 error | need help

  • Unknown's avatar

    Hi so a few months ago i have started creating a wordpress website hosted on DigitalOcean, but recently i have been unable to access it due to a 403 error
    iI have tried troubleshooting it with the digitalcean support team but we have come to no success so my last hope is here.

    Here are the following things we have tried:

    Renaming the .htaccess file
    Replacing the contents of the .htaccess file with the default contents
    Creating a new .htaccess file

    Note:
    Every time i have replaced the contents of the .htaccess file it got replaced by the following:

    <Files ~ “^.(htaccess|htpasswd)$”>
    deny from all
    </Files>
    order deny,allow
    allow from 127.0.0.1
    deny from all

    What can i do?

  • Unknown's avatar

    This support forum is for free sites hosted at WordPress.com. We don’t have access to .htaccess files etc. The people that do are found at: https://wordpress.org/support/

    WordPress.com vs. WordPress.org

  • The topic ‘403 error | need help’ is closed to new replies.