Skip to content

Instantly share code, notes, and snippets.

@DavidMellul
Last active July 29, 2018 22:19
Show Gist options
  • Save DavidMellul/2d67d0e8c2b54eb7c46c48c3e1da7014 to your computer and use it in GitHub Desktop.
Save DavidMellul/2d67d0e8c2b54eb7c46c48c3e1da7014 to your computer and use it in GitHub Desktop.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^(author|tag|category)\/.+$ / [L,R=301]
</IfModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment