Improving pagination SEO by handling invalid page requests
Closed this issue · 0 comments
shuashuai commented
Describe the bug
https://meta.answer.dev/tags/support?page=100
When the requested pagination is greater than the maximum number of paginations, the document should return a 404 status, but now it returns 200
We should add a judgment or directly output 404 status, which is more user-friendly or SEO friendly.
Expected behavior
When the number of pages exceeds the maximum paging, status should be 404
Screenshots
Platform
- Device: Desktop
- OS: macOS
- Browser and version: Chrome
- Version: 1.4.0