Created
July 17, 2017 13:29
-
-
Save abadrahman/3bd7e68d9f63b1d8baa599586f02af16 to your computer and use it in GitHub Desktop.
wordpress installation in sub directory of wordpress rewrite conflicts.
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
#Add within server block to fix conflicts between permalinks when WP is installed within another WP installation | |
location /subdirectory/ { | |
try_files $uri $uri/ /subdirectory/index.php?$query_string; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment