wordpress-multi-env-config icon indicating copy to clipboard operation
wordpress-multi-env-config copied to clipboard

SITE_URL and HOME are overridden

Open plingvorm opened this issue 6 years ago • 2 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.

plingvorm avatar Sep 05 '19 09:09 plingvorm

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.

simonrjones avatar Aug 20 '22 15:08 simonrjones