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

Не работает ЧПУ на Opencart Pro 23022


Recommended Posts

Добрый день.

Проблема: на одном сервере лежат два одинаковых магаза из одной коробки- один рабочий, второй тестовый.

общий адрес на сервере типа var/www/virtual/site1 и var/www/virtual/site2

База совпадает. .htaccess-ы идентичные.

Тестовый магаз работает с ЧПУ, рабочий - выдает ошибку.


В адресной строке появляется ссыль типа сайт.ру/home

А на экране

"Not Found

The requested URL /home/ was not found on this server."

 

Как это можно исправить?

 

Хостинг свой собственный, на Centos 6.8 (админ в бегах)))

Содержание .htaccess:

Options +SymLinksIfOwnerMatch

# Prevent Directoy listing
Options -Indexes

# Prevent Direct Access to files
<FilesMatch "(?i)((\.tpl|\.ini|\.log|(?<!robots)\.txt))">
#Require all denied
## For apache 2.2 and older, replace "Require all denied" with these two lines :
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 /
RewriteCond %{HTTP_HOST} ^www.сайт.ru
RewriteRule ^(.*)$ http://сайт.ru/$1 [R=permanent,L]
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]

 

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • 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.