In this article we will see how to make WordPress URL Rewrite work on Zeus Web Server. Mostly you will find this web server on Namesco Hosting Provider.
When I have delt with this hosting company, I was not sure that they are using Zeus Web Server for Linux Hosting. When I have checked, I have found that URL rewriting was not working for one of the wordpress website.
I was thinking that it is problem with Apache’s rewrite module, but suddenly I found that current hosting has Zeus Web Server and not the Apache.
So after bit search on Google I have found the solution. Just like an .htaccess file on Zeus Server you need to create rewrite.script file on web root of the site.
Zeus Server need “rewrite.script” file just like “.htaccess” for Apache
After creating file you need to place below code in that file. I have tested below rules upto latest version of the wordpress. I hope this will be useful for you as well.
# 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
This works for me like a charm. Hopefully works for you also. Consider sharing this article if this works for you.