[Topic has been merged into this relevant Topic]
Hi, I’m trying to add the below code (301 redirect to cloudflare) to BPS security. This code has to go to the root location (mysite.com/htaccess
) Could you please let me know which section under “Custom Code” I should add this code?
Thank you!
RewriteEngine On
RewriteCond %{HTTP_HOST} ^mysite\.com$ [NC]
RewriteRule ^(.*)$ http://www.mysite.com/$1 [R=301,L]