Добрый день!
Столкнулся с проблемой.
Есть сайт на котором не работает чпу. При включенном чпу выдает 404 ошибку страница не найдена.
Перенес сайт на другой хост все заработало. Вопрос почему так?
То есть скопировал действующий сайт чтобы разобраться с проблемой(чпу) и она решилась сама собой.
(4 раза, разными способами делал копию каждый раз все нормально)
.htaccess.txt переименован в .htaccess
мод rewrite включен
.htaccess содержание файла:
# For any support issues please visit: http://www.opencart.com
Options +FollowSymlinks
Options +SymLinksIfOwnerMatch
# Prevent Directoy listing
Options -Indexes
# Prevent Direct Access to files
<FilesMatch "\.(tpl|ini|log)">
Order deny,allow
Deny from all
</FilesMatch>
# 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=feed/google_sitemap [L]
RewriteRule ^googlebase.xml$ index.php?route=feed/google_base [L]
RewriteRule ^download/(.*) /index.php?route=error/not_found [L]
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/
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]
Буду рад получить хоть какие то идеи почему так происходит.