Ok, that really didn't help. Maybe I'm putting .htaccess file in wrong directory? It's in directory accessible from cpanel "File Manager Directory Selection" and choosing "Home Directory". Is it in right directory, or should I put it somewhere else? Is it ok if .htaccess file only contains lines that you wrote, or should it contain anything else too?
Hi,
I created .htaccess file on Home Directory.
I've written this in the file
Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^www.mydomain.info [nc]
rewriterule ^(.*)$ http://mydomain.info $1 [r=301,nc]
Saved the file.
However whenever I check the website www.mydomain.info it still doesn't redirect to http://mydomain.info.
Please, need you guidance. Never created and messed around with .htaccess file before.