Roots Discourse

Problem with home url links

Hello,

I set my .env file setting like this :
WP_HOME=‘https://mywebsite.com
WP_SITEURL="${WP_HOME}/wp"

My DocumentRoot on my production server is going to /my/website/web.

How can I redefine my home url to https://mywebsite.com/web’ instead of https://mywebsite.com to get the wordpress functions links uploads with wp_get_attachment_image() working without changing the env variable ?

Thank You,

This topic was automatically closed after 42 days. New replies are no longer allowed.