Created
August 20, 2018 16:14
-
-
Save DimaMinka/4ad6b1d45e4b0c4343fdcd2025df4f9e to your computer and use it in GitHub Desktop.
multisite bedrock fix for url
This file contains 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
if (!-e $request_filename) { | |
rewrite /wp-admin$ $scheme://$host$uri/ permanent; | |
rewrite ^/[_0-9a-zA-Z-]+(/.*\.php)$ /wp/$1 last; | |
rewrite ^/[_0-9a-zA-Z-]+(/wp-.*) /wp/$1 last; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment