Menu Content

Podpora

> Diskusní fóra, FAQs & placená podpora
Welcome, Guest
Username Password: Remember me

Duplicate site base url in first link
(1 viewing) (1) Guest
Support forum for users using free JoomSEF extensions. These forums are mainly for mutual help between users.

Please note that due to our capacity limitations, we do not monitor these forums regularly.
  • Page:
  • 1
  • 2

TOPIC: Duplicate site base url in first link

Duplicate site base url in first link 13 years, 4 months ago #18678

hi all,

for a Joomla site (ver 1.5.22) i am using ARTIO JoomSEF 3.7.5, i have a custom component and a module for it, the module display some links which linked back to the component.

for achieving SEF urls i made a custom sef ext for this component, all working well together except the very first link have two site urls in the anchor like

mysite.com/http://mysite.com/firstlink.html

Whats the problem, will any one make some light on it any help will be highly appreciated.


Kind Regards
Sanjeev
Last Edit: 13 years, 4 months ago by snaroliya.

Re: Duplicate site base url in first link 13 years, 4 months ago #18750

  • dajo
  • OFFLINE
  • Posts: 5069
Hello,

What does the link look like in the JoomSEF's URLs Manager?

Best regards,
ARTIO Support Team
ARTIO Support Team

Re: Duplicate site base url in first link 13 years, 4 months ago #18827

hi there,

Thanks for a reply.

The links look like as following in JoomSEF's URLs Manager

SEF Url Real Url

firstlink.html.html index.php?option=com_auto&model=Acura&siteid=213711&uniqueid=1

Kind Regards
Sanjeev.

Re: Duplicate site base url in first link 13 years, 4 months ago #18898

  • dajo
  • OFFLINE
  • Posts: 5069
Hello,

The URL seems to be OK, so there is probably a problem with displaying the link in the module. Make sure that your PHP code displays the link using the following code:

<a href="<?php echo JRoute::_('index.php?option=com_auto&model=Acura&siteid=213711&uniqueid=1'); ?>">link</a>

Best regards,
ARTIO Support Team
ARTIO Support Team

Re: Duplicate site base url in first link 13 years, 4 months ago #18929

Hello David,

Thanks for the reply, yes i am displaying all the links in module with JRoute::_(), all the other links display well but the very first link have this problem only.

Any Idea?

Kind Regards
Sanjeev.

Re: Duplicate site base url in first link 13 years, 4 months ago #18940

  • dajo
  • OFFLINE
  • Posts: 5069
How is the URL displayed if you disable the SEF completely?
Could you post a part of your module's source code that displayes the link?

Best regards,
ARTIO Support Team
ARTIO Support Team
  • Page:
  • 1
  • 2
Přihlášení uživatele Prázdný