Roots Discourse

Problem with WP_HOME and WP_SITEURL

Hello,

I have a problem for which I cannot find a solution.

This is my .env file :

WP_HOME=‘https://mysite.com
WP_SITEURL="${WP_HOME}/wp"

The problem is : https://mysite.com is showing all web path, rather than point /wp.

How can i fix that ?

Thanks by advance

Not quite sure what your question is or if you’re in a local environment but you need to make sure your server config references the root path as mysite.com/web instead of into the actual root folder. If that’s not the answer, please provide more details as to you’re environment and what exactly the error is.