• Resolved Biscione

    (@biscione)


    Hi there,

    So I’ve read through both the IIS-specific instructions on the codex, and the instructions on the IIS 7 website. I have implemented them verbatim. I still get 404s everywhere but the homepage. I have used the /%postname%/ permalink format. I have confirmed with my system admin that the RewriteModule package is installed and active. I have gotten rid of every plugin, changed the theme, you name it.

    Important note – the WordPress install is in a subfolder of the root, rather than the root itself. The web.config file is in there with it, rather than at the root level. I do not have permissions to move any files up to the root level, if that were a solution.

    The only way pages load is through https://example.com/subfolder/index.php/page-name, when I’m actually trying to achieve https://example.com/subfolder/page-name, as the permalink is set to in the WP admin interface.

    Why would the rewrite still fail when I have followed the steps on both guides to the letter? I have checked the web.config file is being read (I can cause 500 errors with it with deliberate markup mistakes), the module is running, the code is correct according to WP and Microsoft…I am completely lost.

    (P.S. I know very well that Apache or nginx is better for WP than IIS, I wouldn’t be using IIS if I had a choice in the matter.)

Viewing 1 replies (of 1 total)
  • Thread Starter Biscione

    (@biscione)

    OK, so the admin reinstalled RewriteModule, and that did the trick. Well, at least partially.

    Now pages are working okay, but ‘featured images’ that are assigned in posts cannot be found due to a “500.50 – URL Rewrite Module Error”. However, some images linked in this method do work, those that I added as featured images when this particular WP project was in an apache-based development environment, before it was ported to IIS. Only feature images added to articles after the move to IIS are causing the error.

Viewing 1 replies (of 1 total)
  • The topic ‘Pretty Permalinks on IIS 7’ is closed to new replies.