Deniss Опубликовано 8 декабря, 2017 Жалоба Поделиться Опубликовано 8 декабря, 2017 Здравия. Кто-то может мне объяснить почему на сайте такого огромное количество просмотров "Страница не найдена" sibvaleogroup.ru/catalog/...Это проблема её надо решить? Либо все нормально и можно забить?Прикрепляю .htaccess Цитата Ссылка на сообщение Поделиться на другие сайты
shooroop Опубликовано 8 декабря, 2017 Жалоба Поделиться Опубликовано 8 декабря, 2017 Прикрепляю bolshoj_rozugrush.png Цитата Ссылка на сообщение Поделиться на другие сайты
Deniss Опубликовано 9 декабря, 2017 Автор Жалоба Поделиться Опубликовано 9 декабря, 2017 НЕ понятно почему не прикрепился http://sibvaleogroup.ru/ RewriteEngine onAddDefaultCharset UTF-8ErrorDocument 404 /404ErrorDocument 401 /password.php php_flag display_errors On#показать все ошибки кроме предупреждений (Notice)php_value error_reporting "E_ALL & ~E_NOTICE" RewriteCond %{REQUEST_URI} ^/blog/$RewriteRule ^.*$ http://sibvaleogroup.ru/articles? [R=301,L] RewriteCond %{REQUEST_URI} ^/blog$RewriteRule ^.*$ http://sibvaleogroup.ru/articles? [R=301,L] # Админка теперь по адресу /simplaRewriteRule ^admin/?$ simpla [L] # Каталог товаровRewriteRule ^catalog/([^/]+)/?$ index.php?module=ProductsView&category=$1 [L,QSA]RewriteRule ^catalog/([^/]+)/([^/]+)/?$ index.php?module=ProductsView&category=$1&brand=$2 [L,QSA] RewriteRule ^products/([^/]+)/?$ index.php?module=ProductView&product_url=$1 [L,QSA]RewriteRule ^products/?$ index.php?module=ProductsView [L,QSA] RewriteRule ^brands/([^/]+)/?$ index.php?module=ProductsView&brand=$1 [L,QSA]RewriteRule ^brands/([^/]+)/page_([^/]+)/?$ index.php?module=ProductsView&brand=$1&page=$2 [L,QSA] # Поиск товаровRewriteRule ^search/([^/]+)/?$ index.php?module=ProductsView&keyword=$1 [L,QSA]RewriteRule ^search/?$ index.php?module=ProductsView [L,QSA] # Блог#RewriteRule ^blog/([^/]+)/?$ index.php?module=BlogView&url=$1 [L,QSA]#RewriteRule ^blog/?$ index.php?module=BlogView [L,QSA] #articlesRewriteRule ^articles/([^/]+)/?$ index.php?module=ArticlesView&category=$1 [L,QSA]RewriteRule ^articles/?$ index.php?module=ArticlesView [L,QSA]RewriteRule ^blog/([^/]+)/?$ index.php?module=ArticlesView&article_url=$1 [L,QSA]##articles # Корзина и заказыRewriteRule ^cart/?$ index.php?module=CartView [L,QSA]RewriteRule ^cart/([^/]+)/?$ index.php?module=CartView&add_variant=$1 [L,QSA]RewriteRule ^cart/remove/([^/]+)/?$ index.php?module=CartView&delete_variant=$1 [L,QSA]RewriteRule ^order/([^/]+)/?$ index.php?module=OrderView&url=$1 [L,QSA]RewriteRule ^order/?$ index.php?module=OrderView [L,QSA] # Для пользователейRewriteRule ^user/login/?$ index.php?module=LoginView [L,QSA]RewriteRule ^user/register/?$ index.php?module=RegisterView [L,QSA]RewriteRule ^user/logout/?$ index.php?module=LoginView&action=logout [L,QSA]RewriteRule ^user/password_remind/?$ index.php?module=LoginView&action=password_remind [L,QSA]RewriteRule ^user/password_remind/([0-9a-z]+)/?$ index.php?module=LoginView&action=password_remind&code=$1 [L,QSA]RewriteRule ^user/?$ index.php?module=UserView [L,QSA] # Google sitemapRewriteRule ^sitemap.xml?$ sitemap.php [L,QSA] # XMLRewriteRule ^yandex.xml?$ yandex.php [L,QSA] # feedbackRewriteRule ^contact/?$ index.php?module=FeedbackView [L,QSA] #downloadsRewriteRule ^order/([^/]+)/([^/]+)/?$ index.php?module=OrderView&url=$1&file=$2 [L,QSA] # Статические страницыRewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule ^([^/]*)/?$ index.php?module=PageView&page_url=$1 [L,QSA]RewriteRule ^/?$ index.php?module=MainView&page_url= [L,QSA]#RewriteRule ^/?$ index.php?module=ProductsView [L,QSA] # Ресайз картинок на летуRewriteCond %{REQUEST_FILENAME} !-dRewriteCond %{REQUEST_FILENAME} !-fRewriteRule ^files/products/(.+) resize/resize.php?file=$1&token=%{QUERY_STRING}#RewriteCond %{THE_REQUEST} ^GET\ (.*)files/products/(.*)\?([A-z0-9]*) #RewriteRule ^files/products/(.+) resize/resize.php?file=%2&token=%3 [L,NE] #articlesRewriteCond %{REQUEST_FILENAME} !-dRewriteCond %{REQUEST_FILENAME} !-fRewriteRule ^files/(.+)/(.+) resize/resize.php?type=$1&file=$2&token=%{QUERY_STRING}##articles # Редирект с www на без wwwRewriteEngine OnRewriteCond %{HTTP_HOST} ^www.sibvaleogroup.ru$ [NC]RewriteRule ^(.*)$ http://sibvaleogroup.ru/$1 [R=301,L] # -------------- КЕШИРОВАНИЕ НАЧАЛО --------------<IfModule mod_expires.c> ExpiresActive on # Задаем значение по умолчанию (для всех файлов) ExpiresDefault "access plus 1 month" # cache.appcache нельзя кэшировать в FF 3.6 ExpiresByType text/cache-manifest "access plus 0 seconds" # Ваш html документ <FilesMatch \.(html|xhtml|xml|shtml|phtml|php|txt)$> ExpiresDefault "access plus 0 seconds" </FilesMatch> ExpiresByType text/html "access plus 0 seconds" # Данные ExpiresByType text/xml "access plus 0 seconds" ExpiresByType application/xml "access plus 0 seconds" ExpiresByType application/json "access plus 0 seconds" # Рассылка ExpiresByType application/rss+xml "access plus 1 hour" ExpiresByType application/atom+xml "access plus 1 hour" # Favicon (не может быть переименован) <FilesMatch \.(ico)$> ExpiresDefault "access plus 1 week" </FilesMatch> ExpiresByType image/x-icon "access plus 1 week" # Медиа: изображения, видео, аудио <FilesMatch \.(gif|png|jpg|jpeg|ogg|mp4|mkv|flv|swf|wmv|asf|asx|wma|wax|wmx|wm)$> ExpiresDefault "access plus 1 year" </FilesMatch> ExpiresByType image/gif "access plus 1 month" ExpiresByType image/png "access plus 1 month" ExpiresByType image/jpeg "access plus 1 month" ExpiresByType video/ogg "access plus 1 month" ExpiresByType audio/ogg "access plus 1 month" ExpiresByType video/mp4 "access plus 1 month" ExpiresByType video/webm "access plus 1 month" # HTC файлы (css3pie) ExpiresByType text/x-component "access plus 1 month" # Веб-шрифты <FilesMatch \.(eot|ttf|otf|svg|woff)$> ExpiresDefault "access plus 1 year" </FilesMatch> ExpiresByType application/x-font-ttf "access plus 1 month" ExpiresByType font/opentype "access plus 1 month" ExpiresByType application/x-font-woff "access plus 1 month" ExpiresByType image/svg+xml "access plus 1 month" ExpiresByType application/vnd.ms-fontobject "access plus 1 month" # CSS и JavaScript <FilesMatch \.(css|js)$> ExpiresDefault "access plus 1 year" </FilesMatch> ExpiresByType text/css "access plus 1 year" ExpiresByType application/javascript "access plus 1 year" # Статичные ресурсы <FilesMatch \.(swf|pdf|doc|rtf|xls|ppt)$> ExpiresDefault "access plus 1 year" </FilesMatch> ExpiresByType application/x-shockwave-flash "access plus 1 year" ExpiresByType application/pdf "access plus 1 year" ExpiresByType application/msword "access plus 1 year" ExpiresByType application/rtf "access plus 1 year" ExpiresByType application/vnd.ms-excel "access plus 1 year" ExpiresByType application/vnd.ms-powerpoint "access plus 1 year"</IfModule> # FileETag None бывает не достаточно (для некоторых серверов).<IfModule mod_headers.c> Header unset ETag FileETag None # Браузер должен обновлять документ после заданного в секундах времени, которое задается в Cache-Control. <FilesMatch \.(html|xhtml|xml|shtml|phtml|php|txt)$> Header set Cache-Control "max-age=0, private, must-revalidate" </FilesMatch> <FilesMatch \.(ico|gif|png|jpg|jpeg|ogg|mp4|mkv|flv|swf|wmv|asf|asx|wma|wax|wmx|wm)$> Header set Cache-Control "max-age=31556926, public" </FilesMatch> <FilesMatch \.(eot|ttf|otf|svg|woff)$> Header set Cache-Control "max-age=31556926, public" </FilesMatch> <FilesMatch \.(css|js)$> Header set Cache-Control "max-age=31556926, public" </FilesMatch> <FilesMatch \.(swf|pdf|doc|rtf|xls|ppt)$> Header set Cache-Control "max-age=31556926, public" </FilesMatch></IfModule># -------------- КЕШИРОВАНИЕ КОНЕЦ -------------- Цитата Ссылка на сообщение Поделиться на другие сайты
Пастухов Опубликовано 9 декабря, 2017 Жалоба Поделиться Опубликовано 9 декабря, 2017 https://siteclinic.ru/blog/technical-aspects/404-not-found-error/ Цитата Ссылка на сообщение Поделиться на другие сайты
Рекомендуемые сообщения
Присоединяйтесь к обсуждению
Вы можете написать сейчас и зарегистрироваться позже. Если у вас есть аккаунт, авторизуйтесь, чтобы опубликовать от имени своего аккаунта.