Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # BULLETPROOF PRO 5.D DEFAULT .HTACCESS
- # If you edit the line of code above you will see error messages on the BPS Security Status page
- # WARNING!!! THE default.htaccess FILE DOES NOT PROTECT YOUR WEBSITE AGAINST HACKERS
- # This is a standard generic htaccess file that does NOT provide any website security
- # The DEFAULT .HTACCESS file should be used for testing and troubleshooting purposes only
- # my test code
- <IfModule mod_rewrite.c>
- RewriteEngine On
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteCond %{HTTP_HOST} ^mydomain\.com$ [NC]
- RewriteRule . /holding.html [L] # to redirect all 404 pages
- RewriteRule bad_link\.html /holding.html [L] # to redirect selected 404 page
- </IfModule>
- # end test code
- # BEGIN WordPress
- <IfModule mod_rewrite.c>
- RewriteEngine On
- RewriteBase /
- RewriteRule ^index\.php$ - [L]
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteRule . /index.php [L]
- </IfModule>
- # END WordPress
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement