We have a multi-site website that we’ve copied locally to MAMP - we can view the site locally so know the database and MAMP setup is correct but can’t login.
The browser gets directed here on login submit:
<a href="http://http//site-name/system-admin/index.php?S=0&D=cp&C=login&M=login_form">http://http//site-name/system-admin/index.php?S=0&D=cp&C=login&M=login_form</a>Which just loads the login form again.
We followed the instructions here.
And have performed the complete list twice (including template sync and clear cache) - the only thing we couldn’t check was admin.php. Our site doesn’t have one so assume this is for newer versions?
Our system directory has been renamed but the local version is the same as the live version and the top-level index.php contains the correct name:
$system_path = './custom-name';Just not sure what we’ve missed sorry - any pointers in the right direction would be much appreciated.
Cheers
Ben