Jump to content
  • разработка интернет магазинов на opencart
  • доработка интернет магазинов на opencart

Дубли УРЛ


Recommended Posts

Вынужгден снова создать эту тему. Да как похожую проблему на мою не нашёл.

Использую SEO Backpack, им есть функция 

Unify URLs for products & categories:

Прихований текст

Unify URLs for products & categories:
If you enable this option, the links for your products and categories will be unified across all pages, regardless if you are on the home page, the category page or any other page. This will eliminate the duplicate content caused by the small changes in the URLs, which are generated by OpenCart.

После того, как ее вклюлил, функция зарилиила и создались урл продуктов без категорий. Но мне надо именно с категориями.

После отключения функции, она отклюлилась не полностью. На страницах категорий, продукты показываются с категориями урл, а на главной страниэто почему-то нет. 

Посмотрел по коду, что на главной, что на страниэто категорий урл вызывается одним и тем же кодом:

<?php echo $product['href']; ?>

Как мне вернуть категории в УРЛ? поможет ли восиновления базы данных из бекапа?

Может надо запрос какой-то сгделать в базе данных, или это не стем связано? Помогите 

Link to comment
Share on other sites


Мне впринцие подходит гделать все без категорий, но тогда надо сгделать 301 редирект со сирый ссылок на новые

Link to comment
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
 Share

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