How to remove the parameters behind the dynamic URL in the Shopify store?

How to remove the parameters behind the dynamic URL in the Shopify store?

trueimage
Tourist
6 0 1

Hi, friends.

My Shopify store is planning to do SEO. I ran into a little trouble.

When a user searches for a product in the search bar on the homepage of my website, he enters the search result page (product aggregation page). After the user clicks on any product, a parameter will follow the URL, such as "?_pos=1&_sid=6ce07f576&_ss=r ".

I don't understand the meaning of this parameter. But this kind of dynamic URL is obviously not conducive to SEO.

Is there a way to remove this parameter?

If you can provide valuable advice, I would be very grateful.

This is my website: Toner Cartridge

https://trueimagetech.com/

This is the URL of the product page with parameters:

https://trueimagetech.com/products/brother-compatible-tn760-black-toner-cartridge-1?_pos=1&_sid=6ce0...

 

1. User searches for product keywords on the homepage

trueimage_3-1636007376251.png

2. After entering the product aggregation page, the user clicks on any product

trueimage_1-1636004719548.png

3. Visit the URL of the product page with parameters, how to remove this parameter?

trueimage_2-1636006478714.png

 

 

Replies 2 (2)

unigulf
Visitor
2 0 1

I have Same issue on Empire 7.0 Theme... Please help me ..any shopify staffs here

MRamzan
Shopify Partner
523 3 46

You can clean this product page url.

I have solved it using a simple code snippet.

 

1. Go to store dashboard -> edit code -> theme.liquid

 

2. Find <head tag in theme.liquid file and just in the next line paste below javascript code.

 

Hire Me:

WhatsApp: +91-9145985880
Email: mohdramzaan112@gmail.com
Skype: mohdramzaan112