404 error on blog posts, using IIS
-
I have a website that has a number of pages as well as a blog, and am using pretty permalinks. Everything was working fine until yesterday, when I did a blog post. The blog landing page, and all other pages, worked fine, but when I clicked on a blog post, I’d get a 404 Page Not Found error.
A bit of research indicated that this is probably related to pretty permalinks. I switched to default permalinks, and that fixed the blog posts but now all the page links were broken. Switching back to pretty permalinks still gave me the 404 error on the blog posts.
As I’m using IIS, I tried adding the rewrite rule here (https://www.iis.net/learn/extensions/url-rewrite-module/enabling-pretty-permalinks-in-wordpress) to my web.config file, but that just gave me a 500 internal error across the whole site.
I don’t understand what could have triggered the break.
Does anyone have any ideas on what else I can try?
Thanks.
- The topic ‘404 error on blog posts, using IIS’ is closed to new replies.