1
votes

I received a backed up wordpress site. I tried to deploy it on an Open Litespeed Webserver. But when I visit internal links I receive 404 error.

I tried flushing the permalinks, changed the .htaccess to

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

Based on this solution

I restarted the server but with no luck. I cannot find a way to make it work.

In LiteSpeed I have these settings also:

Rewrite Control -> Enable Rewrite : Yes Rewrite Rules:

RewriteCond %{HTTP_USER_AGENT}  ^NameOfBadRobot
RewriteRule ^/nospider/         -   [F]
1

1 Answers