<p>When setting <code>siteUrl</code> in config.php, it <em>overrides</em> the "Site URL" setting in CP → Settings → General. It doesn't show the settings in that field.</p>

<blockquote>
  <p>This is being overridden by the siteUrl config setting.</p>
</blockquote>

CC BY-SA 3.0
2016-01-29T15:21:49.827Z
Ah, gotcha. Thanks - guess it was the legacy EE muscle memory that assumed this value changed. Ta
Cole Henley
CC BY-SA 3.0
2016-01-29T15:34:25.977Z
Still getting odd response - the siteUrl have set is not being reflected in the templates
Cole Henley
CC BY-SA 4.0
2021-11-12T13:18:50.620Z
Does this settings still exist?
Alper
CC BY-SA 3.0
2016-01-29T15:21:14.450Z
2016-01-29T15:21:14.450Z
carlcs
<p>Experiencing a headache on a client site where the siteUrl declared in general.php is not being reflected in the Control Panel (which is always showing the local siteUrl) and therefore also the template on the site.</p>

<p>An abridged/edited config file here: <a href="https://gist.github.com/cole007/68382039e9ebedceabf7" rel="nofollow">https://gist.github.com/cole007/68382039e9ebedceabf7</a></p>

<p>Thoughts appreciated</p>

<config><siteurl>
siteUrl not updating
# siteUrl not updating

(Asked by: username_0 on 2016-01-29)

Experiencing a headache on a client site where the siteUrl declared in general.php is not being reflected in the Control Panel (which is always showing the local siteUrl) and therefore also the template on the site.

An abridged/edited config file here: <https://gist.github.com/cole007/68382039e9ebedceabf7>

Thoughts appreciated

**Tags:** config, siteurl


---

## 1 answers

### Answer by username_1 on 2016-01-29. Score: 3

When setting `siteUrl` in config.php, it *overrides* the "Site URL" setting in CP → Settings → General. It doesn't show the settings in that field.

> This is being overridden by the siteUrl config setting.

> **Comments:**
> **username_0**: Ah, gotcha. Thanks - guess it was the legacy EE muscle memory that assumed this value changed. Ta  
> **username_0**: Still getting odd response - the siteUrl have set is not being reflected in the templates  
> **username_2**: Does this settings still exist?  

---

