Zeus server rewrite script for WordPress
-
I have a rewrite script which allows ‘pretty permalinks’ in wordpress even though I’m not using Apache server but Zeus.
#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
##### FIX TO ALLOW SEARCH TO WORK #####
match URL into $ with ^/(.*)
set URL = /index.php/$1This works just great when positioned in the root directory. However, it doesn’y work when I have wordpress installed in a subdirectory.
Does anyone know what changes need to be made to the script?
- The topic ‘Zeus server rewrite script for WordPress’ is closed to new replies.