Jump to:

22978 Posts in 11807 Topics by 2826 members

General Questions

SilverStripe Forums » General Questions » Change Url/ baseurl

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

Page: 1
Go to End
Author Topic: 1156 Views
  • nicanor
    Avatar
    Community Member
    15 Posts

    Change Url/ baseurl Link to this post

    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?!

  • martimiz
    Avatar
    Forum Moderator
    1037 Posts

    Re: Change Url/ baseurl Link to this post

    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?

  • nicanor
    Avatar
    Community Member
    15 Posts

    Re: Change Url/ baseurl Link to this post

    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.

  • martimiz
    Avatar
    Forum Moderator
    1037 Posts

    Re: Change Url/ baseurl Link to this post

    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...

  • nicanor
    Avatar
    Community Member
    15 Posts

    Re: Change Url/ baseurl Link to this post

    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.

    1156 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.