Hi
I have just subscribed to hostpapa and simple things look difficult to do.
Maybe I do wrong with this host but here is my question.
I want to add a htaccess file with the code below
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_HOST} ^mydomain.com\.com$ [NC]
RewriteRule ^(.*)$
http://www.mydomain.com/$1 [L,R=301]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
Basically it's to redirect people not writing www to the www site.
It worked with all my previous hosts and I searching into forum etc and I can't find a solution to make it working or set something in the cpanel or somewhere else.
FYI, I had some problems to read my first index.php file [error 500 every time]. My mistake was to rename the original index.html by index.php ...
Weirdly I had to erase it and re-transfer the same content in a new index.php file. Hope it helps.