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.

Laravel / WP Hosting on Cloudways

Easy website management with Amazing Site Speed and Affordable Prices (Starting 5 $ / month)
Use promo 5Balloons for 10% discount

Related Articles

Leave a reply:

Your email address will not be published.

Site Footer