Discover Centmin Mod today
Register Now

Wordpress After Theme Install WPs are Down

Discussion in 'Blogs & CMS usage' started by iekamburoglu, Jun 22, 2018.

  1. iekamburoglu

    iekamburoglu New Member

    Apr 27, 2018
    Local Time:
    5:42 PM

    I am using 2 worpdress sites in the same host. After installed a theme sites are gone and wont go back, I have deleted theme folder. And other website is also wont open.

    Sites are: (Theme isntalled to this site.)

    Thank you.
  2. eva2000

    eva2000 Administrator Staff Member

    May 24, 2014
    Brisbane, Australia
    Local Time:
    12:42 AM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    Could be some theme elements being blocked. Centmin Mod values security and puts additional measures in place so that end users are also mindful of security. So in your case, you might need to whitelist or unblock the WP plugins related to your 403 permission denied messages.

    If you used menu option 22 auto installer Wordpress Nginx Auto Installer, the default wpsecure conf file at /usr/local/nginx/conf/wpincludes/${vhostname}/wpsecure_${vhostname}.conf where vhostname is your domain name, blocks php scripts from executing in wp-content for security

    Below links you can see examples of setting up specific wordpress location matches to punch a hole in the wpsecure blocking to whitelist specific php files that need to be able to run.
    If on Centmin Mod 123.09beta01, you may have ran into the new tools/ cronjob feature outlined at Beta Branch - - apache .htaccess check & migration to nginx deny all | Centmin Mod Community You uploaded scripts may have .htaccess deny from all type files in their directories which may need bypassing autoprotect. It's a security feature that no other nginx based stack has as far as I know :)

    So instead, all .htaccess 'deny from all' detected directories now get auto generated Nginx equivalent location match and deny all setups except if you want to manually bypass the directory from auto protection via a .autoprotect-bypass file - details below here.

    You can read a few threads below on how may have caught some folks web apps falsely and the workarounds or improvements made to with the help of users feedback and troubleshooting.