-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WordPress domain mapping and config ? #12
Comments
Hi @jehanf There's no redirects in place with the Docker environment. |
As Matt suggested above, the simplest fix would be to change or remove the HTTP redirect that is happening. Most likely that means updating the site's URL in the I wouldn't recommend it, but if you wanted to force Docker Dev to use a specific hostname and PHP combination you could always manually edit the Apache config. Perhaps find one of the Virtual Host blocks that is roughly what you'e after, copy-paste to the top of the file (so it takes precedence), and adjust it to suit. Run Example Config
|
Hi, Thank you for the really quick and precise answers, they should do the trick. |
Hello from the home of the Baguette,
First of all, thanks for the work, looks really amazing.
I played a little with it while looking to migrate from a vagrant dev env to a docker one, and stamble upon something that looks more like an interrogation than a real issue.
I have a WordPress install configured as : my-site.localhost, which default to php7.4. Works great.
my-site.php72.localhost redirects automatically to my-site.localhost, which is not the wanted behavior, as I would like to try it on PHP7.2 without changing the WordPress options.
Is there a way to achieve that ?
Or should I define a virtual host dedicated to this particular install and simply change the handler for .php files to the version of WordPress I want to try (I'm not sure on how to do that without breaking that smart domain mapping) ?
Thanks !
The text was updated successfully, but these errors were encountered: