Menu Content

Podpora

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

Different SEF URLs for the same component
(1 viewing) (1) Guest
Support forum for customers who have purchased JoomSEF 4 (Joomla 1.6/1.7/2.5+ compatible). Archive only, no new post can be added.

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.
  • Page:
  • 1

TOPIC: Different SEF URLs for the same component

Different SEF URLs for the same component 12 years, 7 months ago #29639

I'm using JoomSEF to rewrite URLs for DT Register. It works great if I only have one type of event. However, the URL of the "processing registration" page is fairly simple. It's index.php?option=com_dtregister&Itemid=137. I have an SEF URL setup to change that to /free-info-sessions/processing-registration. It works great.

However, I setup a second menu item for another event. The Itemid is 269. I setup an SEF URL to point index.php?option=com_dtregister&Itemid=269 to /indy-bus-tours/processing-registration. Unfortunately, JRouter::_('index.php?option=com_dtregister&Itemid=269') is returning the URL /free-info-sessions/processing-registration.

Also, I'm trying to change the layout of the page when I submit the URL. I was under the impression that the Itemid was responsible for module positions, etc, but changing the Itemid in the "processing registration" page doesn't change the layout. Any help would be much appreciated.
The topic has been locked.

Re: Different SEF URLs for the same component 12 years, 7 months ago #29650

  • dajo
  • OFFLINE
  • Posts: 5069
Hi,
Yes the Itemid is responsible for that, but by default JoomSEF ignores multiple Itemids - which means that if there are two URLs in database that differ only by Itemid, the first one found is always used. You can either disable this globally in JoomSEF's Configuration on the Advanced tab, or only for specific component through the Manage Extensions page in JoomSEF. On both places you can find the "Ignore multiple sources" option - just set it to "No".
ARTIO Support Team
The topic has been locked.

Re: Different SEF URLs for the same component 12 years, 7 months ago #29659

Thanks for the response. I found that the component (DT Register) was passing the Itemid as a "POST" variable, which apparently takes precedence over any "GET" variable that occurs in the URL query string. I overrode that POST variable and it worked! Thanks again. JoomSEF takes some getting used to, but it is a very powerful tool.
The topic has been locked.
  • Page:
  • 1
Přihlášení uživatele Prázdný