WordPress : Only Home and Admin Pages works, But Not Posts Pages

I encountered across an unusual issue today when I migrated a WordPress website from a hosted site to localhost. My Home page and Admin section were working perfectly fine, but whenever I visited any category pages or single post pages, it gave me the following error.

Page isn’t working. Currently unable to handle this request. HTTP ERROR 500

This was bizarre, and after a lot of searching I found this solution

Try flushing your mod_rewrite rules:
Dashboard -> Settings -> Permalinks
Save settings (no need to make any changes)

That’s it, Boom! I hope it helps someone facing a similar issue.

Wordpress Hosting on SiteGround

Easy website management with Amazing Site Speed and Affordable Prices (Starting 3.99 $ / month)
SiteGround 70% Discount

Related Articles

If you like our content, please consider buying me a coffee.

Thank you for your support!

Buy me a coffeeBuy me a coffee

Leave a reply:

Your email address will not be published.

Site Footer