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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

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

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

Connot login to the admin page after moving site to the subdirectory. SOLVED

Go to End

2 Posts   599 Views


Community Member, 2 Posts

11 April 2013 at 9:34am

Edited: 12/04/2013 8:13am

Hello dear silverstripers,
I have the following problem which happens with several (current and 3-years old) SS versions on different hosting providers.
It's possible to login to the admin page when a web-site is placed in a root directory ( But when you move the web-site to the subdirectory ( you cannot login to the admin page -- it redirects you to the login page without any login/password warnings.


Community Member, 2 Posts

13 April 2013 at 1:26am

The problem was in a session saving mechanism. When you move a site to a sub-directory, something prevent PHP to save session properly.
I've created ~/phpsession directory and point session.save_path parameter of php.ini (my provider allows me to do that) to it.
Hope it helps someone.