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.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Change Url/ baseurl


Reply

5 Posts   1374 Views

Avatar
nicanor

4 August 2011 at 9:43pm Community Member, 15 Posts

I moved the installation from development server to an other server. I can't find an entry in DB or in a file where the domain name is stored. i want to change the url so baseurl is changed.

i read here some articles but seems no real solution?!

Avatar
martimiz

4 August 2011 at 10:05pm Forum Moderator, 1091 Posts

In SilverStripe you don't normally have to do anything like that. The only data you need to update is your database configuration in _config.php...

So if it's not working, it might be something else?

Avatar
nicanor

4 August 2011 at 11:12pm Community Member, 15 Posts

I don't. i made a new install on the new server and copied the content by hand. i tried to copy it a second time, but no changes. Baseurl is the url of the old server, css files etc. came form old server and server error.

Avatar
martimiz

5 August 2011 at 3:28am Forum Moderator, 1091 Posts

OK... In that case - did you copy the contents of silverstripe-cache as well? It might still have the old domainname cached...

Try /dev/build/?flush=1 to rebuild the cache...

Avatar
nicanor

8 August 2011 at 9:45pm Community Member, 15 Posts

Thanks a lot. This solved my problem. I cleared the cache with /dev/build/?flush=1 before i copied the site. The problem is when you don't clear the cache before copy the page. The old domain which resists in cache won't let you login to admin and won't let you delete the cache.