21278 Posts in 5728 Topics by 2599 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 677 Views |
-
Change Url/ baseurl

4 August 2011 at 9:43pm
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?!
-
Re: Change Url/ baseurl

4 August 2011 at 10:05pm
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?
-
Re: Change Url/ baseurl

4 August 2011 at 11:12pm
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.
-
Re: Change Url/ baseurl

5 August 2011 at 3:28am
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...
-
Re: Change Url/ baseurl

8 August 2011 at 9:45pm
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.
| 677 Views | ||
|
Page:
1
|
Go to Top |

