Comments (10)
#55446 solves the accessibility and usability issue.
I'm not sure it fully solves the potential SEO issue. I'd like to hear thoughts from some SEO experts here.
from gutenberg.
Worth also mentioning that a Query Loop block with 'Enhanced pagination' can be added also to a normal post or page.
In this case, the post or page actually become an archive page with paginated pages. Still, the document title will not change and will always be the same across all paginated pages.
Tje URL will change, e.g.:
https://my-site.org/my-awesome-post/?query-1-page=1
https://my-site.org/my-awesome-post/?query-1-page=2
https://my-site.org/my-awesome-post/?query-1-page=3
The document title will stay the same for all paginated pages, e.g.:
<title>My awesome post – My site</title>
from gutenberg.
@afercia I think your last comment conflates two things. It has always been the case that the pagination added on a post / page that uses the query param based pagination doesn't update the page title.
So I think there are two issues here. One is a long standing one that you are now finding, and the other is a new introduction with 6.4 and the enhanced pagination.
The new issue is that enhanced pagination on archive templates where you use the inherit option doesn't update the document title.
from gutenberg.
It has always been the case that the pagination added on a post / page that uses the query param based pagination doesn't update the page title.
@fabiankaegy yes that is possible but I would say it's an edge case. Worth improving it though.
The main issue here is about the archive pages. With SEO impact still to fully evaluate.
from gutenberg.
It has always been the case that the pagination added on a post / page that uses the query param based pagination doesn't update the page title.
I see a substantial difference between the situation with classic themes and block-based themes though.
Before:
adding some archive-like pagination to post / page and attempt to uses the query param based pagination was essentially a task for theme plugin developers. As developers, they had the technical skills to take care of the document title, if they wanted.
Now:
Users can and a Query Loop block and the Pagination block everywhere. As such, WordPress should make sure that it works correctly everywhere, updating the document title when necessary.
from gutenberg.
I see a substantial difference between the situation with classic themes and block-based themes though.
Before: adding some archive-like pagination to post / page and attempt to uses the query param based pagination was essentially a task for theme plugin developers. As developers, they had the technical skills to take care of the document title, if they wanted.
Now: Users can and a Query Loop block and the Pagination block everywhere. As such, WordPress should make sure that it works correctly everywhere, updating the document title when necessary.
I don't think I understand where you are drawing the line here. Regardless of whether you are in a block theme or in a classic theme that uses the block editor. You can insert a query block on any post / page in either. Which always has the query parameter based pagination which doesn't update the title.
So the issue is the same for all kinds of themes. This issue is fundamental to the Query block.
And the addition of "enhanced pagination" doesn't change anything about that.
The only difference with block based themes is that you can now also use the query block on archive pages and therefore use that actual /page/
based pagination. Before adding the "enhanced pagination" feature this did update the title correct. But now with the enhanced pagination the title is not updated correctly when the inherit
option is selected.
from gutenberg.
I don't think I understand where you are drawing the line here.
When I mentioned 'classic' themes and block-based themes, I meant 'classic' as in: the traditional themes where pagination is managed by WordPres stemplating functions and users can't mess with the Query Loop.
Before adding the "enhanced pagination" feature this did update the title correct. But now with the enhanced pagination the title is not updated correctly when the
inherit
option is selected.
I think it doesn't update correctly also wjen inherit
is disabled annd a custom query runs. Regardless, 'enhanced pagination' breaks a native browsers feature. Or, better, it males it unusable which is something that seems less than ideal to me.
As I mentioned, there's also potential SEO concerns here still to be fully evaluated.
from gutenberg.
Would be the enhanced pagination issue solved with this PR?
from gutenberg.
I'm not a SEO expert, but I guess when robots access different pages, they do a navigation per page, instead of clicking on the different pagination links. In that case all pages have their own urls and can be crawled, so should not be a problem.
from gutenberg.
I'm not an SEO expert so I'm not going to make assumptions about things I'm not 100% familiar with.
Just noting that it's not only about crawling, It's also about the Search results.
Anyways, it is important to take into consideration WordPress core has a few filters in place in the code that generates the document title. With Enhanced pagination enabled, these filters will keep returning the value generated via PHP on first page load as expected, but the value will not change when clicking the Enhanced pagination links. Basically these filters won't work and there's no equivalent implementation with Enhanced pagination enabled.
Plugins do use these filters to handle the title, description, opengraph tags and schemas. Also, the lack of the pagination related query_var(s) does have an impact and I'm not sure it has been fully evaluated.
Right now, while the document title is updated with the page number, other tags generated by plugins don't get the correct page number as they expect the WP filters to just work.
I'd think that at the very least the WordPress 6.4 Field Guid should put this problem in big relevance.
Ideally, an equivalent JS implementation to the core filters should have been provided.
from gutenberg.
Related Issues (20)
- Image placeholder: unfortunate UI for the Upload / Media library dialogue
- we need responsive breakpoint controls for columns and groups HOT 6
- Disabled controls should not use cursor: pointer HOT 1
- Drag to resize image doesn't maintain aspect ratio when constrained
- Data views: Expanding quick-actions for Pages HOT 8
- Patterns: Why is viewport width specified in pixels? HOT 2
- Add Embed support for Spotify URLs from podcasters.spotify.com, or disallow fully
- HTML Video embed coding issue (video now showing) HOT 3
- Spacing: Spacing Sizes are added HOT 7
- Make it easier to visually distinguish between renamed and standard block names in the list view
- Post Date block available date formats should be extendable
- Add the pattern selector to creating pages in the site editor HOT 1
- Block Renaming Followups for 6.5 HOT 7
- Navigation: link color gets ignored HOT 4
- Post Author Name: Style isn't applied to byline HOT 1
- Cover Block: Add option to pause background videos HOT 1
- Style Revisions: Provide more details on what changed in each style revision HOT 15
- Styles: Revisions Description Text HOT 1
- Components: Add `Pagination` component
- A few `raw-handling` API unit tests fail in the native test environment HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gutenberg.