• Hi
    I have installed wordpress on Windows 2012 R2 with IIS 8.5

    I have set Permalinks to /%postname%/ in wordpress

    every things is ok in web.config and URL rewrite module works and rewrite every address except files and directories to index.php but pages and posts will not shown correctly and only index page will shown after entering all posts and pages URls

    I think a problem exist in REQUEST_URI in the request and wordpress does not recognize witch page to serve

    any one can help ?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter yooshimooshi

    (@yooshimooshi)

    please help me

    Thread Starter yooshimooshi

    (@yooshimooshi)

    i have added this line to load.php to test what is in REQUEST_URI
    echo $_SERVER[‘REQUEST_URI’] ;
    exit();

    and get this output :

    /test

    for
    mydomain/test address

    it seems every things is ok but every address will shown index.php instead of page or post content …
    no errors , no 404 …

    i use wp 4.4.2 may be it is an iis bug ?

    I have the same issue using WordPress 4.61. I am currently migrating to a Windows 2012 server and IIS 8.5. I think that WP targets IIS7 specifically on permalinks, but has not yet caught up?

    There are several outstanding requests for assistance on this matter which tends to suggest that a solution is not available yet.

    In my previous installation (on IIS7), the PATHINFO model is not available on the permalinks page (no index.php option), so no problems with that. On the new IIS8 installation however, ALL options other than the ‘plain’ option include index.php as part of the url string.

    I have tried writing the rewrite rule directly to the web.config and also tried inserting it from IIS. Neither works. If I choose a custom /%postname%/ method, I get the 404 error you describe.

    I may have to stay with Windows 2008/IIS7.5 if I can’t find a resolution.

    Hope this elicits some brainwave ??

    J

    • This reply was modified 8 years, 1 month ago by SFM.

    No-one got any idea?

    I found a post on the forum with a specific web.config file I had to configure to get permalinks to work under iis.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Permalinks Not Working Correctly in IIS 8.5’ is closed to new replies.