Skip to main content

Forbidden - Wordpress

Comments

8 comments

  • cPRex Jurassic Moderator
    Hey there! A 403 error is usually almost always related to permissions on the files or directories. Although the setup-config.php file may have the correct permisisons and ownership, it is possible that wp-admin doesn't. Can you ensure that directory is owned by the cPanel username and has 755 permissions?
    0
  • fearlest
    Yes, the wp-admin folder has permission 755.
    0
  • cPRex Jurassic Moderator
    Can you let me know what you see in the Apache error log? If you don't have access to those logs, you'll need to contact your hosting provider or datacenter to have them examine the issue.
    0
  • fearlest
    Yes, during tomorrow. Thank you!
    0
  • fearlest
    The problem only occurs with wordpress. If I put a completely different .php file on the hosting, it works perfectly..
    0
  • fearlest
    And the log...:
    0
  • cPRex Jurassic Moderator
    If the permissions and ownership on the WordPress files are normal, I don't have a good explanation for why that is happening. It would be best to have your host check the settings on the system to see why that is happening as your troubleshooting will be more limited without root access.
    0
  • anton_latvia
    there can be various reasons. Don't think issue is with "wordpress" itself. Can be bad permission/owner on PHP files, on folder. There can be some rules or issues with lines .htaccess. the problem can be trivial, but you need to give more details - like list of files with username and group, info about .htaccess files and so on. It's not cPanel related.
    0

Please sign in to leave a comment.