Answer the question
In order to leave comments, you need to log in
Does it negatively affect indexing?
Hello. There is one very exciting question.
In the product category, all products are displayed as expected. For each product, the name is a link to the product's internal page (site.ru/pizza/syrnaya).
In fact - I don't need that when clicking on the name - a person goes to the product page. It is necessary only for the link mass of the site. To view product information, I use modal windows.
Therefore, when clicking on the title - I kept the href parameter, but added onclick. Now it looks like this:
<a itemprop="url" href="https://site.ru/pizza/syrnaya" onclick="quickview(97); return false" class="product-title">Сырная</a>
<url>
<loc>https://test.ru/rolly/dve-tortili-s-ovoshchami</loc>
<changefreq>weekly</changefreq>
<lastmod>2019-06-18T22:22:33+03:00</lastmod>
<priority>1.0</priority>
<image:image>
<image:loc>https://test.ru/image/cache/catalog/demo/demo-cover/2432fdsfs-260x200.jpg</image:loc>
<image:caption>Две тортильи с овощами</image:caption>
<image:title>Две тортильи с овощами</image:title>
</image:image>
</url>
<url>
<loc>https://test.ru/rolly/dve-tortili-s-ovoshchami</loc>
<changefreq>weekly</changefreq>
<priority>1.0</priority>
</url>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question