7

By default you can access Craft on a site by visiting /admin. How can I change the URL for this to something else?

For example: /new-url

2 Answers 2

12

The cpTrigger config setting is what you're looking for.

1
  • So simple! Thanks Brad, will mark this as the answer when I can.
    – Jamie Wade
    Oct 7, 2014 at 18:53
7

You can edit this in the general config https://craftcms.com/docs/config-settings#cpTrigger

return array(
    'cpTrigger' => new-url,
);
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.