php - Wordpress 500 internal server error after changing permission -


i changed directory permission 755. after wordpress home page goes blank , network shows 500 internal server error. admin panel working fine. wp-admin goes admin panel , post edits can made. front end fails load.

in cpanel, files permission should 0644 , folder permission should 0755. getting error because index.php permission 0755. set correct permissions need use these commands:

chown www-data:www-data -r *          # let apache owner find . -type d -exec chmod 755 {} \;  # change directory permissions rwxr-xr-x find . -type f -exec chmod 644 {} \;  # change file permissions rw-r--r-- 

you can visit this if want explore more .


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -