WordPress.org

Support

Support » How-To and Troubleshooting » Zeus server rewrite script for WordPress

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/$1

    This 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?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Stevie, struggling bigtime, and stuck, short of learning Zeus… have tried a multitude of different scripts from around the forums / web, in the root folder & subfolders.

    On the verge dropping my ISP Namesco – its a showstopper when permalinks can not be implemented for organiations we volunteer for x several.

    All that said, what about a plugin to generate the Zeus rewrite.script that many eyeballs can validate. Namesco have a conversion tool on the control panel, tried that too, no joy.

    Any thoughts re leaning on Zeus / ISPs to support writing one ? regards Phil

    A plugin to automate Zeus rewrites seems like the optimal way to go about this given that any changes to htaccess by other plugins would easily be reflected on Zeus hosts as well. I’m looking into this one currently to see how viable it might be to invest some time in the conversion.

    I’ve run to a similar problem but found a new version of the script at http://www.netregistry.com.au/support/articles/wordpress-seo-friendly-permalinks

    The script is as follows – replace ‘wordpress’ with the subdirectory of your installation:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    Hope this helps anyone who is struggling with this.

    Sorry about the messy post, forgot to close the href!

    Any body found a solution to this? Don’t know why my client hosts on a Zeus server :s

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Zeus server rewrite script for WordPress’ is closed to new replies.
Skip to toolbar