{"id":13612381,"url":"https://github.com/jekyll/jekyll-redirect-from","last_synced_at":"2025-10-04T14:57:41.999Z","repository":{"id":12538477,"uuid":"15208514","full_name":"jekyll/jekyll-redirect-from","owner":"jekyll","description":":twisted_rightwards_arrows: Seamlessly specify multiple redirections URLs for your pages and posts.","archived":false,"fork":false,"pushed_at":"2024-09-22T13:42:03.000Z","size":246,"stargazers_count":804,"open_issues_count":11,"forks_count":127,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-09-19T14:39:10.076Z","etag":null,"topics":["jekyll","jekyll-plugin","redirects","ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jekyll.png","metadata":{"files":{"readme":"README.md","changelog":"History.markdown","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-12-15T18:34:22.000Z","updated_at":"2025-09-13T08:32:02.000Z","dependencies_parsed_at":"2024-10-31T00:47:28.411Z","dependency_job_id":null,"html_url":"https://github.com/jekyll/jekyll-redirect-from","commit_stats":{"total_commits":263,"total_committers":37,"mean_commits":7.108108108108108,"dds":0.6692015209125475,"last_synced_commit":"0378df2984ef689ce16fbe9912ee4e0a199ded73"},"previous_names":["jekyll/jekyll-alt-urls"],"tags_count":21,"template":false,"template_full_name":null,"purl":"pkg:github/jekyll/jekyll-redirect-from","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jekyll%2Fjekyll-redirect-from","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jekyll%2Fjekyll-redirect-from/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jekyll%2Fjekyll-redirect-from/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jekyll%2Fjekyll-redirect-from/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jekyll","download_url":"https://codeload.github.com/jekyll/jekyll-redirect-from/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jekyll%2Fjekyll-redirect-from/sbom","scorecard":{"id":514651,"data":{"date":"2025-08-11","repo":{"name":"github.com/jekyll/jekyll-redirect-from","commit":"0378df2984ef689ce16fbe9912ee4e0a199ded73"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.1,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":3,"reason":"Found 9/29 approved changesets -- score normalized to 3","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/jekyll/jekyll-redirect-from/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/jekyll/jekyll-redirect-from/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:51: update your workflow using https://app.stepsecurity.io/secureworkflow/jekyll/jekyll-redirect-from/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:55: update your workflow using https://app.stepsecurity.io/secureworkflow/jekyll/jekyll-redirect-from/ci.yml/master?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Info: FSF or OSI recognized license: MIT License: LICENSE.txt:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 10 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-20T01:30:21.154Z","repository_id":12538477,"created_at":"2025-08-20T01:30:21.154Z","updated_at":"2025-08-20T01:30:21.154Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277043181,"owners_count":25750509,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-26T02:00:09.010Z","response_time":78,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["jekyll","jekyll-plugin","redirects","ruby"],"created_at":"2024-08-01T20:00:29.036Z","updated_at":"2025-10-04T14:57:41.959Z","avatar_url":"https://github.com/jekyll.png","language":"Ruby","funding_links":[],"categories":["Search Engine Optimization (SEO) \u0026 Redirects","Ruby"],"sub_categories":[],"readme":"# JekyllRedirectFrom\n\nGive your Jekyll posts and pages multiple URLs.\n\nWhen importing your posts and pages from, say, Tumblr, it's annoying and\nimpractical to create new pages in the proper subdirectories so they, e.g.\n`/post/123456789/my-slug-that-is-often-incompl`, redirect to the new post URL.\n\nInstead of dealing with maintaining those pages for redirection, let\n`jekyll-redirect-from` handle it for you.\n\n[![Build Status](https://github.com/jekyll/jekyll-redirect-from/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/jekyll/jekyll-redirect-from/actions/workflows/ci.yml)\n\n## How it Works\n\nRedirects are performed by serving an HTML file with an HTTP-REFRESH meta\ntag which points to your destination. No `.htaccess` file, nginx conf, xml\nfile, or anything else will be generated. It simply creates HTML files.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n    gem 'jekyll-redirect-from'\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install jekyll-redirect-from\n\nOnce it's installed into your environment, add it to your `_config.yml`:\n\n```yaml\nplugins:\n  - jekyll-redirect-from\n```\n\n💡 If you are using a Jekyll version less than 3.5.0, use the `gems` key instead of `plugins`.\n\nIf you're using Jekyll in `safe` mode to mimic GitHub Pages, make sure to\nadd jekyll-redirect-from to your whitelist:\n\n```yaml\nwhitelist:\n  - jekyll-redirect-from\n```\n\nThen run `jekyll \u003ccmd\u003e --safe` like normal.\n\n## Usage\n\nThe objective of this gem is to allow an author to specify multiple URLs for a\npage, such that the alternative URLs redirect to the new Jekyll URL.\n\nTo use it, simply add the array to the YAML front-matter of your page or post:\n\n```yaml\ntitle: My amazing post\nredirect_from:\n  - /post/123456789/\n  - /post/123456789/my-amazing-post/\n```\n\nRedirects including a trailing slash will generate a corresponding subdirectory containing an `index.html`, while redirects without a trailing slash will generate a corresponding `filename` without an extension, and without a subdirectory.\n\nFor example...\n\n```yaml\nredirect_from:\n  - /post/123456789/my-amazing-post\n```\n\n...will generate the following page in the destination:\n\n```text\n/post/123456789/my-amazing-post\n```\n\nWhile...\n\n```yaml\nredirect_from:\n  - /post/123456789/my-amazing-post/\n```\n\n...will generate the following page in the destination:\n\n```text\n/post/123456789/my-amazing-post/index.html\n```\n\nThese pages will contain an HTTP-REFRESH meta tag which redirect to your URL.\n\nYou can also specify just **one url** like this:\n\n```yaml\ntitle: My other awesome post\nredirect_from: /post/123456798/\n```\n\n### Prefix\n\nIf `site.url` is set, its value, together with `site.baseurl`, is used as a prefix for the redirect url automatically. This is useful for scenarios where a site isn't available from the domain root, so the redirects point to the correct path. If `site.url` is not set, only `site.baseurl` is used, if set.\n\n**_Note_**: If you are hosting your Jekyll site on [GitHub Pages](https://pages.github.com/), and `site.url` is not set, the prefix is set to the pages domain name i.e. http://example.github.io/project or a custom CNAME.\n\n### Redirect To\n\nSometimes, you may want to redirect a site page to a totally different website. This plugin also supports that with the `redirect_to` key:\n\n```yaml\ntitle: My amazing post\nredirect_to: http://www.github.com\n```\n\n**Note**: Using `redirect_to` or `redirect_from` with collections will only work with files which are output to HTML, such as `.md`, `.textile`, `.html` etc.\n\n## Customizing the redirect template\n\nIf you want to customize the redirect template, you can. Simply create a layout in your site's `_layouts` directory called `redirect.html`.\n\nYour layout will get the following variables:\n\n* `page.redirect.from` - the relative path to the redirect page\n* `page.redirect.to` - the absolute URL (where available) to the target page\n\n## Configuration\n\nYou can configure this plugin in `_config.yml` by adding to the `redirect_from` key.\n\n### Disabling `redirects.json`\n\nBy default, a file called `redirects.json`, which can be used for automated testing or to implement server-side redirects, will be included in the output. To exclude it from the output, set the `json` key to `false`:\n\n```yml\nredirect_from:\n  json: false\n```\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjekyll%2Fjekyll-redirect-from","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjekyll%2Fjekyll-redirect-from","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjekyll%2Fjekyll-redirect-from/lists"}