Posts

Apache

Post

Setting WordPress File/Folder Permissions in Linux Terminal

To set the WordPress file and folder permissions in Linux terminal: Go to the WordPress directory: cd /path/to/wordpress/ Change all directories to 755: sudo find . -type d -exec chmod 0755 {} \; Change all files to 644: sudo find . -type f -exec chmod 0644 {} \;

Read more >>

Post

Common htaccess redirects

List of some basic htaccess redirect rules

Read more >>

Post

Apache 2 Basic Terminal Commands

Debian & Apache 2 Start/Stop/Status sudo service apache2 start sudo service apache2 stop sudo service apache2 status New vhost sites sudo a2ensite local.newsite.com or sudo a2ensite local.newsite.com.conf add a new local site – afterwards run sudo service apache2 reload sudo service apache2 reload reload apache CentOS Start/Stop/Status sudo /etc/init.d/httpd start sudo /etc/init.d/httpd stop sudo /etc/init.d/httpd restart sudo /etc/init.d/httpd status

Read more >>