Error 404 after updating wordpress permalink with /blog

wordpress 404

wordpress 404 It was a nightmare when I accidentally pressed update permalinks on my wordpress blog. A new /blog/ was added to all links leading all visitors coming from search engines to a 404 Page cannot be found error. Fixing this issue took me like 30 minutes jumping from one wordpress post to another. so I decided to write this, so that you may save your site from all the disgrace of a 404.

It all started when I copying my favourite permalink structure from one of my blogs (which was convereted to a wordpress multisite recently) to another, then I accidentally pressed update permalinks on the first blog, changing all links to include an addition /blog slug. for example:  will become

Fix iPhone caller ID name for SMS

I discovered this when I was going through my visitor statistics where I found that everyone is getting a 404.

The reason why this /blog this is hardcoded is to prevent conflicts of you had a category named as one of your other sites in a multisite wordpress installation.

I read that going to your Network admin / sites / setting and then removing the /blog from the Permalink structure would fix it. Well it didn’t. The /blog was removed from the links in the page, but clicking any link will still give you a 404 page cannot be found error .

after digging in deeper,any trying many things like the .htaccess file. I tried a plugin that is said to fix this wordpress permalink disaster. it didnt work at first. until I restored the /blog that I removed from the site settings.

This is nothing short of a wordpress glitch, the permalink structure did not change when I originally upgraded to multisite, and it worked great. but once I messed with the permalinks page, there was no going back but with a plugin


Leave a Reply