Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hello, how could I make my links shorter, removing the /collections/ part?
Example:
I would like the link to be https://tuttocapsule.lt/products/kavos-kapsules-nescafe-dolce-gusto-aparatams-pagliero-cremoso-16-vn...
STORE URL: TUTTOCAPSULE.LT
THEME: CORNERSTONE
Solved! Go to the solution
This is an accepted solution.
Hi @asajce
There is another method you can try,
From the collection file replace the code ( Don't know the exact file but you can search the code in collection files )
{{ product.url | within: collection }}, you will need to remove |within:collection and keep only {{ product.url }} it will remove the collection reference from the URL.
Hello! @asajce You can shorten links by following these steps.
For Products:
https://app.tango.us/app/workflow/Editing-the-URL-Handle-for-a-Product-on-Shopify-7dccfc0f6d55463682...
For Collection:
https://app.tango.us/app/workflow/How-could-I-make-my-links-shorter-d8250937c2ec47558798e5fd988c8f2e
If you need further assistance, please let me know. If you found my help useful, consider liking this message and marking it as the solution.😊
Hello, thank you for you help. Unfortunately that doesn't remove the /collection/ part when going from collection to product through the website 😞
Unfortunately, that is not possible at all because that is controlled by Shopify themselves. No way for you to remove /collection/ or /products/ etc.
This is an accepted solution.
Hi @asajce
There is another method you can try,
From the collection file replace the code ( Don't know the exact file but you can search the code in collection files )
{{ product.url | within: collection }}, you will need to remove |within:collection and keep only {{ product.url }} it will remove the collection reference from the URL.
Hey @asajce If the solution presented meets your needs and addresses your query effectively, I encourage you to accept it as the chosen answer. This will acknowledge the support you received and aid fellow community members in identifying reliable and effective solutions for their similar concerns.
Thank you.😊
Hey @asajce
If the solution presented meets your needs and addresses your query effectively, I encourage you to accept it as the chosen answer. This will acknowledge the support you received and aid fellow community members in identifying reliable and effective solutions for their similar concerns.
Thank you.
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024