• Hey all,

    OK… so I want to clean up my URLS, and I have access to a re-write engine, but I am not under apache. Further, since wordpress isn’t generating .htaccess files for me (I am on windows) the desired re-write behavior isn’t clear to me.

    Can someone tell me what the WP ondex.php file actually expects to see so I can build my re-write rules correctly?

    Or heck, just post a .htaccess fiel here and that will help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator James Huff

    (@macmanx)

    You won’t be able to use rewrite rules as Windows servers do not understand .htaccess files. What you can do, however, is use a permalink structure like:
    /index.php/archives/%year%/%monthnum%/%day%/%postname%/

    Essentially, you use:
    /archives/%year%/%monthnum%/%day%/%postname%/ and stick /index.php in front of it to bypass the need for mod_rewrite.

    More info: https://codex.www.ads-software.com/Using_Permalinks#Using_Permalinks_Without_mod_rewrite

    Thread Starter soulhuntre

    (@soulhuntre)

    Actually, IIS CAN use re-write rules… its just an add on. Fortunately there are several out there and available. I have one of those.

    So I can indeed use mod-rewrite style re-write rules… I jsut need to see an example of them so I can reproduct it int he proper format ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘URL re-write rules….’ is closed to new replies.