Hi there,
I have a website that i am doing SEO on and i need both www.diveschoolcapetown.co.za and http://diveschoolcapetown.co.za to point to http://www.diveschoolcapetown.co.za
I have changed the .htaccess file as follows:
<IfModule mod_rewrite.c>
.....
RewriteCond %{HTTP_HOST} ^diveschoolcapetown.co.za[nc]
RewriteRule ^(.*)$ http://www.diveschoolcapetown.co.za/$1 [r=301,nc]
.....
</IfModule>
The problem that i have is that it does not redirect correctly.
When i type in 'http://www.diveschoolcapetown.co.za' the url gets displayed as --- 'http://www.diveschoolcapetown.co.za/?url=/'
If i type in a nested url eg 'http://www.diveschoolcapetown.co.za/contactus' it does not redirect at all.
Please help