Search Engine: Elastic

Article ID: 131980, created on Dec 27, 2017, last review on Dec 27, 2017

  • Applies to:
  • Operations Automation

Symptoms

The homepage of an IIS website with Wordpress application installed is loading correctly, but requests to any other page end with 404 error.

The following entry is represented in the website log:

2017-01-02 12:12:13 GET /somelink/ 203.0.113.2 HTTP/1.1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64;+rv:52.0)+Gecko/20100101+Firefox/52.0 http://www.example.com/ somelink 404 0 291

Cause

'Permalinks' are configured in the Wordpress control panel, but 'URL rewrite' module either has not been installed or disabled on the IIS server.

Resolution

  1. Download and instal 'URL Rewrite Module' following instructions from the Official IIS site

  2. Enable URL rewrite:

    IIS Manager > Select server > Modules > Configure native modules > Add 'RewriteModule' to the list

5356b422f65bdad1c3e9edca5d74a1ae caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF