Disable SELINUX permanently

Disabling SELinux is necessary to run many of applications and services such as webservers and etc. The easiest way to disable SELinux is the famous command of “setenforce 0”. while this command disables SELinux fast but it does not provide a permanent solution. To disable SELinux Permanently you need to make changes to “/etc/selinux/config” file.… Continue reading Disable SELINUX permanently

Published
Categorized as Technology

Exclude Folder from Rewrite rule in WordPress

It’s annoying that you cannot create folders in your wordpress website and access them directly,  it’s very easy to exlude your folders by editing the .htaccess file. simply use following line of code in your .htaccess and exclude your desired folder: RewriteCond %{REQUEST_URI} !(FOLDERNAME) [NC]