Skip to content

Instantly share code, notes, and snippets.

@sebastianmoran-mainwp
Last active January 29, 2019 14:11
Show Gist options
  • Save sebastianmoran-mainwp/fb8b89f12062176b8a905e71dd99ccf1 to your computer and use it in GitHub Desktop.
Save sebastianmoran-mainwp/fb8b89f12062176b8a905e71dd99ccf1 to your computer and use it in GitHub Desktop.
Apache and NGNIX redirects for the readme.html file installed by WordPress
<IfModule mod_rewrite.c>
RewriteRule ^readme\.html$ / [R=301,L]
</IfModule>
server {
rewrite ^/readme.html$ / permanent;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment