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

#   change url without using sh404 or sef extension

##

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

Less More

- Posts: 37
- Thank you received: 1
-
-

15 years 4 months ago [\#21395](#21395) by [Arathol](/forum/user/3260-arathol "View Arathol's Profile")  *[change url without using sh404 or sef extension](/forum/4-how-to/21395-change-url-without-using-sh404-or-sef-extension#21395 "Hi Nicolas,  I currently have a url issue like this.  I have created a menu to each products listing. eg: accessories. I also have a menu to the top level product category itself (category listing).  When i go direct to accessories via menu i get url:  When i go there by clicking on the products menu, and then clicking on the accessories product listing in that category it uses url: :angry:  I would rather have my url's as simple as possible and have it just  How would i achieve this? I dont want to get a 3rd party sef url rewrite extension in there.  Many thanks in advance :) Arathol")* was created by *[Arathol](/forum/user/3260-arathol "View Arathol's Profile")*

Hi Nicolas,

I currently have a url issue like this.

I have created a menu to each products listing. eg: accessories.
I also have a menu to the top level product category itself (category listing).

When i go direct to accessories via menu i get url: Code:

http://localhost/website/index.php/products/accessories

When i go there by clicking on the products menu, and then clicking on the accessories product listing in that category it uses url: Code:

http://localhost/website/index.php/products/category/listing/11-accessories

![:angry:](/media/kunena/emoticons/23.png ":angry:")

I would rather have my url's as simple as possible and have it just Code:

http://localhost/website/index.php/products/accessories

How would i achieve this? I **dont** want to get a 3rd party sef url rewrite extension in there.

Many thanks in advance ![:)](/media/kunena/emoticons/3.png ":)")
Arathol

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86561
- Thank you received: 14307
-
-

15 years 4 months ago [\#21396](#21396) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: change url without using sh404 or sef extension](/forum/4-how-to/21395-change-url-without-using-sh404-or-sef-extension#21396 "Hi Nicolas,  I currently have a url issue like this.  I have created a menu to each products listing. eg: accessories. I also have a menu to the top level product category itself (category listing).  When i go direct to accessories via menu i get url:  When i go there by clicking on the products menu, and then clicking on the accessories product listing in that category it uses url: :angry:  I would rather have my url's as simple as possible and have it just  How would i achieve this? I dont want to get a 3rd party sef url rewrite extension in there.  Many thanks in advance :) Arathol")*

Hi,

You can change the code in the file components/com_hikashop/router.php in order to do what you want.

Otherwise, with sh404sef and some easy modification of the sef_ext.php file you should be able to achieve it: [ www.hikashop.com/en/support/forum/4-how-...04-sef-question.html](http://www.hikashop.com/en/support/forum/4-how-to/21310-sh404-sef-question.html)

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

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

Less More

- Posts: 37
- Thank you received: 1
-
-

15 years 4 months ago [\#21400](#21400) by [Arathol](/forum/user/3260-arathol "View Arathol's Profile")  Replied by *[Arathol](/forum/user/3260-arathol "View Arathol's Profile")* on topic *[Re: change url without using sh404 or sef extension](/forum/4-how-to/21395-change-url-without-using-sh404-or-sef-extension#21400 "Hi Nicolas,  I currently have a url issue like this.  I have created a menu to each products listing. eg: accessories. I also have a menu to the top level product category itself (category listing).  When i go direct to accessories via menu i get url:  When i go there by clicking on the products menu, and then clicking on the accessories product listing in that category it uses url: :angry:  I would rather have my url's as simple as possible and have it just  How would i achieve this? I dont want to get a 3rd party sef url rewrite extension in there.  Many thanks in advance :) Arathol")*

Thanks Nicolas,

I did look at that post, before even starting this new thread, but I have no programming, let alone php, knowledge so I dont know what code to use or where to edit the files you told me.

I dont really want to use sh404 and would rather just change the original hikashop code.
Also, i see my products have a very long url as well with number in front of the name which I would rather not have and a /category_pathway-11 after the name of the product.

Please could you help me with a detailed description of what code to add and where to add it.

Thanks!

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86561
- Thank you received: 14307
-
-

15 years 4 months ago [\#21402](#21402) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: change url without using sh404 or sef extension](/forum/4-how-to/21395-change-url-without-using-sh404-or-sef-extension#21402 "Hi Nicolas,  I currently have a url issue like this.  I have created a menu to each products listing. eg: accessories. I also have a menu to the top level product category itself (category listing).  When i go direct to accessories via menu i get url:  When i go there by clicking on the products menu, and then clicking on the accessories product listing in that category it uses url: :angry:  I would rather have my url's as simple as possible and have it just  How would i achieve this? I dont want to get a 3rd party sef url rewrite extension in there.  Many thanks in advance :) Arathol")*

Hi,

The modification is too complex to be done here. It's out of the scope of that support forum. We don't even know yet how we want to do it for now.
We usually help people when the modification is easy but that will require several hours of work to do it properly.

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

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

Less More

- Posts: 37
- Thank you received: 1
-
-

15 years 3 months ago [\#21448](#21448) by [Arathol](/forum/user/3260-arathol "View Arathol's Profile")  Replied by *[Arathol](/forum/user/3260-arathol "View Arathol's Profile")* on topic *[Re: change url without using sh404 or sef extension](/forum/4-how-to/21395-change-url-without-using-sh404-or-sef-extension#21448 "Hi Nicolas,  I currently have a url issue like this.  I have created a menu to each products listing. eg: accessories. I also have a menu to the top level product category itself (category listing).  When i go direct to accessories via menu i get url:  When i go there by clicking on the products menu, and then clicking on the accessories product listing in that category it uses url: :angry:  I would rather have my url's as simple as possible and have it just  How would i achieve this? I dont want to get a 3rd party sef url rewrite extension in there.  Many thanks in advance :) Arathol")*

Thanks for the help. Ill have to sort it out once the rest of the site is done.

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

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