Created
August 5, 2018 18:20
-
-
Save gokusenz/66e23b1a081174e0b69c13da9b2b1e59 to your computer and use it in GitHub Desktop.
WordPress, nginx proxy and subdirectory: wp-login.php redirects to domain
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $_SERVER['REQUEST_URI'] = str_replace("/wp-admin/", "/blog/wp-admin/", $_SERVER['REQUEST_URI']); | |
| # https://stackoverflow.com/questions/34090577/wordpress-nginx-proxy-and-subdirectory-wp-login-php-redirects-to-domain |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment