Subdirectory doesnt work without slash ("/" symbol)

haberimyok.com/tr doesnt work 🙁

haberimyok.com/tr/ works.

Please solve my problem…

.htaccess is in the /web/tr directory

RewriteEngine on

RewriteCond %{HTTP_HOST} ^(www.)?haberimyok.com$

RewriteCond %{REQUEST_URI} !^/web/tr

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^(.*)$ /web/tr/$1

RewriteCond %{HTTP_HOST} ^(www.)?haberimyok.com$

RewriteRule ^(/)?$ index.php [L]

Thank you.

Read more here: Subdirectory doesnt work without slash ("/" symbol)

Leave a Reply

Your email address will not be published. Required fields are marked *