<p>You can edit this in the general config <a href="https://craftcms.com/docs/config-settings#cpTrigger" rel="nofollow">https://craftcms.com/docs/config-settings#cpTrigger</a></p>

<pre><code>return array(
    'cpTrigger' =&gt; new-url,
);
</code></pre>

CC BY-SA 3.0
2014-10-07T18:54:29.597Z
2016-09-28T18:52:48.817Z
2016-09-28T18:52:48.817Z
AbbeyDesign
<p>The <a href="https://craftcms.com/docs/config-settings#cpTrigger" rel="nofollow">cpTrigger</a> config setting is what you're looking for.</p>

CC BY-SA 3.0
2014-10-07T18:53:51.143Z
So simple! Thanks Brad, will mark this as the answer when I can.
Jamie Wade
CC BY-SA 3.0
2014-10-07T18:51:49.807Z
2016-09-28T18:53:00.813Z
2016-09-28T18:53:00.813Z
Brad Bell
<p>By default you can access Craft on a site by visiting <code>/admin</code>. How can I change the URL for this to something else?</p>

<p>For example: <code>/new-url</code></p>

<admin>
How do I change the URL used to access Craft?
# How do I change the URL used to access Craft?

(Asked by: username_0 on 2014-10-07)

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`

**Tags:** admin


---

## 2 answers

### Answer by username_2 on 2014-10-07. Score: 12 | Accepted answer

The [cpTrigger](https://craftcms.com/docs/config-settings#cpTrigger) config setting is what you're looking for.

> **Comments:**
> **username_0**: So simple! Thanks Brad, will mark this as the answer when I can.  

---

### Answer by username_1 on 2014-10-07. Score: 7

You can edit this in the general config https://craftcms.com/docs/config-settings#cpTrigger
return array(
    'cpTrigger' => new-url,
);


---

