how to change this url :
https://makerlab-electronics.com/collections/all
to this url:
A user wants to change their URL structure from /collections/all to /products on their MakerLab Electronics site.
Key clarification: The correct URL is /products (plural), not /product (singular). Using the singular form results in a 404 error.
Important limitation: The prescribed URL structure of the online sales channel cannot be directly modified.
Suggested solutions:
/all collection if redirecting that specific endpoint<head>return_to parameter in menu linksNote on URL behavior:
/products displays all products/collections/ shows lists of collectionsThese pages serve different purposes and should be kept distinct.
!Important there is no /product (singular) url, only /products (plural)
If you point to /product (singular) that will be a 404 page with no content. You cannot modify the prescribed url structure of the online sales channel itself.
Creating redirects here
https://help.shopify.com/en/manual/online-store/menus-and-links/url-redirect
For specific endpoints like that you may have to delete the /all collection in the admin as well.
There’s also using client-side redirects through theme customization using either meta refresh in the of the page or using javascript, or using the return_to parameter in urls such as menu links.
Keep in mind those pages are doing two very different things/
/collections/al shows products
/products shows lists of collections
https://shopify.dev/docs/themes/architecture/templates/list-collections