Steps to Solve 404 error on Litespeed/OpenLitepeed after migration

If you are looking for how to solve 404 error on Litespeed/OpenLiteed server after migration, then this is best place to know the causes and how to solve it.

The 404 error is common on Litespeed servers caused by misconfiguration of .htacess tag after migration from either the same server software or others like Apache and NGiNX.

If you are experiencing this error, then don’t panic, follow my lead to make the issue goes away with simple solutions.

As I stated above, the 404 error on Litespeed/OpenLitespeed is caused by misconfiguration of .htacess tag, then you have to change the code inside that file in WordPress file manager.

Here are the steps to solve 404 error on Litespeed/OpenLitespeed servers after migration;

Replace the whole current codes in .htacess tag with following codes

RewriteBase /
RewriteRule ^/index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

Leave a comment