Support » Fixing WordPress » From Apache to IIS

  • Hello everybody,

    I went from an Apache server to an IIS server.

    On the Apache server i can’t get to the old .htaccess file because it is hidden. And my FTP client does not show it. Now i can’t find out how to rewrite.

    I copied the database and files from the old server to the new server. We can use mod rewrite. But how?

    If i upload a empty .htaccess file to the ftp and use permalinks to save my rewrite. The .htaccess file is still empty. My current rewrite:

    Does anyone know how to set my rewrite?

    Thank you,


Viewing 2 replies - 1 through 2 (of 2 total)
  • I went from an Apache server to an IIS server…
    …We can use mod rewrite. But how?

    That is a good question!

    I think /%category%/%postname%/ is a structure that falls under the category of “pretty permalinks”. I also believe that the Apache mod_rewrite module is required to obtain this type of result (in most cases).

    I don’t believe that IIS incorporates the necessary components to utilize an .htaccess file. I think that .htaccess files are only compatible with the Apache Web Server. If I am not correct, I would hope that someone will point us both in the right direction. 🙂

    In the meantime, this might be a source of information or inspiration for you.

    Permalinks without mod_rewrite

    Or perhaps your hosting plan provider can provide the necessary information.

    Hey, themix –

    I went through the same issues with trying to figure out how to make “pretty permalinks” on IIS. Never did manage to come up with a solution. To my memory, none of the recommended fixes that ClaytonJames kindly linked to above worked for me. That said, I’ve heard there’s some sort of ISAPI filter out there that says it can replicate the mod_rewrite functionality for IIS. It might be work a look.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘From Apache to IIS’ is closed to new replies.