-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug in URL routing in Joomla 3.7.5 and Joomla 3.8.0 beta 3 #17719
Comments
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. |
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. |
First people complain about joomla creating duplicate content and then they moan that it wont let them create duplicate content #cantwin |
@brianteeman 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. This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/17719. |
ok it should be consistent, and even if this appeared with both SEF on / off, it is still a bug, and reasons for having 2 menu items to same content have been already mentioned above |
Set to "closed" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/17719 |
closed as having Pull Request #17746 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/17719. |
Steps to reproduce the issue
3. Turn off Search Engine Friendly URLs in Global Configuration 4. Go to the front-end and click on the menu as follows: a) Click on Style 1 b) Click on Style 2 c) Click on Style 2 the second time
Expected result
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
Actual result
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)
System information (as much as possible)
=============
System Information
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
Additional comments
If you enable Search Engine URL, the issue doesn't ok.
The text was updated successfully, but these errors were encountered: