WordPress Website inner pages not loading

Sometimes after WordPress migration, you might notice that your inner pages are showing 404 Errors and that Only Home Page works. you might have tried to change the permalinks of the WordPress but if  still the problem persists, u will recreate the htaccess file.




If you haven’t tried to change the permalinks, you can follow these steps below;
Go to settings->permalinks and click on save button to rewrite flush. And then empty your browser cache. sometimes this works but if your problem of WordPress inner pages not working is still persisting, Just do one thing;

Recreate the htaccess file again and put the default WordPress ht-access file as below

Here is the default code for that file.

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress

That will fix it, but incase it still has to been fixed, go to plan C.

Sometimes on a new server it’s just the rewrite module missing from Apache config.

Write a comment