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

#   Problem with Hikashop $current\_url (Solved)

##

- **[spotstv](/forum/user/10299-spotstv "View spotstv's Profile")**
- [![spotstv's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar10299.png)](/forum/user/10299-spotstv "View spotstv's Profile") Topic Author
- [ Offline](/forum/user/10299-spotstv)

Less More

- Posts: 75
- Thank you received: 1
-
-

13 years 1 month ago -  13 years 1 month ago [\#129409](#129409) by [spotstv](/forum/user/10299-spotstv "View spotstv's Profile")  *[Problem with Hikashop $current\_url (Solved)](/forum/25-install-update/863094-problem-with-hikashop-current-url-solved#129409 "-- url of the page with the problem -- :   dev.frame-revival.com/sold-frames  -- HikaShop version -- : 2.2.2 -- Joomla version -- : 2.5.14 -- PHP version -- : 5.3 -- Browser(s) name and version -- : All browsers  Hi.  I am having trouble with a Hikashop installation I am currently working on, specifically relating to the url that Hikashop is looking up.  If you take a look at this page   dev.frame-revival.com/sold-frames  and navigate to the 'next/prev' form at the bottom, clicking on any link in that form gives a 404.  To explain further, the path that contains the dev.frame-revival.com domain is spots.tv/live/frame-b-dev  For some reason the $current&#95;url / hikashop&#95;currentURL( ); is looking at the root of spots.tv, not where it was installed on dev.frame-revival.com.  Is this something simple I have overlooked? We have reason to believe it is something to do with the .htaccess file but are unsure.")* was created by *[spotstv](/forum/user/10299-spotstv "View spotstv's Profile")*

-- url of the page with the problem -- : [ dev.frame-revival.com/sold-frames](http://dev.frame-revival.com/sold-frames)
-- HikaShop version -- : 2.2.2
-- Joomla version -- : 2.5.14
-- PHP version -- : 5.3
-- Browser(s) name and version -- : All browsers

Hi.

I am having trouble with a Hikashop installation I am currently working on, specifically relating to the url that Hikashop is looking up.

If you take a look at this page **[ dev.frame-revival.com/sold-frames](http://dev.frame-revival.com/sold-frames)** and navigate to the 'next/prev' form at the bottom, clicking on any link in that form gives a 404.

To explain further, the path that contains the **dev.frame-revival.com** domain is **spots.tv/live/frame-b-dev**

For some reason the **$current\_url / hikashop\_currentURL( );** is looking at the root of **spots.tv**, not where it was installed on **dev.frame-revival.com**.

Is this something simple I have overlooked? We have reason to believe it is something to do with the .htaccess file but are unsure.

Last edit: 13 years 1 month ago by [spotstv](/forum/user/10299-spotstv "View spotstv's Profile"). Reason: Solved

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

13 years 1 month ago [\#129462](#129462) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Problem with Hikashop $current\_url](/forum/25-install-update/863094-problem-with-hikashop-current-url-solved#129462 "-- url of the page with the problem -- :   dev.frame-revival.com/sold-frames  -- HikaShop version -- : 2.2.2 -- Joomla version -- : 2.5.14 -- PHP version -- : 5.3 -- Browser(s) name and version -- : All browsers  Hi.  I am having trouble with a Hikashop installation I am currently working on, specifically relating to the url that Hikashop is looking up.  If you take a look at this page   dev.frame-revival.com/sold-frames  and navigate to the 'next/prev' form at the bottom, clicking on any link in that form gives a 404.  To explain further, the path that contains the dev.frame-revival.com domain is spots.tv/live/frame-b-dev  For some reason the $current&#95;url / hikashop&#95;currentURL( ); is looking at the root of spots.tv, not where it was installed on dev.frame-revival.com.  Is this something simple I have overlooked? We have reason to believe it is something to do with the .htaccess file but are unsure.")*

Hi,

Thanks to try to edit the view "product / listing" via the menu display &gt; Views and replace: Code:

hikashop_currentURL()

By the joomla function to get the current url: Code:

JURI::current()

You have to make the replacement twice.

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

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

- **[spotstv](/forum/user/10299-spotstv "View spotstv's Profile")**
- [![spotstv's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar10299.png)](/forum/user/10299-spotstv "View spotstv's Profile") Topic Author
- [ Offline](/forum/user/10299-spotstv)

Less More

- Posts: 75
- Thank you received: 1
-
-

13 years 1 month ago [\#129511](#129511) by [spotstv](/forum/user/10299-spotstv "View spotstv's Profile")  Replied by *[spotstv](/forum/user/10299-spotstv "View spotstv's Profile")* on topic *[Problem with Hikashop $current\_url](/forum/25-install-update/863094-problem-with-hikashop-current-url-solved#129511 "-- url of the page with the problem -- :   dev.frame-revival.com/sold-frames  -- HikaShop version -- : 2.2.2 -- Joomla version -- : 2.5.14 -- PHP version -- : 5.3 -- Browser(s) name and version -- : All browsers  Hi.  I am having trouble with a Hikashop installation I am currently working on, specifically relating to the url that Hikashop is looking up.  If you take a look at this page   dev.frame-revival.com/sold-frames  and navigate to the 'next/prev' form at the bottom, clicking on any link in that form gives a 404.  To explain further, the path that contains the dev.frame-revival.com domain is spots.tv/live/frame-b-dev  For some reason the $current&#95;url / hikashop&#95;currentURL( ); is looking at the root of spots.tv, not where it was installed on dev.frame-revival.com.  Is this something simple I have overlooked? We have reason to believe it is something to do with the .htaccess file but are unsure.")*

Hi Xavier,

That worked perfectly, thanks a lot for your help ![:)](/media/kunena/emoticons/3.png ":)")

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

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