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

#   Function hikashop\_frontendLink generate non-sef ur

##

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

Less More

- Posts: 4
- Thank you received: 0
-
-

11 years 7 months ago [\#198599](#198599) by [Arkadiy](/forum/user/35483-arkadiy "View Arkadiy's Profile")  *[Function hikashop\_frontendLink generate non-sef ur](/forum/3-bug-report/876377-function-hikashop-frontendlink-generate-non-sef-ur#198599 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5 -- Error-message(debug-mod must be tuned on) -- : None  Function hikashop&#95;frontendLink generate non-sef url. administrator/components/com&#95;hikashop/helpers/helper.php string 778 $config = hikashop&#95;config(); $app = JFactory::getApplication(); if(!$app-&gt;isAdmin() &amp;&amp; $config-&gt;get('use&#95;sef',0)){ $link = ltrim(JRoute::&#95;($link,false),'/'); } 'use&#95;sef' not found in settings, but 'activate&#95;sef' found.")* was created by *[Arkadiy](/forum/user/35483-arkadiy "View Arkadiy's Profile")*

-- HikaShop version -- : 2.4.0
-- Joomla version -- : 3.4.1
-- PHP version -- : 5
-- Error-message(debug-mod must be tuned on) -- : None

Function hikashop_frontendLink generate non-sef url.
administrator/components/com_hikashop/helpers/helper.php
string 778
$config = hikashop_config();
$app = JFactory::getApplication();
if(!$app-&gt;isAdmin() &amp;&amp; $config-&gt;get('use_sef',0)){
$link = ltrim(JRoute::_($link,false),'/');
}
'use_sef' not found in settings, but 'activate_sef' found.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84NzYzNzctZnVuY3Rpb24taGlrYXNob3AtZnJvbnRlbmRsaW5rLWdlbmVyYXRlLW5vbi1zZWYtdXI/dG1wbD1tYXJrZG93bg==) 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)
-

11 years 7 months ago [\#198601](#198601) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Function hikashop\_frontendLink generate non-sef ur](/forum/3-bug-report/876377-function-hikashop-frontendlink-generate-non-sef-ur#198601 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5 -- Error-message(debug-mod must be tuned on) -- : None  Function hikashop&#95;frontendLink generate non-sef url. administrator/components/com&#95;hikashop/helpers/helper.php string 778 $config = hikashop&#95;config(); $app = JFactory::getApplication(); if(!$app-&gt;isAdmin() &amp;&amp; $config-&gt;get('use&#95;sef',0)){ $link = ltrim(JRoute::&#95;($link,false),'/'); } 'use&#95;sef' not found in settings, but 'activate&#95;sef' found.")*

Hi,

The option "use_sef" is not available because it is not possible to generate a SEF url when you're in the backend.

Regards,

---

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

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

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

Less More

- Posts: 4
- Thank you received: 0
-
-

11 years 7 months ago [\#198652](#198652) by [Arkadiy](/forum/user/35483-arkadiy "View Arkadiy's Profile")  Replied by *[Arkadiy](/forum/user/35483-arkadiy "View Arkadiy's Profile")* on topic *[Function hikashop\_frontendLink generate non-sef ur](/forum/3-bug-report/876377-function-hikashop-frontendlink-generate-non-sef-ur#198652 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5 -- Error-message(debug-mod must be tuned on) -- : None  Function hikashop&#95;frontendLink generate non-sef url. administrator/components/com&#95;hikashop/helpers/helper.php string 778 $config = hikashop&#95;config(); $app = JFactory::getApplication(); if(!$app-&gt;isAdmin() &amp;&amp; $config-&gt;get('use&#95;sef',0)){ $link = ltrim(JRoute::&#95;($link,false),'/'); } 'use&#95;sef' not found in settings, but 'activate&#95;sef' found.")*

1. I have not found the option 'use_sef' in the store settings. What page is it, and what is named?
2. On the front function hikashop_frontendLink generate non-SEF link from my script.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84NzYzNzctZnVuY3Rpb24taGlrYXNob3AtZnJvbnRlbmRsaW5rLWdlbmVyYXRlLW5vbi1zZWYtdXI/dG1wbD1tYXJrZG93bg==) 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 7 months ago [\#198669](#198669) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Function hikashop\_frontendLink generate non-sef ur](/forum/3-bug-report/876377-function-hikashop-frontendlink-generate-non-sef-ur#198669 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5 -- Error-message(debug-mod must be tuned on) -- : None  Function hikashop&#95;frontendLink generate non-sef url. administrator/components/com&#95;hikashop/helpers/helper.php string 778 $config = hikashop&#95;config(); $app = JFactory::getApplication(); if(!$app-&gt;isAdmin() &amp;&amp; $config-&gt;get('use&#95;sef',0)){ $link = ltrim(JRoute::&#95;($link,false),'/'); } 'use&#95;sef' not found in settings, but 'activate&#95;sef' found.")*

Hi,

It is a hidden option, to set a value to it you have to do that directly from the phpMyAdmin interface and in the table "#__hikashop_config" add/edit the entry "use_sef" and set it to "1" to force SEF.

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

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

Less More

- Posts: 4
- Thank you received: 0
-
-

11 years 7 months ago [\#198801](#198801) by [Arkadiy](/forum/user/35483-arkadiy "View Arkadiy's Profile")  Replied by *[Arkadiy](/forum/user/35483-arkadiy "View Arkadiy's Profile")* on topic *[Function hikashop\_frontendLink generate non-sef ur](/forum/3-bug-report/876377-function-hikashop-frontendlink-generate-non-sef-ur#198801 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1 -- PHP version -- : 5 -- Error-message(debug-mod must be tuned on) -- : None  Function hikashop&#95;frontendLink generate non-sef url. administrator/components/com&#95;hikashop/helpers/helper.php string 778 $config = hikashop&#95;config(); $app = JFactory::getApplication(); if(!$app-&gt;isAdmin() &amp;&amp; $config-&gt;get('use&#95;sef',0)){ $link = ltrim(JRoute::&#95;($link,false),'/'); } 'use&#95;sef' not found in settings, but 'activate&#95;sef' found.")*

Thanks for the clarification.

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

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