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
10% Instant discount on HDFC Bank Credit and Debit Cards.
FireStick @ 2399, Laptop @ 30 % Off, Electronic Accessories @ 70% Off.
Check out the Deals now.
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.