Skip to content
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

fix ref=canonical in HTML page headers #12941

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

drammock
Copy link
Member

@drammock drammock commented Nov 4, 2024

a google search console report made me realize we've been doing canonical hints wrong. We had been telling crawlers that the stable docs homepage was the canonical version for every page in our docs. This fixes it so that the corresponding stable docs page is marked as canonical, e.g., https://mne.tools/**dev**/auto_tutorials/preprocessing/10_preprocessing_overview.html will now have https://mne.tools/**stable**/auto_tutorials/preprocessing/10_preprocessing_overview.html as its canonical version.

Copy link
Member

@larsoner larsoner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whoops! Nice catch @drammock

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants