J
J
JoniSuper2018-10-14 17:17:10
htaccess
JoniSuper, 2018-10-14 17:17:10

The requested file is displayed over the index file, what should I do?

T 5bc34fae0a96d070738633.png
Such a thing. When I go to any page specified through include, the requested page and index page are displayed.
I suspect that the matter is in .htaccess. So I throw it here:
AddDefaultCharset utf-8
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} /+[^\.]+$
RewriteRule ^(.+[^/ ])$ %{REQUEST_URI}/ [R=301,L]
RewriteRule \.(php|htm|swf|fla|xml|ico|jpg|gif|png|js|css)$ - [L]
RewriteRule ^.* $index.php[NC,L]

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