But if I open www.domain.com then actual store opens. Can some tell me what is going wrong with simple domain.com
I have even tried 301 redirect by using this code
Code: Select all
redirect 301 /Old_Resource http://www.mydomain.co.uk/index.php?route=product/category&path=37
RewriteCond %{QUERY_STRING} ^route=product/category&path=37$
RewriteRule ^index\.php$ http://www.mydomain.co.uk/new-resource? [R=301,L]
I got this code from viewtopic.php?t=21971
Can someone tell my why I am always redirected to www.domain.com/domain.com instead of www.domain.com
I am using Hostgator Share account for hosting purpose.