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

seo: noindex changes / og: meta-tags to seo module #3474

Merged
merged 4 commits into from
Jul 12, 2023
Merged

Conversation

mworrell
Copy link
Member

@mworrell mworrell commented Jul 12, 2023

Description

If a page should not be indexed, then do not add the hreflang links to the head.
Also:

  • set the 'nofollow' in the http response headers and html head.
  • move the FB "og:" meta-tags to the seo module (no need anymore to enable mod_facebook to add those)
  • extra blocks around the SEO noindex tags, for easier overrule
  • Fallback to the page_home depiction for the "og:image" url
  • Fallback to the page_home seo_desc for the SEO description

Checklist

  • documentation updated
  • tests added
  • no BC breaks

@mworrell mworrell added this to the 1.0 milestone Jul 12, 2023
@mworrell mworrell changed the title seo: on noindex also add nofollow, suppress hreflang links on noindex pages seo: noindex changes / og: meta-tags to seo module Jul 12, 2023
@mworrell mworrell merged commit d76476a into master Jul 12, 2023
@mworrell mworrell deleted the seo-nofollow branch July 12, 2023 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant