Tech Home The Bacon

Cowboy IT | Read Only Fridays | YOLO Reboots

Category: WordPress

CentOS 7 – WordPress Permissions Cheatsheet

Before Updating – Fix Permissions

Here is the cheatsheet I use to set permissions and SElinux before I update the site. These commands assume your wordpress root directory is /var/www/html.

#Apache Needs To Own The Files
sudo chown apache:apache -R /var/www/html/

#Set wordpress directory permissions
find /var/www/html -type d -exec chmod 755 {} \;

#Set wordpress file permissions
find /var/www/html -type f -exec chmod 644 {} \;

#SELinux - Set Directories To Be Writable
sudo chcon -t httpd_sys_rw_content_t /var/www/html/ -R
Continue reading

Roundup: Solutions for WordPress 5.0 Upgrade Causing 500 Server Errors

After updating my WordPress blog to 5.0 everything looked like it was working, until I went to add a new post, then I got the internal server error. My issue turned out to be a plugin that was not compatible with the new Gutenberg editor.

In this roundup, I’m going to list the solutions people are trying from easy to hard. Starting with permalinks.

Continue reading

© 2020 Tech Home The Bacon

Theme by Anders NorenUp ↑