301 redirect problem
so i want redirect non www to www But something is going wrong. When i write my url without www it´s redirect to: mydomain/index.php//mydomain
.htaccees file looking like this:
AddType application/x-httpd-php53 php53 php
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^$ public/ [L]
RewriteRule (.*) public/$1 [L]
</IfModule>
Options +FollowSymlinks
RewriteEngine on
rewritecond %{---_host} ^mydomain [nc]
rewriterule ^(.*)$ ------.mydomain /$1 [r=301,nc]
What i did wrong?
The Hydrurga WSO - Rank Your Site #1 And Score Over The Penguin Updates!