I am trying to reset the default path to the dashboard from admin to something else. I have this in config/general.php
:
return array(
'cpTrigger' => 'new-url',
'omitScriptNameInUrls' => true,
'devMode' => true,
);
But when I go to devsite.myurl.co.uk/new-url
, I get a 404 error. I got this working locally but not since I installed the site on a staging server, and imported the database and changed the general and db files. Any ideas?
If I take out the cpTrigger
line, and just use devsite.myurl.co.uk/admin
, everything is fine.