WordPress

How to fix WordPress permalinks and 404 errors

If your homepage works but every other page shows 404 Not Found, your permalink rules usually just need refreshing.

  1. Go to Settings → Permalinks in your dashboard.
  2. Choose Post name (best for SEO and readability).
  3. Click Save Changes — even without changing anything, this rewrites the rules.

This regenerates the .htaccess file that maps friendly URLs. If pages are still 404, check that .htaccess exists in your site root (enable “show hidden files” in the DirhamHost File Manager) and contains the standard WordPress block. You can recreate it by saving permalinks again.

On LiteSpeed servers, rewriting works out of the box. If a single page 404s but others work, make sure no other page shares the same slug and that the page is Published, then clear your cache (LiteSpeed Cache → Purge All).

Recently migrated? Run Save Permalinks and clear cache first. If 404s persist site-wide, contact us on WhatsApp +971 58 553 6767 and we will check the rewrite configuration.

Still need a hand? Our UAE-based team is here 24/7.

Related articles

How to install WordPress with 1-clickHow to log in to your WordPress dashboard (wp-admin)How to choose and install a WordPress themeEssential plugins for a new WordPress siteHow to update WordPress, themes and plugins safely