ayberk
1
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!
ayberk
3
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.