#6214 closed defect (bug) (fixed)
photos archive does not work when logged out
Reported by: | BinaryMoon | Owned by: | coffee2code |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Photo Directory | Keywords: | |
Cc: |
Description
Hi - I was browsing the photo gallery found here:
https://wordpress.org/photos/
When viewing the site I noticed that page 50 was a 404, and page 49 worked.
I then logged in to report the issue and saw that the pages went up to 79 and they all loaded.
So it seems that when you are logged out you can't see all the pages, and the last one you can see doesn't load.
If you log out (or use a private browser) and view the following pages then you can see the issue.
https://wordpress.org/photos/page/49/
https://wordpress.org/photos/page/50/
Change History (6)
#2
follow-up:
↓ 4
@
3 years ago
@dd32 Would it make sense to disable this code for /photos? We probably do want the later pages available for SEO in this case. Limiting it made sense for the support forums and other listings, but photos is somewhat lighter on content than those are, and paging shouldn't create the same load issues.
#3
@
3 years ago
Thanks for explaining. I understand how it works now.
Personally i would agree with @Otto42 that it should be disabled on the photos directory. For the directory to be useful you would want to have direct access to all the photos. Because of the page limit I thought the photos archive was a lot smaller than it is.
Google image search has generated a lot of traffic for my sites so I would suggest its worth getting all the images ranked.
Thanks.
#4
in reply to:
↑ 2
@
3 years ago
Replying to Otto42:
Would it make sense to disable this code for /photos? We probably do want the later pages available for SEO in this case.
It would, but you'll need to deal with Systems to remove the pagination block, preferably on all sites. There's an nginx rule which blocks access to /page/[5-9][0-9]
for bots/etc, the pagination blocking code is just to ensure that we don't present links to search engines/etc and promptly cause 404's which cause more issue.
WordPress.org archives are limited to 50 pages when logged out, for seo purposes.
Usually the archive pagination will respect that, but I guess https://meta.trac.wordpress.org/browser/sites/trunk/wordpress.org/public_html/wp-content/mu-plugins/pub/wporg-page-limiter.php needs updating.