-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Wrong redirected URL when installing new WordPress bedrock 1.13.0 #493
Comments
Not seeing this with this testbed: https://github.com/austinpray/bedrock-testbed/tree/br-493 (the current bedrock master is checked into the repo at this branch) How exactly are you running this locally? |
Ah never mind I can reproduce this by using the .env.example provided in the repo https://github.com/austinpray/bedrock-testbed/tree/br-493-reproduced It's obviously an issue with |
@nhanledev see if this fixes your issue #494, it does for me
|
@austinpray I can confirm that changing from a single quote to double-quote of |
Sweet! Tagged a bugfix release https://github.com/roots/bedrock/releases/tag/1.13.1 |
On Azure Web Apps this issue persists, this is because the environment variables are defined in the "Application Settings", so there is no way to add single qoutes or double qoutes. so my only option was just to write the full domain twice, like Also, for some reason the Azure web app does not like the salt keys to have curly brackets and other symbols, so i wrote them with only numbers and letters and few symbols . |
Description
When installing new WordPress with latest Bedrock version 1.13.0, the redirected URL to installation page is wrong, which is http://domain/WP_HOME/wp/wp-admin/install.php
If I change the URL to the right one which is http://domain/wp/wp-admin/install.php, all assets such as JS or CSS files' URLs are wrong.
Steps to reproduce
Expected behavior: Redirected to domain/wp/wp-admin/install.php
Actual behavior: Redirected to domain/WP_HOME/wp/wp-admin/install.php
Reproduces how often: 100%
Versions
You can get this information from referencing
CHANGELOG.md
. Also, please include the OS and what version of the OS you're running.BedRock 1.13.0
Additional information
I believe that the behavior is from phpdotenv v4 because I have tried to upgrade to this version before, but it went crazy and I could not handle it.
The text was updated successfully, but these errors were encountered: