Дубли virtuemart

More
8 years 5 months ago #5918 by Андрей Темников
Здравствуйте.
Есть такая проблема - для того, что бы работал фильтр и было удобно пользователям, все товары распределены по 2 категориям (самой верхней) и её подкатегории. Соответственно,, товар доступен по 2 адресам - сайт.ру/категория/товар и сайт.ру/категория/подкатегория/товар. Мне нужно что бы сам товар конечно-же показывался только по второй ссылке (по полной).
Сможет ли ваш плагин редиректить первую ссылку?

Please Log in or Create an account to join the conversation.

More
8 years 5 months ago #5922 by JoomLine
Replied by JoomLine on topic Дубли virtuemart
Если это два разных товара, которые отнесены к двум разным категориям, то мы это исправить не сможем, так как это ошибка проектирования сайта, а не проблема роутера.

Please Log in or Create an account to join the conversation.

More
8 years 2 months ago #6138 by Анастасия
Если это один и тот же товар, который относится к двум разным категориям, и соответственно доступен через обе категории, плагин склеит эти страницы?

Please Log in or Create an account to join the conversation.

More
8 years 2 months ago #6140 by JoomLine
Replied by JoomLine on topic Дубли virtuemart
Нет не склеит. Так как логики склеивания нет.
Виртуемарт устроен так, что если товар отнесен к двум категориям, то это два товара в двух категориях, с точки зрения Joomla, тут все правильно.

Please Log in or Create an account to join the conversation.

More
7 years 10 months ago #6528 by Roman
Replied by Roman on topic Дубли virtuemart
Так в том то вся и проблема что это не другая категория а подкатегория. Допустим есть категория мебель, и в ней есть подкатегория кушетка, и в каждой подкатегории кушетка есть десяток разных моделей. Так если взять модель кушетки то ей присваивается категории относящиеся к ней, тоесть кушетка и мебель. Таким образом она открывается в мебели или в кушетках. Так вот тут и создаются дубли, сможет ли данный плагин их склеить.

Please Log in or Create an account to join the conversation.

More
7 years 9 months ago - 7 years 9 months ago #6529 by JoomLine
Replied by JoomLine on topic Дубли virtuemart
Категория / подкатегория с точки зрения виртуемарт это все категории с разным уровнем вложенности, если вы относите товар к двум категориям то это два товара, у них будут различные ссылки.

Даже если мы вдруг сделаем редирект, на один товар, то что это вам даст? Только понижение с точки зрения поисковиков, так как у вас будет ошибка в структуре сайта. У вас ссылка идет на товар с категории... А мы редиректим на товар в другой категории. То есть это явная ошибка с точки зрения структуры сайта получится. Тут надо изменять принцип формирования ссылки и отнесения товара к категориям. Кстати возможно эти проблемы исправили в virtuemart 3.2 они там много чего по поводу мартшрутизации правили. Но мы его еще не смотрели.
Last edit: 7 years 9 months ago by JoomLine.

Please Log in or Create an account to join the conversation.

More
7 years 9 months ago #6533 by Roman
Replied by Roman on topic Дубли virtuemart
Ок, спасибо. Гляну.

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum

Last from the forum

    • чет не работает
    • You may have heard about the for a while now, but you still don't dare to visit them. It is time for you to lose your fear of these prostitute websites. Take your mobile phone, and visit it now. The escorts are local prostitutes you can access for a minimum amount.
    • In Component / Yandex Market XML
    • After searching the house and finding nothing,
    • One day, a curious boy named Sam moved into the house with his family. As he explored the property, he noticed a rusty, old key lying under a bush. Sam picked it up, wondering what it might unlock. After searching the house and finding nothing, Sam decided to try the key on the garden gate. To his surprise, the key fit perfectly. With a turn of the key and a creak of the hinges, the gate slowly swung open. Inside the garden, Sam was greeted by a sight of wonder. The garden was overgrown but full of vibrant flowers, exotic plants, and a small, sparkling pond. In the middle of the garden stood a beautiful stone statue of a unicorn. As Sam explored further, he discovered a small plaque next to the statue. It read: "To whoever finds this garden, may you always find joy in the beauty of nature and the magic of discovery." Sam spent hours in the garden, exploring every corner and marveling at the hidden beauty. The garden seemed to have a magical quality that made Sam feel at peace and incredibly happy. From that day on, Sam made it a habit to visit the garden every day, taking care of it and sharing its beauty with his friends and family. The once-forgotten garden became a place of joy and wonder for everyone who visited. And so, Sam learned that sometimes, the greatest treasures are not just the secrets we uncover but the beauty and joy we find in them
    • In Component / Afisha Joomla
    • search engine optimization
    • One crisp autumn afternoon, while playing near the house, Emma noticed something shiny half-buried in the dirt. She dug it up and found an old, ornate key with intricate designs. Excited, she wondered what it might open. With the key clutched tightly in her hand, she approached the old house. The door creaked open with surprising ease, and Emma stepped inside. The interior was just as dusty as the outside, but it had an air of mystery. She wandered through the rooms, discovering old furniture and forgotten toys. Each room told a story of a family that had once lived there long ago. As she explored, Emma came upon a small, locked chest in the corner of one room. Her heart raced as she inserted the key into the lock. With a satisfying click, the chest opened to reveal a collection of old photographs, letters, and a beautiful, hand-carved wooden box. Inside the wooden box was a small locket. When Emma opened it, she saw a picture of a young girl who looked strikingly similar to herself. Beside the locket was a letter addressed to "The Finder of the Key." The letter explained that the house had belonged to a family who had to leave quickly many years ago, leaving behind their cherished belongings. The letter's writer was the young girl’s great-grandparent, and the locket was a family heirloom meant to be passed down. Emma's heart swelled with joy as she realized that she had discovered a piece of her own history. She decided to bring the locket and the other treasures to her parents. They were amazed and touched by the find, and they decided to restore the old house, making it a special place to remember their family’s history. From that day on, the house was no longer forgotten. It became a cherished part of the town, where Emma and her family would often visit, sharing stories of the past and making new memories. And so, the little girl with the curious heart had not only uncovered a hidden treasure but had also brought new life to a piece of history, all with a simple, forgotten key.
    • In Component / JL TV
© 2010- JoomLine
The Joomla!® name is used under a limited license from Open Source Matters in the United States and other countries. joomline.net is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

email: This email address is being protected from spambots. You need JavaScript enabled to view it.