I have a subfolder with a separate WordPress running on it. When I click on a link which should lead to the destination in the new website (the subfolder) it reads everything except the mentioned subfolder.
For example, my address is https://www.example.com
and when I click the link, it should take to https://www.example.com/TheSubfolder/rest
of the address. but it doesn't identify the subfolder. When I hover over the link it shows https://www.example.com/rest
of the address.
How to solve this problem so everything shows correctly?
This is my .htaccess content. "old-parsik" is the subfolder which i am talking about.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /old-parsik/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /old-parsik/index.php [L]
</IfModule>