studio24 / wordpress-multi-env-config

WordPress multi-environment config

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SITE_URL and HOME are overridden

plingvorm opened this issue · comments

I have the set up in /core
So I put it in the env file.

But I do NOT want the url to show up including /core to customers.

Adding it to the environment file(s) does not work.

Doing some tidying up on this repo, sorry for not replying a long time ago.

I don't think this issue is related to the config system, it sounds like you've installed WP in a sub-folder which then displays to users. You need to install WordPress in your document root to avoid sub-folders appearing in the URL.