Divi WordPress Theme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Reply To: wp-admin files has no permissions

Discussion in 'Misc WordPress Requests' started by siritinga, Jan 7, 2018.

  1. siritinga


    Reply To: wp-admin files has no permissions, by siritinga

    Sorry for the delay, it’s been some holidays here and I was talking to my friend about the issue. It seems that he did more things before the problem appeared.

    The VPS has a ngix proxy configured and a Apache server behind. The ngix originally had only HTTP and he added HTTPS to it. After that, he added a WordPress plugin to redirect every HTTP request to HTTPS.

    After that, there was a problem with the site being unavailable for any visitor, as there was some infinite redirection involved. To solve that, in wp-config.txt he added the following:

    define(‘WP_HOME’,’http://<url of the site>’);
    define(‘WP_SITEURL’,’http://<url of the site>’);

    Adding those lines solved the redirection issue but then he noticed that the admin URLs were unavailable. He is not sure at which point the admin URL became unavailable (maybe it was before the last steps).

    The list of installed plugins (before I renamed the plugins directory to disable them) is:


    I’m not sure if any of those plugins can modify WordPress itself, .htaccess or the database in a way that breaks the admin privileges. I already tried to update WordPress manually (overwriting or replacing the files as described in the manual upgrade page) and the .htaccess.

    I can access the logs in /var/log/httpd/domains but I don’t see anything suspicious.

    I also set the file permissions to 0644 and directories to 0755. Ownership is admin.admin, the same user/group of the www server.

    Is there anything else I can check?

    Thank you.

    Reply To: wp-admin files has no permissions

Share This Page

Monarch Social Sharing Plugin