Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter studley

    (@studley)

    OK, this was the reply that I got from my webhost:

    While we do support .htaccess files, much of the mod_rewrite functionality is not available.

    However, you can use Zeus rewrite rules which work in a very similar way. For example, a mod_rewrite rule of:

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^[^/]*\.html$ index.php

    Would convert to:

    match URL into $ with ^[^\/]*\.html$
    if matched then
    set URL = index.php
    endif

    This should be placed in a file named rewrite.script in your web directory.

    Bearing in mind that this is the htaccess code that WP generated for me:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    …what do I need to put in the Zeus file? I tried copying their example exactly, but that didn’t work.

    Thread Starter studley

    (@studley)

    I made my .htaccess unwritable and it gave me the code that I need to put in the file. I inserted that code, but the redirects still don’t work. Does this suggest that mod_rewrite is disabled?

    I’ll check with my host, but what’s the best way around this if I don’t have mod_rewrite access?

Viewing 2 replies - 1 through 2 (of 2 total)