Answer the question
In order to leave comments, you need to log in
How to open category with catalog alias?
Greetings.
There is a category in the store with the alias "catalog", which matches the name of the opencart folder.
When I click on the site.ru/catalog link, I get Access forbidden!
Actually a question: how to make so that the category opened.
There is such an option, but not working. Why?)
RewriteCond %{REQUEST_URI} ^/catalog/?$ [NC]
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^(.*)$ index.php?_route_=product/category&path=1&%1 [L]
Answer the question
In order to leave comments, you need to log in
As an option, rename the catalog folder to something else, in config.php (main and admin) to reflect this change
define('DIR_APPLICATION', '.........../catalog+++/');
define('DIR_CATALOG','.........../catalog+++/');
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question