404 error after enabling "pretty permalinks" with out mod_rewrite IIS 7 (2 posts)

  1. oli@cccit.co.uk
    Posted 4 years ago #

    Hi all,

    My dedicated web server has the URL Rewrite module installed and I have followed everything from http://codex.wordpress.org/Using_Permalinks ,also found other links on Google that have helped but not quit cracked it (see end of post), and the pretty permalinks are working fine if you go to a post, for example http://www.cccit.co.uk/news/test-post.

    However, navigating to the home page results in a 404. So, http://www.cccit.co.uk/news is getting the 404. Disabling pretty permalinks from within my wordpress login will cause this error to go away.

    Any help would be my appreciated.

    Thank you,




    http://ruslany.net/2009/05/iis-7-url-rewrite-module-support-in-wordpress-28/ (have also posted here)

  2. oli@cccit.co.uk
    Posted 4 years ago #


    Can anyone help on this, I'm sure there is something I have done totally wrong in the setup, as I'm not even 100% sure if I should have a .htaccess? or is this only for Apache servers?

    My web.config file is in root /news and looks like this

    <?xml version="1.0"?>
            <rule name="Main Rule" stopProcessing="true">
              <match url=".*" />
              <conditions logicalGrouping="MatchAll">
                <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
              <action type="Rewrite" url="index.php/{R:0}" />

    Let me know if you want more information. Thanks

Topic Closed

This topic has been closed to new replies.

About this Topic