Welcome to UltratechHost Forum, Guest. Please take the time to register if you haven't, or click

Tags
Author: UltratechHost - Replies: 0 - Views: 5141
How to set up 301 redirect page in Linux from .htaccess file
1. Login into cPanel.
2. Click on Filemanager icon.
3. Open public_html folder.
4. Edit the file .htaccess and write the code to redirect the page (e.g. Redirect 301 /old.php http://www.yourdomain.com/folder/new.php)
5. Click on save button.
Author: UltratechHost - Replies: 0 - Views: 4804
How to disable mod_security from .htaccess
ModSecurity is an open source embeddable web application firewall, or intrusion detection and prevention engine for web applications.

If you’re using Apache web server (which mostly do), mod_security can be disabled by adding a specific in .htaccess file. Locate the .htaccess file in Apache web root directory (public_html or /var/www/ or others), if it does not exist, create a new file named .htaccess, and add in the following code:

SecFilterEngine Off
SecFilterScanPOST Off

The above e