Login | Forgot password | Register
What is OpenID?
OpenID is an Internet-wide identity system that allows you to sign in to many websites with a single account.
With OpenID, your ID becomes a URL (e.g. http://username.myopenid.com/). You can get a free OpenID for example from myopenid.com.
For more information visit the official OpenID site.
Archive
SilverStripe Forums » Archive » 301 Redirect
Our old forums are still available as a read-only archive.
|
Page:
1
|
Go to End | |
| Author | Topic: 301 Redirect | 533 Views |
-
301 Redirect

15 October 2008 at 7:42am
Hi
How can i make my site redirect so that:
http://mysite.com
goes to
http://www.mysite.comlike on the http://www.demconvention.com/ website which is silverstripe
Thanks
-
Re: 301 Redirect

15 October 2008 at 8:08am
Add:
Director::forceWWW()
to mysite/_config.php.
Or set up a rule in .htaccess that does it for you.
-
Re: 301 Redirect

15 October 2008 at 8:40am
Neat, never knew you could add that to your config. Always did it through .htaccess.
| 533 Views | ||
|
Page:
1
|
Go to Top |
Currently Online: There is nobody online.
Welcome to our latest member: marcusl



