Skip to content

fix(v2): prevent useless blog pages to be in search results#4340

Merged
slorber merged 1 commit intomasterfrom
slorber/exclude-pages-from-search
Mar 3, 2021
Merged

fix(v2): prevent useless blog pages to be in search results#4340
slorber merged 1 commit intomasterfrom
slorber/exclude-pages-from-search

Conversation

@slorber
Copy link
Copy Markdown
Collaborator

@slorber slorber commented Mar 3, 2021

Motivation

Prevent duplicate Algolia search results related to tags pages, because the same context appears on multiple pages

image

Note: we still let those pages being indexed by Google. It's not very clear what exactly is good practice here but it seems having a blog post list being indexed by Google is not a bad idea.

Note: Algolia does not understand no-index

@slorber slorber added the pr: bug fix This PR fixes a bug in a past release. label Mar 3, 2021
@slorber slorber requested a review from lex111 as a code owner March 3, 2021 17:07
@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Mar 3, 2021
@netlify
Copy link
Copy Markdown

netlify bot commented Mar 3, 2021

[V1] Deploy preview success

Built with commit 03dd6b0

https://deploy-preview-4340--docusaurus-1.netlify.app

@netlify
Copy link
Copy Markdown

netlify bot commented Mar 3, 2021

Deploy preview for docusaurus-2 ready!

Built with commit 03dd6b0

https://deploy-preview-4340--docusaurus-2.netlify.app

@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 3, 2021

⚡️ Lighthouse report for the changes in this PR:

Category Score
🟠 Performance 61
🟢 Accessibility 96
🟢 Best practices 100
🟢 SEO 100
🟢 PWA 95

Lighthouse ran on https://deploy-preview-4340--docusaurus-2.netlify.app/classic/

@slorber slorber changed the title fix(v2): prevent useless blog tag pages to be in search results fix(v2): prevent useless blog pages to be in search results Mar 3, 2021
@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 3, 2021

Size Change: 0 B

Total Size: 532 kB

ℹ️ View Unchanged
Filename Size Change
website/build/assets/css/styles.********.css 87.1 kB 0 B
website/build/assets/js/main.********.js 359 kB 0 B
website/build/blog/2017/12/14/introducing-docusaurus/index.html 60.3 kB 0 B
website/build/docs/introduction/index.html 235 B 0 B
website/build/index.html 25.4 kB 0 B

compressed-size-action

@slorber slorber merged commit 879dcb0 into master Mar 3, 2021
@lex111 lex111 added this to the v2.0.0-alpha.71 milestone Mar 4, 2021
@slorber slorber deleted the slorber/exclude-pages-from-search branch August 17, 2021 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed Signed Facebook CLA pr: bug fix This PR fixes a bug in a past release.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants