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.

Installing SilverStripe /

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

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

Chaning base URL


Reply


3 Posts   2433 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, 604 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