• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 25.03.21, 12:42
  • Opened by: Idexa Web
  • Closed by: Anonymous Submitter
  • Closed on:
  • Reason: Not a bug

Ticket #21139 - AMP issues

Hi,
from a SEO perspective, I need to make some changes to the AMP version of my site.
I need to change the URL structure to match the ones I currently have in the desktop version.
Example:

AMP VERSION:
https://www.aesteticaitalia.com/mobile/product/146-vaschetta-disinfetta-strumenti-in-acciaio

DESKTOP VERSION:
https://www.aesteticaitalia.com/prodotti-per-igiene-e-sterilizzazione-estetiste/146-vaschetta-disinfetta-strumenti-in-acciaio.html

is it possible to delete the “Main URL Slug”? (now is set “mobile”, I tried to delete it but it still load)

Another question for both AMP and desktop version: is it possible to disable the structured data of the “related products” and of the products “of the same category” that appear in the product sheets? I mean the sliders that appears in product pages.

Comments

Fred 25 Mar 2021, 22:34

Hi, Idexa Web.
1. Unfortunately, it’s impossible to remove the slug
2. Do you want to modify the code or just disable the those products sections from the product page?

Idexa Web 26 Mar 2021, 12:49

Hi, ok for the slug, but what about the rest of URL? is it possible to have the same structure?

1) Example

DESKTOP
https://www.aesteticaitalia.com/category-name-xxx/product-name-777.html

AMP:
https://www.aesteticaitalia.com/MOBILE/category-name-xxx/product-name-777.html

Becouse now I have two different URL structure and I need to have the same structure (except form MOBILE slug)

2) And about “structured data” or “rich snippet” I dont know how you call it… I need in every product page code shows just main product (current product)rich snippet and not related products too. This aspect is very important for SEO.

Example of code of rich snippet:

<article class=”product-miniature js-product-miniature discount prodotti-depilazione” data-id-product=”37” data-id-product-attribute=”0” itemscope itemtype=”http://schema.org/Product“>

<meta itemprop="description" content="Cera Depilatoria Liposolubile Ultra Soft Zinco" />
<meta itemprop="image" content="https://www.aesteticaitalia.com/137-large_default/cera-depilatoria-liposolubile-ultra-soft-zinco.jpg" />
<meta itemprop="sku" content="98" />
  <meta itemprop="gtin13" content="" />
  <div itemprop="brand" itemtype="http://schema.org/Thing" itemscope>
  <meta itemprop="name" content="Aestetica Italia" />
</div>

Now in the product page there are these pieces of code for each product that appears on the page (upsell, crossell, related ecc.) . I need this code to appear only for the main product I am viewing. (See image attached)

Thank you

Attachments:

RICH-SNIPPET.jpg (590.2 KiB)
Fred 26 Mar 2021, 16:35

1. Yes, I see. That requires a bit time to make same urls. We’ll try to find a solution as soon as possible
2. There is no option to disable that. You need to remove it from the theme’s code. But those product miniatures used in category page as well so you will brake rich snippets there

Idexa Web 26 Mar 2021, 17:36

1) Ok
2) Understood, yes I need to do that. Kindly,can you tell me you what file I need to customize for doing this? thank you

Fred 27 Mar 2021, 11:07

The file is /themes/alysum/templates/catalog/_partials/miniatures/product.tpl