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

#   Sef urls problems, Hikashop add string to urls

##

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

Less More

- Posts: 43
- Thank you received: 1
-
-

10 years 3 months ago -  10 years 3 months ago [\#247696](#247696) by [eduarddimitrov](/forum/user/34611-eduarddimitrov "View eduarddimitrov's Profile")  *[Sef urls problems, Hikashop add string to urls](/forum/32-content-creation/886017-sef-urls-problems-hikashop-add-string-to-urls#247696 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.6.19 -- Browser(s) name and version -- : firefox 47.0.1 -- Error-message(debug-mod must be tuned on) -- : #404 Page not found  In Hikashop are over 8200 products. Aliases of all products are set like product id's over phpmyadmin. So, product with id 1273441 must have alias: 1273441  But as result, all products urls are generated wrong and caused 404 error.  Why hikashop add this &quot;p&quot; to product alias??? The right product url must be: viva.superhosting.bg/~indugqog/produkti/p/1273441  You can see Sef urls configuration on attached screens. Hikashop version is latest - just downloaded from your website and updated.")* was created by *[eduarddimitrov](/forum/user/34611-eduarddimitrov "View eduarddimitrov's Profile")*

-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.6.2
-- PHP version -- : 5.6.19
-- Browser(s) name and version -- : firefox 47.0.1
-- Error-message(debug-mod must be tuned on) -- : #404 Page not found

In Hikashop are over 8200 products. Aliases of all products are set like product id's over phpmyadmin. So, product with id 1273441 must have alias: 1273441

But as result, all products urls are generated wrong and caused 404 error.

Why hikashop add this "p" to product alias??? The right product url must be: **viva.superhosting.bg/~indugqog/produkti/p/1273441**

You can see Sef urls configuration on attached screens. Hikashop version is latest - just downloaded from your website and updated.

- [ ![sef.png](/forum/attachment/33041) ](/forum/attachment/33041 "sef.png") [ ](/forum/attachment/33041?download=1 "sef.png")
- [ ![product-url.png](/forum/attachment/33042) ](/forum/attachment/33042 "product-url.png") [ ](/forum/attachment/33042?download=1 "product-url.png")

Last edit: 10 years 3 months ago by [eduarddimitrov](/forum/user/34611-eduarddimitrov "View eduarddimitrov's Profile"). Reason: removed links

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

10 years 3 months ago [\#247697](#247697) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Sef urls problems, Hikashop add string to urls](/forum/32-content-creation/886017-sef-urls-problems-hikashop-add-string-to-urls#247697 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.6.19 -- Browser(s) name and version -- : firefox 47.0.1 -- Error-message(debug-mod must be tuned on) -- : #404 Page not found  In Hikashop are over 8200 products. Aliases of all products are set like product id's over phpmyadmin. So, product with id 1273441 must have alias: 1273441  But as result, all products urls are generated wrong and caused 404 error.  Why hikashop add this &quot;p&quot; to product alias??? The right product url must be: viva.superhosting.bg/~indugqog/produkti/p/1273441  You can see Sef urls configuration on attached screens. Hikashop version is latest - just downloaded from your website and updated.")*

Hi,

When the URL starts with a number, that number is the product ID.
If you are generating a SEF url and the alias is a number ; HikaShop must add an element so it won't mix-up between an alias and a product ID.
That is the reason why you have a "p".
If your alias is the product ID ; the best would be to remove the alias so the SEF url will start with the product ID.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [eduarddimitrov](/forum/user/34611-eduarddimitrov "View eduarddimitrov's Profile")

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

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

Less More

- Posts: 43
- Thank you received: 1
-
-

10 years 3 months ago -  10 years 3 months ago [\#247754](#247754) by [eduarddimitrov](/forum/user/34611-eduarddimitrov "View eduarddimitrov's Profile")  Replied by *[eduarddimitrov](/forum/user/34611-eduarddimitrov "View eduarddimitrov's Profile")* on topic *[Sef urls problems, Hikashop add string to urls](/forum/32-content-creation/886017-sef-urls-problems-hikashop-add-string-to-urls#247754 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.6.19 -- Browser(s) name and version -- : firefox 47.0.1 -- Error-message(debug-mod must be tuned on) -- : #404 Page not found  In Hikashop are over 8200 products. Aliases of all products are set like product id's over phpmyadmin. So, product with id 1273441 must have alias: 1273441  But as result, all products urls are generated wrong and caused 404 error.  Why hikashop add this &quot;p&quot; to product alias??? The right product url must be: viva.superhosting.bg/~indugqog/produkti/p/1273441  You can see Sef urls configuration on attached screens. Hikashop version is latest - just downloaded from your website and updated.")*

Jerome, thank you. To change alias for one product is not a problem, but products are over 8220. Is there any other way to remove this "p" from urls? May be to change some line in router?

Last edit: 10 years 3 months ago by [eduarddimitrov](/forum/user/34611-eduarddimitrov "View eduarddimitrov's Profile").

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

10 years 3 months ago [\#247756](#247756) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Sef urls problems, Hikashop add string to urls](/forum/32-content-creation/886017-sef-urls-problems-hikashop-add-string-to-urls#247756 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.6.19 -- Browser(s) name and version -- : firefox 47.0.1 -- Error-message(debug-mod must be tuned on) -- : #404 Page not found  In Hikashop are over 8200 products. Aliases of all products are set like product id's over phpmyadmin. So, product with id 1273441 must have alias: 1273441  But as result, all products urls are generated wrong and caused 404 error.  Why hikashop add this &quot;p&quot; to product alias??? The right product url must be: viva.superhosting.bg/~indugqog/produkti/p/1273441  You can see Sef urls configuration on attached screens. Hikashop version is latest - just downloaded from your website and updated.")*

Hi,

Unfortunately, I cannot recommend that in any case.
If you modify the router in such way, you won't have any working routing if your product do not have any alias, if HikaShop have to generate a SEF URL with the product id and no alias ; that URL won't work. So it will be a serious bug.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 43
- Thank you received: 1
-
-

10 years 3 months ago [\#247861](#247861) by [eduarddimitrov](/forum/user/34611-eduarddimitrov "View eduarddimitrov's Profile")  Replied by *[eduarddimitrov](/forum/user/34611-eduarddimitrov "View eduarddimitrov's Profile")* on topic *[Sef urls problems, Hikashop add string to urls](/forum/32-content-creation/886017-sef-urls-problems-hikashop-add-string-to-urls#247861 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.6.19 -- Browser(s) name and version -- : firefox 47.0.1 -- Error-message(debug-mod must be tuned on) -- : #404 Page not found  In Hikashop are over 8200 products. Aliases of all products are set like product id's over phpmyadmin. So, product with id 1273441 must have alias: 1273441  But as result, all products urls are generated wrong and caused 404 error.  Why hikashop add this &quot;p&quot; to product alias??? The right product url must be: viva.superhosting.bg/~indugqog/produkti/p/1273441  You can see Sef urls configuration on attached screens. Hikashop version is latest - just downloaded from your website and updated.")*

Ok, we will change aliases in database again. What you recommend: just to add some symbol before numbers?

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

10 years 3 months ago [\#247891](#247891) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Sef urls problems, Hikashop add string to urls](/forum/32-content-creation/886017-sef-urls-problems-hikashop-add-string-to-urls#247891 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.6.19 -- Browser(s) name and version -- : firefox 47.0.1 -- Error-message(debug-mod must be tuned on) -- : #404 Page not found  In Hikashop are over 8200 products. Aliases of all products are set like product id's over phpmyadmin. So, product with id 1273441 must have alias: 1273441  But as result, all products urls are generated wrong and caused 404 error.  Why hikashop add this &quot;p&quot; to product alias??? The right product url must be: viva.superhosting.bg/~indugqog/produkti/p/1273441  You can see Sef urls configuration on attached screens. Hikashop version is latest - just downloaded from your website and updated.")*

Hi,

You can use a mass action to do such kind of repetitive task.
The idea is that the alias should not start with a digit ; otherwise HikaShop will add an "alpha" character before to not confuse the URL with a product id.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [eduarddimitrov](/forum/user/34611-eduarddimitrov "View eduarddimitrov's Profile")

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

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

Less More

- Posts: 43
- Thank you received: 1
-
-

10 years 3 months ago [\#247918](#247918) by [eduarddimitrov](/forum/user/34611-eduarddimitrov "View eduarddimitrov's Profile")  Replied by *[eduarddimitrov](/forum/user/34611-eduarddimitrov "View eduarddimitrov's Profile")* on topic *[Sef urls problems, Hikashop add string to urls](/forum/32-content-creation/886017-sef-urls-problems-hikashop-add-string-to-urls#247918 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.6.19 -- Browser(s) name and version -- : firefox 47.0.1 -- Error-message(debug-mod must be tuned on) -- : #404 Page not found  In Hikashop are over 8200 products. Aliases of all products are set like product id's over phpmyadmin. So, product with id 1273441 must have alias: 1273441  But as result, all products urls are generated wrong and caused 404 error.  Why hikashop add this &quot;p&quot; to product alias??? The right product url must be: viva.superhosting.bg/~indugqog/produkti/p/1273441  You can see Sef urls configuration on attached screens. Hikashop version is latest - just downloaded from your website and updated.")*

Already done with sql query over phpmyadmin. Now all products are with "p-idofproduct". Thank you for support!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODg2MDE3LXNlZi11cmxzLXByb2JsZW1zLWhpa2FzaG9wLWFkZC1zdHJpbmctdG8tdXJscz90bXBsPW1hcmtkb3du) 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.078 seconds

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