Second WordPress installation and rewrite error

Hello,

This is the first time I’ve been using CP & OLS. But I’m a little new. I can’t solve a problem. Help with rewrite.

There is no problem on the homepage. But in the Website Domain Names, Online Stores & Hosting - Domain.com folder the site gives a 404 error

I want to solve this problem as soon as possible.

Thank you so much!

check your permalinks and .htaccess file is using wordpress OLS defaults

https://openlitespeed.org/kb/migrate-apache-rewrite-rules-to-openlitespeed/
https://openlitespeed.org/kb/how-to-setup-lscache-for-wordpress/

I’ve reviewed it here, but all I need is a correct rewrite setting for the Website Domain Names, Online Stores & Hosting - Domain.com folder.

Is the following correct?

BEGIN WordPress

RewriteEngine On RewriteBase / RewriteRule ^/index\\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{ORG_REQ_URI} !/en RewriteRule . /index.php [L] # END WordPress RewriteEngine On RewriteBase / RewriteRule ^/index\\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /en/index.php [L] # This will make sub-directory works.