Skip to content

Instantly share code, notes, and snippets.

@kloon
Created February 11, 2013 05:54
Show Gist options
  • Save kloon/4752925 to your computer and use it in GitHub Desktop.
Save kloon/4752925 to your computer and use it in GitHub Desktop.
Zues WordPress URL rewrites ( Working for WP MU )
#Zeus webserver version of basic Wordpress mod_rewrite rules
map path into SCRATCH:path from %{URL}
look for file at %{SCRATCH:path}
if exists then goto END
look for dir at %{SCRATCH:path}
if exists then goto END
##### FIX FOR LOGIN/FORGOTTEN PASSWORD/ADMIN ETC #####
match URL into $ with ^/wp-.*$
if matched then goto END
set URL = /index.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment