A
A
Adik Izat2020-10-27 17:30:09
opencart
Adik Izat, 2020-10-27 17:30:09

OcStore 3.0.2.0 after installing SEO PRO, instead of category and products, a page with a 403 error is displayed. How to fix?

Dear members of the forum, I am contacting you after two hours of trying to fix the problem) Please help) I

installed the Seo Pro modifier for the 3.x version on the engine. In oc_seo_url in the database, I added the necessary records with standard pages, the required language and the store were added everywhere. Created several test categories and gave them a URL in the SEO tab. Standard pages work flawlessly. But the trouble is with categories and goods.
When I click on the link,
/index.php?route=product/category&path=7
everything is fine! And when I follow the link of the form,
/test-category
it gives an error 403.
The .htaccess file is default. The storage folder is in the root folder, the site itself too.
Tried:
1) change in htaccess +FollowSymLinks to +Sym...Match
2) play with the switches in the system settings of the store in the "server" tab, while constantly deleting storage / cache /, updating modifiers after clearing the cache and updating the template
cache the type of SEO filling was unacceptable
4) look in the router code, maybe something is wrong, as a result, I got confused in the classes that always refer to each other.

In theory, the redirect in .htaccess works correctly, judging by the lines:

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]

If not a file, not a directory/image/script/style, etc. then redirect to index.php. I don't know what could be wrong, so that url /index.php?route=product/category&path=7 would work but /test-categorynot

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
web-mechanic, 2020-11-02
@JaxAdam

probably, the reason here is not in seo pro, but in the server settings, 403 is an access denied

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question