Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Matborg

Newbie
  
  • Posts

    1
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Matborg's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Week One Done
  • One Month Later
  • Conversation Starter

Recent Badges

0

Reputation

  1. Добрый день, уважаемые! Знаю, тема довольно избитая, но инфы по 3 версии OpenCart с такой проблемой особо не нашел. Я к сожалению не сильно разбираюсь в OpenCart и настройках .htcaccess например, поэтому обращаюсь к Вам за помощью. При вводе неправильной ссылки внутри сайта, сервер отвечает 200-ым кодом, хотя должен 404. - Попробовал find-bom, ничего не нашел. - Запись <?php header ("HTTP/1.1 404 Not Found");?> в twig не вставишь - Кэш чистил - #Options +FollowSymlinks тоже не помог Заметил что в папке /catalog/view/theme/zemez971/template/ вообще не было папки error, перенес ее с папки "default", но тоже не помогло. Наверно я просто тычу пальцем в небо, возможно у 3 версии уже как то по другому нужно решать этот вопрос. В админке так же установлен модуль Complete SEO, может из-за него... Часть содержимого .htcaccess (вдруг поможет): # SEO URL Settings RewriteEngine On # If your opencart installation does not run on the main web folder make sure you folder it does run in ie. / becomes /shop/ RewriteBase / RewriteRule ^sitemap.xml$ index.php?route=extension/feed/google_sitemap [L] RewriteRule ^googlebase.xml$ index.php?route=extension/feed/google_base [L] RewriteRule ^system/download/(.*) index.php?route=error/not_found [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css) RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA] Header unset ETag FileETag None <IfModule mod_expires.c> # Enable expirations ExpiresActive On RewriteCond %{HTTPS} off RewriteCond %{HTTP:X-Forwarded-Proto} !https RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] php_value display_errors 0 php_value display_startup_errors 0 php_value error_reporting E_ALL
Guest
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.