Create a contact for the super user
Create some articles
Create a menu item to display one or multiple articles, do NOT make it the home page.
Create a menu item displaying the Contact category to which belongs the super user contact: alias is english-contacts
in this case.
Do NOT create a menu item displaying the single contact.
Display the article in frontend.
Click on the Super User link in the article intro
We should imho get an url containing the alias of the menu item for the contact category and using its Itemid.
Something in my case like:
/english-contacts/1.html
Testing that url DOES display the contact correctly.
When using legacy router for the contact component, we get:
/component/contact/contact/1.html?Itemid=103
When using the Modern router (Ids off), we get
/component/contact/contact/1-contact.html?Itemid=103
In both cases
1.html or 1-contact.html correspond to the id of the contact
Itemid= 103 corresponds to the Home page Itemid, not even to the Article menu item...
Note: the example here is from a multilingual site but we get the same on a monolanguage one.
I agree, the URL should look the way you wrote. Can you make sure that menu item and category have the right permissions and that they are published? I will try to replicate this on my end.
Labels |
Added:
?
|
yes, correct permissions and published.
Category | ⇒ | Router / SEF |
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-10-29 09:50:30 |
Closed_By | ⇒ | brianteeman |
@Hackwar and other routers specialists