Hi, I was wondering if it's possible to redirect the user from "http://mysite.com" to "http://www.mysite.com" ? Is there a way to do it?
Thanks,
jonwondering
How to redirect to WWW
Moderator: General Moderators
-
jonwondering
- Forum Commoner
- Posts: 39
- Joined: Mon Mar 13, 2006 6:26 pm
right, but if I just put it there by itself:
header('Location: http://www.mysite.com');
won't it just keep redirecting to itself forever? or at least something bad will happen?
header('Location: http://www.mysite.com');
won't it just keep redirecting to itself forever? or at least something bad will happen?
-
jonwondering
- Forum Commoner
- Posts: 39
- Joined: Mon Mar 13, 2006 6:26 pm