-
-
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
Reduce the number of page duplicates in com_content categories when pagination is used. #12004
Conversation
@ADDONDEV can you fix the if syntax and add a space bettween the
|
Can you test it, please? |
Is it the intended behaviour of this pr that ?start=999999999999999999999 gives a 404? This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/12004. |
Yes, it does. |
The same behaviour you can see in the content_pagebreak plugin - if an article page does not exist, it gives a 404. Why not apply this approach to category blogs? When you have 200 pages, search engines index them, then you change the item per page number and 200 becomes 100. The problem is that the other 100 pages no longer exist, but they cannot be removed from search index without editing robots.txt/htaccess. I think it is very inconvenient. |
I have tested this item 🔴 unsuccessfully on 504c948 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/12004. |
@franz-wohlkoenig I use the RC demo pages (featured view). I set in the menu params the following configuration to make pagination:
When I open page 4 that does not have any items, I get the 404. Could you, please, describe your testing instructions? |
@philip-sorokin Test Instructions shown in opened Comment. |
@franz-wohlkoenig |
on Top of this Thread, its your opening Comment about Issue. |
@franz-wohlkoenig -archive |
I used your Instructions for Test. Have to retest, my Test is too long ago to remember. |
Test on "Archive". 9 archived Articles (5 en-GB, 4 All Lang.), Menu set on Lang. "en-GB". 1/4. Call menu, Pagination show 1/2 (expected):2/4. Click Pagnation 2/2, Url change to
|
And what is your conclusion? What about other views? |
Update from original
@philip-sorokin @franz-wohlkoenig don't expect this
|
@wojsmol didn't get what you mean. |
@franz-wohlkoenig See #12004 (comment) first question |
I have no Conclusion cause no Knowledge. |
Add UTF-8 support
Add UTF-8 support
I am closing this PR as it is not going to be merged. |
Summary of Changes
Reduce the number of page duplicates in com_content categories when pagination is used.
Testing Instructions
https://www.joomla.org/announcements.html?start=999999999999999999999 - it opens, while it should not. With this patch applied, pages will open if they really exist: https://www.joomla.org/announcements.html?start=390 - this will be the last page.