is there a way to use .htaccess to redirect users if its not a like 'www.example.com' like this:
they enter in
site.com
and I want it to redirect to:
http://www.site.com
without effecting anything with search engines like google?
www or not?
Moderator: General Moderators
- elecktricity
- Forum Contributor
- Posts: 128
- Joined: Sun Sep 25, 2005 8:57 pm
- Location: Trapped in my own little world.
- Contact:
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
Re: www or not?
If you want to be 100% sure that Google didnt pay attention it will need to be at a DNS level. Set a CNAME record up for wwwelecktricity wrote:is there a way to use .htaccess to redirect users if its not a like 'www.example.com' like this:
they enter in
site.com
and I want it to redirect to:
http://www.site.com
without effecting anything with search engines like google?