Sometimes you may need to block visitors by referrer values. Here is how to block referrer spam with .htaccess in Apache server.
Apache
How to Redirect with Query String in Apache
How to Check if Cookie is Set in Apache Server
Sometimes you may need to check if a cookie set in user request and take actions based on cookie value. Here is how to check if cookie is set in Apache server.
How to Redirect in Apache based on Cookie
Sometimes you may need to redirect requests based on cookie values in Apache web server. Here are the steps to do it.
How to Redirect in Apache Based on Hostname
How to Block URL Pattern in Apache
Sometimes you may need to block URL pattern in Apache. Here are the steps to block requests based on specific regular expression patterns.
How to Redirect Port 80 to 8080 in Apache
Sometimes you may need to redirect port 80 to 8080 in Apache .htaccess. Here are the steps to do it.
How to Monitor Apache Server Performance with mod_status
mod_status module allows you to monitor Apache server performance using web-based dashboards. Here are the steps to configure mod_status in Apache.
How to Hide PHP Version in WordPress/Apache
It is important to hide PHP version in Wordpress/Apache to protect your website from malicious attackers. Here are the steps to do it.
How to Prevent Direct Access to PHP File
Sometimes you may want to prevent direct access to PHP file on your website. Here are the steps to prevent a PHP file from direct URL access.