K
K
kn1ght_t2015-06-26 13:34:37
htaccess
kn1ght_t, 2015-06-26 13:34:37

Page address with a slash at the end?

there are site pages like domain.ru/franshiza, which works fine,
but if you add a slash at the end, that is: domain.ru/franshiza/ the
page stops loading styles, the htaccess file has the following entries:

#AddDefaultCharset Off
#AddDefaultCharset UTF-8

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !^/franshiza
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L,QSA]

RewriteCond %{REQUEST_URI} ^/franshiza
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /pivko/index.php  [L,QSA]

how can i fix it?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question