Skip to content

Instantly share code, notes, and snippets.

@abadrahman
Created July 17, 2017 13:29
Show Gist options
  • Save abadrahman/3bd7e68d9f63b1d8baa599586f02af16 to your computer and use it in GitHub Desktop.
Save abadrahman/3bd7e68d9f63b1d8baa599586f02af16 to your computer and use it in GitHub Desktop.
wordpress installation in sub directory of wordpress rewrite conflicts.
#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