Absolute URLS needed or not?

  • Posts: 272
  • Thank you received: 7
10 years 3 weeks ago #177763

-- HikaShop version -- : 2.3.3
-- Joomla version -- : 3.3.6

Hi there,

Are absolute URLs needed in the 'return URL', 'Cancel URL' fields on payment plugins? I want to move my site across to https (from http) and therefore needing to change all absolute URLs to relative URLs like:

/payment-success

rather than
http://www.mywebsite.com/payment-success

Is this the correct thing to do?

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
10 years 3 weeks ago #177777

Hi,

Looking at the joomla code handling the redirect for these options, it won't work like that.
It looks like it would work if you would enter the relative non SEF URL:
index.php?option=com_article&....
So you could try on that.

Please Log in or Create an account to join the conversation.

  • Posts: 272
  • Thank you received: 7
10 years 3 weeks ago #177797

Thanks Nicolas,

I do not have a development site for the site in question , so I am not sure how to find the non-sef URL (also article not linked to via a menu).

Do you have any idea how I would find the Joomla non-sef URL for this page, when I only know the item ID?

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
10 years 3 weeks ago #177824

index.php?option=com_content&view=article&id=XXX&Itemid=YYY
Where XXX is the id of the article and YYY a menu item id which allows you to access a joomla article.

Please Log in or Create an account to join the conversation.

  • Posts: 272
  • Thank you received: 7
10 years 3 weeks ago #177911

Many thanks Nicolas. If the article is not linked to by a menu, do you know what value I put for YYY ?

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
10 years 3 weeks ago #177957

You put the id of a menu item which allows you to access another joomla article

Please Log in or Create an account to join the conversation.

Time to create page: 0.067 seconds
Powered by Kunena Forum