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

Strange problem when trying to login at /admin with backurl


4 Posts   1743 Views


30 June 2010 at 4:15pm Community Member, 5 Posts


I've got a really strange problem at my website. When I try to login to the CMS it will redirect me to The problem is that it just won't log me in to the CMS and show me the login boxes again.

I figured out that when changing the backurl to I can login to the CMS.

Is there any way to let the /admin point to the right (back)url? We're busy to build an interactive website so user committees can post there own articles and its annoying to let them use the full link.




12 July 2010 at 6:30pm Community Member, 5 Posts

add $Form to your


14 November 2013 at 6:24am Community Member, 14 Posts

I'm having this same problem. Did you ever figure this out? I have $Form in my as well.


14 November 2013 at 7:44am Community Member, 14 Posts

I managed to fix the problem by removing the line Director::setBaseURL(''); from site/_config.php. Hope that saves someone else a few hours of their life!