bendytree
bendytree

Reputation: 13609

Pages Show StaticFile Handler 404.0 Error in WordPress on IIS 7.5

I'm moving a WordPress site to a server that runs WordPress on IIS 7.5. Barf. The server is already hosting two other sites without any problems.

The new site that I migrated shows the homepage, images, and all the wp-admin pages perfectly.

When I try to view a "page" such as /about, I get a 404. IIS seems to try and handle the request with a StaticFileHandler. In wp-admin I can see the page and all the content looks correct.

How can I get this page to render correctly?

The admin page:

enter image description here

After clicking 'view page':

enter image description here

Upvotes: 0

Views: 1068

Answers (1)

Ohgodwhy
Ohgodwhy

Reputation: 50787

You need to flush your permalinks.

Change the permalinks to something other than what they're set at, then change them back, should flush the rewrite rules and work correctly.

Upvotes: 2

Related Questions