hackmdio / hackmdio/codimd

Support `redirect-to` in HackMD YAML front matter for a 301 Redirect

Open
#1,795 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
10.1k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

I'm consistently having problems with Google and other search engines indexing early drafts of papers written in HackMD as higher page rank than the final paper on my website.

This has forced me to put `robots: noindex, nofollow` into my YAML.

However, this has not solved the problem, as when I now search for the those topics, Google still puts the HackMD page at the top, but clicking on it gives a 404.

I'd like to see an option, like you can do with the Jekyll (and GitHub-remote supported) plug for the YAML to have a `redirect-to` that does a http 301 redirect that putting the into the content. My understanding that Google will do the right thing if that exists.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.