Skip to content

Instantly share code, notes, and snippets.

Last active May 5, 2020
What would you like to do?
NGINX, WordPress Multisite and robots.txt, also tested with WordPress MU Domain Mapping
server {
# Add the following to your default server block:
rewrite /robots\.txt$ /index.php?robots=1 last;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment