How to enable Cloudflare

  • September 27, 2011
  • 0 Comments
Imageleet has Partnered with Cloudflare and you can activate cloudflare from cpanel. Please note Cloudflare give problems with php/perl/flash uploaders so cloudflare should not be enabled for sites which allow uploading of media from php scripts. It should also not be enabled for sites using SSL.

Please follow these steps to enable cloudflare for a domain

Note: Plugin only works on Default cPanel x3 theme, if you are using any other theme for example rvskin, x then you must first switch to x3

1) Login to cPanel control panel and visit Cloudflare from Software/Services section.
2) Agree to the terms and activate Cloudflare account.
3) To enable cloudflare click on the Cloud graphic next to domain name. It can be disabled from same option.

Additional Steps

Cloudflare works from CNAME so basically it will work for www version of the site, Please add this code in script .htaccess file so that all non www request are rewritten with www
RewriteEngine On
RewriteCond %{HTTP_HOST} ^mysite.com$ [NC]
RewriteCond %{SERVER_PORT} ^80$
RewriteRule ^(.*)$ http://www.mysite.com/$1 [R=301,L]

Above change mysite.com with your domain name.

Please feel free to contact us if you face any problems and we will be glad to setup it for you.

How helpful was this article to you?

Posting has been disabled.