I need to force www for my site, my site is build with codeigniter framework.
This is my htaccess
RewriteEngine on
RewriteCond $1 !^(index\.php|css|images|js|plugins|Scripts|pirobox|applications-assets|user-assets|robots\.txt)
RewriteCond %{HTTP_HOST} !^www\.(.*)
RewriteRule (.*) http://www.%{HTTP_HOST}/$1 [R=301,L]
RewriteRule ^(.*)$ /index.php?/administrator/$1 [L]
But it is not working can you tell me what is wrong here?