WordPress URL Rewrite for Zeus Web Server

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.

1
2
3
4
5
6
7
8
9
10
11
# Zeus web server 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

This works for me like a charm. Hopefully works for you also. Consider sharing this article if this works for you.

Related Posts

Written by Avinash

Avinash Zala is leading various projects which deals with the various technology involved with the web. A combination of perfect technical and management skills. Avinash would like to chat with you and convert your imagination into the working system. You can get in touch with him on Facebook and Twitter.

View all posts by: