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

#   URL rewriting not OK after installing HikaShop

##

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

Less More

- Posts: 5
- Thank you received: 0
-
-

10 years 5 months ago -  10 years 5 months ago [\#238305](#238305) by [dzseti](/forum/user/42791-dzseti "View dzseti's Profile")  *[URL rewriting not OK after installing HikaShop](/forum/25-install-update/884165-url-rewriting-not-ok-after-installing-hikashop#238305 "For menu items being added after installing HikaShop URL rewriting is not working properly.  Eg a menu item with the alias 'paypal-query', which should be rewritten to   www.example.com/paypal-query , is actually rewritten to   www.example.com/Products/paypal-query")* was created by *[dzseti](/forum/user/42791-dzseti "View dzseti's Profile")*

For menu items being added after installing HikaShop URL rewriting is not working properly.

Eg a menu item with the alias 'paypal-query', which should be rewritten to [ www.example.com/paypal-query](http://www.example.com/paypal-query), is actually rewritten to [ www.example.com/Products/paypal-query](http://www.example.com/Products/paypal-query)

Last edit: 10 years 5 months ago by [dzseti](/forum/user/42791-dzseti "View dzseti's Profile"). Reason: typo

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

- **[Philip](/forum/user/34318-philip "View Philip's Profile")**
- [![Philip's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar34318_2015-11-18-2.png)](/forum/user/34318-philip "View Philip's Profile")
- [ Offline](/forum/user/34318-philip)

Less More

- Posts: 4820
- Thank you received: 654
-
-

10 years 5 months ago -  10 years 5 months ago [\#238349](#238349) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[URL rewriting not OK after installing HiakShop](/forum/25-install-update/884165-url-rewriting-not-ok-after-installing-hikashop#238349 "For menu items being added after installing HikaShop URL rewriting is not working properly.  Eg a menu item with the alias 'paypal-query', which should be rewritten to   www.example.com/paypal-query , is actually rewritten to   www.example.com/Products/paypal-query")*

Hello,

did you configure your **HikaShop SEF options** ?
Go to :
- **Components** =&gt; **HikaShop** =&gt; **Configuration**
- Click on **Features** tab, and go on **SEF url options** part

For follow your Url example, see the screenshot on below :

[ ![SEFurlOptions.png](/forum/attachment/31045) ](/forum/attachment/31045 "SEFurlOptions.png")

Simply remove **Product SEF name** as on this screenshot, must be enough to have what you want in your precise example.

Hope this will help you.

Regards,

- [ ![SEFurlOptions.png](/forum/attachment/31045) ](/forum/attachment/31045 "SEFurlOptions.png") [ ](/forum/attachment/31045?download=1 "SEFurlOptions.png")

Last edit: 10 years 5 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

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

Less More

- Posts: 5
- Thank you received: 0
-
-

10 years 5 months ago [\#238420](#238420) by [dzseti](/forum/user/42791-dzseti "View dzseti's Profile")  Replied by *[dzseti](/forum/user/42791-dzseti "View dzseti's Profile")* on topic *[URL rewriting not OK after installing HikaShop](/forum/25-install-update/884165-url-rewriting-not-ok-after-installing-hikashop#238420 "For menu items being added after installing HikaShop URL rewriting is not working properly.  Eg a menu item with the alias 'paypal-query', which should be rewritten to   www.example.com/paypal-query , is actually rewritten to   www.example.com/Products/paypal-query")*

No it doesn't solve the problem - '/Product/' still appears in the middle of the URL

This must be a more fundamental problem, because URL rewriting for all menu items prior to installation works perfectly - it is only recent menu items that don't work - I wonder whether it is something to do with processing order?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg4NDE2NS11cmwtcmV3cml0aW5nLW5vdC1vay1hZnRlci1pbnN0YWxsaW5nLWhpa2FzaG9wP3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14265
-
-

10 years 5 months ago [\#238441](#238441) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[URL rewriting not OK after installing HikaShop](/forum/25-install-update/884165-url-rewriting-not-ok-after-installing-hikashop#238441 "For menu items being added after installing HikaShop URL rewriting is not working properly.  Eg a menu item with the alias 'paypal-query', which should be rewritten to   www.example.com/paypal-query , is actually rewritten to   www.example.com/Products/paypal-query")*

Hi,

Hard to say. We don't know how your menu items are configured and what structure they have.
A link to a product page is constructed like that:
http(s) ![:/](/irritated.gif ":/")/ yourwebsite.com / the alias of the current menu item (and potentially the alias of its parent menu items) unless it's the homepage / the product SEF name if specified / the alias of the product

So if Product doesn't come from your product SEF name, it must come from the alias of the current menu item and that's added automatically by Joomla because you're accessing the product through a menu item with that alias which is not the homepage.

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

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

Less More

- Posts: 5
- Thank you received: 0
-
-

10 years 5 months ago -  10 years 5 months ago [\#238950](#238950) by [dzseti](/forum/user/42791-dzseti "View dzseti's Profile")  Replied by *[dzseti](/forum/user/42791-dzseti "View dzseti's Profile")* on topic *[URL rewriting not OK after installing HikaShop](/forum/25-install-update/884165-url-rewriting-not-ok-after-installing-hikashop#238950 "For menu items being added after installing HikaShop URL rewriting is not working properly.  Eg a menu item with the alias 'paypal-query', which should be rewritten to   www.example.com/paypal-query , is actually rewritten to   www.example.com/Products/paypal-query")*

I have narrowed the problem down to the wrong path being added to the Joomla table __menu whenever a new menu item is created (after the installation of HikaShop).

I have checked $table data in the save function from /administrator/components/com_menus/models/item.php, which shows no problems: item name, alias and path are all the same (no '/Products/' in path).

To test whether HikaShop might be doing something I manually changed the menu item linking to index.php?option=com_hikashop&amp;ctrl=product in the __menu table: alias changed from 'Products' to 'ProductsXX' Then whenever I create a new menu item I get '/ProductsXX/' in the path - see screen shot:

[ ![hikashop-problem.png](/forum/attachment/31179) ](/forum/attachment/31179 "...op-problem.png")

Can't work out what is going on, but it does seem to be an override from HikaShop that is causing this - and having paid almost EURO 100 to buy the business version, it would be good to get this sorted out!

- [ ![hikashop-problem.png](/forum/attachment/31179) ](/forum/attachment/31179 "...op-problem.png") [ ](/forum/attachment/31179?download=1 "...op-problem.png")

Last edit: 10 years 5 months ago by [dzseti](/forum/user/42791-dzseti "View dzseti's Profile"). Reason: typo

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

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

[](#top)
