[Skip to main content](#vessel-content)

#   hide name in url &amp; generate/export product links?

##

- **[SG](/forum/user/12204-sg "View SG's Profile")**
- [![SG's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/12204-sg "View SG's Profile") Topic Author
- [ Offline](/forum/user/12204-sg)

Less More

- Posts: 101
- Thank you received: 12
-
-

11 years 11 months ago -  11 years 11 months ago [\#184128](#184128) by [SG](/forum/user/12204-sg "View SG's Profile")  *[hide name in url &amp; generate/export product links?](/forum/26-product-category-display/873797-hide-name-in-url-generate-export-product-links#184128 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 2.5.27 -- PHP version -- : 5.4  Hi,  Is it possible to hide the product&#95;name from the url? Now you have something like this when searching for a particular product.  index.php/en/hikashop-menu-for-products-listing/product/3942-a-example-of-a-product/  This would become: index.php/en/hikashop-menu-for-products-listing/product/3942/ So only the product&#95;id is shown.  Actually the import part is that I have a link   www.xxx.xx/xxxxx/product/3942  or something similar. I just need a link where there is the product id without the name so I can concatenate the url with product id.  Just in case. The configuration of the SEF settings: &#91;image&#93;  1) is it possible to remove the product&#95;name for the url above? 2) Is there a way to generate product links someway like with an export maybe? It's because we'd like to have a list of usable links in a csv for example together with product&#95;id, category&#95;id. Someone else is making a digital catalog and they need the links for the products. So they can link an image to a specific product page. If there is no way I suspect I'll have to export a csv and do in excel.  Thanks in advance.")* was created by *[SG](/forum/user/12204-sg "View SG's Profile")*

-- HikaShop version -- : 2.3.4
-- Joomla version -- : 2.5.27
-- PHP version -- : 5.4

Hi,

Is it possible to hide the product_name from the url?
Now you have something like this when searching for a particular product.

index.php/en/hikashop-menu-for-products-listing/product/3942-a-example-of-a-product/

This would become:
index.php/en/hikashop-menu-for-products-listing/product/3942/
So only the product_id is shown.

Actually the import part is that I have a link [ www.xxx.xx/xxxxx/product/3942](http://www.xxx.xx/xxxxx/product/3942) or something similar.
I just need a link where there is the product id without the name so I can concatenate the url with product id.

Just in case. The configuration of the SEF settings:
[ ![&#91;IMG](http://i58.tinypic.com/1zn8mx2.jpg) ](http://i58.tinypic.com/1zn8mx2.jpg "&#91;IMG")

1) is it possible to remove the product_name for the url above?
2) Is there a way to generate product links someway like with an export maybe? It's because we'd like to have a list of usable links in a csv for example together with product_id, category_id. Someone else is making a digital catalog and they need the links for the products. So they can link an image to a specific product page. If there is no way I suspect I'll have to export a csv and do in excel.

Thanks in advance.

Last edit: 11 years 11 months ago by [SG](/forum/user/12204-sg "View SG's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzM3OTctaGlkZS1uYW1lLWluLXVybC1nZW5lcmF0ZS1leHBvcnQtcHJvZHVjdC1saW5rcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

11 years 11 months ago [\#184158](#184158) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[hide name in url &amp; generate/export product links?](/forum/26-product-category-display/873797-hide-name-in-url-generate-export-product-links#184158 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 2.5.27 -- PHP version -- : 5.4  Hi,  Is it possible to hide the product&#95;name from the url? Now you have something like this when searching for a particular product.  index.php/en/hikashop-menu-for-products-listing/product/3942-a-example-of-a-product/  This would become: index.php/en/hikashop-menu-for-products-listing/product/3942/ So only the product&#95;id is shown.  Actually the import part is that I have a link   www.xxx.xx/xxxxx/product/3942  or something similar. I just need a link where there is the product id without the name so I can concatenate the url with product id.  Just in case. The configuration of the SEF settings: &#91;image&#93;  1) is it possible to remove the product&#95;name for the url above? 2) Is there a way to generate product links someway like with an export maybe? It's because we'd like to have a list of usable links in a csv for example together with product&#95;id, category&#95;id. Someone else is making a digital catalog and they need the links for the products. So they can link an image to a specific product page. If there is no way I suspect I'll have to export a csv and do in excel.  Thanks in advance.")*

Hi,

I think that the solution for the both issues is to use the canonical urls.
In the product edition page, fill the canonical url without the product name in the url.
And then in the export, you can use the mass actions and select the product_canonical field to export the product url.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzM3OTctaGlkZS1uYW1lLWluLXVybC1nZW5lcmF0ZS1leHBvcnQtcHJvZHVjdC1saW5rcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.054 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
