Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Installing SilverStripe /

Getting SilverStripe up and running on your computer and on your web server.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Chaning base URL


Go to End


3 Posts   3137 Views

Avatar
mschiefmaker

Community Member, 187 Posts

5 May 2009 at 8:16am

Hi
I installed Silverstripe on a host where they provided me with an interim base URL http://ftp.intron.net.nz/~lowdown.

I have set the site up and had the site dnsname changed so that it is now visible at www.lowdown.org.nz problem is the CMS still sees itself as having the URL http://ftp.intron.net.nz/~lowdown so menu links append ~lowdown to www.lowdown.org.nz so form URLs such as www.lowdown.org.nz/~lowdown/ instead of www.lowdown.org.nz/. Is it possible to changes this base URL?

Thanks

MM

Avatar
Double-A-Ron

Community Member, 607 Posts

5 May 2009 at 8:25am

Open your .htaccess file. I would say that your rewrite base is "RewriteBase /~lowdown".

Change this to "RewriteBase /"

Avatar
mschiefmaker

Community Member, 187 Posts

5 May 2009 at 10:26am

Thanks Double-A-Ron worked a treat

MM