a) The URL when you click on Style 1 is: index.php?option=com_content&view=article&id=1&Itemid=104
b) The URL when you click on Style 2 is: index.php?option=com_content&view=article&id=1&Itemid=105
c) The URL when you click on Style 2 the second time should still be index.php?option=com_content&view=article&id=1&Itemid=105
a) The URL when you click on Style 1 is: index.php?option=com_content&view=article&id=1&Itemid=104 (see screenshot)
b) The URL when you click on Style 2 is: index.php?option=com_content&view=article&id=1&Itemid=105 (see screenshot)
c) The URL when you click on Style 2 the second time is index.php?option=com_content&view=article&id=1&Itemid=104 (see screenshot)
dbversion: 5.6.35
dbcollation: utf8_general_ci
dbconnectioncollation: utf8mb4_general_ci
phpversion: 7.1.6
server: Apache
sapi_name: apache2handler
version: Joomla! 3.8.0-beta3 Beta [ Amani ] 22-August-2017 14:00 GMT
platform: Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
useragent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.101 Safari/537.36
If you enable Search Engine URL, the issue doesn't ok.
Labels |
Added:
?
|
Category | ⇒ | Router / SEF |
There are several open issues related to having multiple menu items pointing to the same piece of content.
@brianteeman That's the case but I've encountered real world scenarios where I'd want to link to the same article but just change the modules for the url.
When I link to different articles, the issue does not occur
Status | New | ⇒ | Discussion |
First people complain about joomla creating duplicate content and then they moan that it wont let them create duplicate content #cantwin
@brianteeman
Most template frameworks allow you to hide the article completely. So in that case you won't have duplicate content and that's what I mean.
Take for instance a site I did for LogicalDOC. The home page is built of modules only - but the home menu is linked to a placeholder article. The overview page works the same way - built of modules only and linked to the same placeholder article. If I disabled SEF URLs then clicking on overview twice would take me to another page with a different itemid.
If you enable Search Engine Friendly URLs, the issue doesn't occur, so it will be nice to have a consistent expected result. This to me is not a must have; If you feel it's not worth looking into it, that's pretty fine with me.
It's not a problem to have the same article accessible under multiple URLs. Duplicate Content is only an issue if it is spread over different domains. But facts never counted, people believe what they want
Having the same content at 2 separate URL's with different templates causes the both URL's to use the lower itemid number as well. The workaround is to have the same content duplicated which makes each one unique.
If you enable Search Engine Friendly URLs, the issue doesn't occur, so it will be nice to have a consistent expected result.
ok it should be consistent,
router selecting different Itemid when SEF urls is off, is surely a bug
and makes testing web-sites with SEF off problematic
and even if this appeared with both SEF on / off, it is still a bug,
since it changes expected behaviour of every menu item being able to use its own Itemid !
and reasons for having 2 menu items to same content have been already mentioned above
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-08-28 15:35:03 |
Closed_By | ⇒ | franz-wohlkoenig |
Closed_Date | 2017-08-28 15:35:03 | ⇒ | 2017-08-28 15:35:04 |
Closed_By | franz-wohlkoenig | ⇒ | joomla-cms-bot |
closed as having Pull Request #17746
Set to "closed" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/17719
Do you get the same problem when you are linking to different articles. I suspect the problem is you are trying to create duplicate views of the same article to showcase your template.