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

Remove branding from Sitemap #109

Open
senlin opened this issue May 20, 2024 · 2 comments
Open

Remove branding from Sitemap #109

senlin opened this issue May 20, 2024 · 2 comments
Assignees

Comments

@senlin
Copy link
Owner

senlin commented May 20, 2024

Any way to do this with the plugin?
Remove branding from Sitemap “Generated by Yoast SEO, this is an XML Sitemap”

Original request over at WP.org

Expected behavior

It can be done and the result will be that the entire first paragraph (first two sentences) will be hidden. The branding-less sentence that indicates the number of sitemaps included can remain.

Possible way to add this

body #content > p.expl:nth-of-type(1) {
display: none;
}

This solution merely hides the paragraph with links from the frontend, it is not possible to remove it from the source code.

@senlin senlin self-assigned this May 20, 2024
@openmindculture
Copy link

So there is still a dofollow link to them in many sitemaps unless we patch the generated sitemap.xml or wp-content/plugins/wordpress-seo/css/main-sitemap.xsl.

@senlin
Copy link
Owner Author

senlin commented Oct 7, 2024

It's not a priority issue for me and I already have given the solution, which anyone can add to their admin css.

PRs welcome and I also found a closed issue from the past where I was less inclined to fix it...

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

No branches or pull requests

2 participants