M
M
Magzhan Birgebayuly2015-12-27 21:22:51
PHP
Magzhan Birgebayuly, 2015-12-27 21:22:51

The only page /manual displays "404 Not Found", how to fix it?

Parameters of .htaccess files:

AddDefaultCharset UTF-8

Options -Indexes
RedirectMatch 301 (^/*.php$|^/pages/*/$|^/assets/*/$) /

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php [L,QSA]

That is - even if the file does not exist, it redirects the request to the main page. Whatever you enter works as it should... but it's "/manual" that outputs 404. Maybe apache2 saved the cache from the old version of the local site?
In general - how to 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