nsresulta / Gatsby Plugin Meta Redirect
Licence: mit
Write Gatsby redirects to html files with a meta refresh
Stars: β 18
Programming Languages
javascript
184084 projects - #8 most used programming language
Projects that are alternatives of or similar to Gatsby Plugin Meta Redirect
React Gatsby Firebase Authentication
π£π₯Starter Project / Boilerplate for Authentication with Firebase and plain React in Gatsby.js
Stars: β 356 (+1877.78%)
Mutual labels: gatsby, gatsbyjs
Gatsby Material Starter
A high performance blog starter with Material design in mind for GatsbyJS.
Stars: β 456 (+2433.33%)
Mutual labels: gatsby, gatsbyjs
Gatsby Starter Prismic
A typography-heavy & light-themed Gatsby Starter which uses the Headless CMS Prismic.
Stars: β 381 (+2016.67%)
Mutual labels: gatsby, gatsbyjs
Awesome Gatsby
βοΈ π π Awesome list for the mighty Gatsby.js, a blazing fast React static site generator.
Stars: β 928 (+5055.56%)
Mutual labels: gatsby, gatsbyjs
Gatsby Starter Ghost
A starter template to build lightning fast websites with Ghost & Gatsby
Stars: β 752 (+4077.78%)
Mutual labels: gatsby, gatsbyjs
Gatsby Starter Portfolio Emilia
Minimalistic portfolio/photography site with masonry grid, page transitions and big images. Themeable with Theme UI. Includes Light/Dark mode.
Stars: β 300 (+1566.67%)
Mutual labels: gatsby, gatsbyjs
Course Starter Python
π©βπ«π Starter repo for building interactive Python courses
Stars: β 440 (+2344.44%)
Mutual labels: gatsby, gatsbyjs
Gatsby Starter Minimal Blog
Typography driven, feature-rich blogging theme with minimal aesthetics. Includes tags/categories support and extensive features for code blocks such as live preview, line numbers, and line highlighting.
Stars: β 752 (+4077.78%)
Mutual labels: gatsby, gatsbyjs
Gatsby Starter Deck
π£ Create presentations using Gatsby, React & Markdown.
Stars: β 522 (+2800%)
Mutual labels: gatsby, gatsbyjs
Gatsby Ghost Balsa Starter
A Gatsby starter for creating blogs from headless Ghost CMS.
Stars: β 17 (-5.56%)
Mutual labels: gatsby, gatsbyjs
Gatsby Simplefolio
β‘οΈ A minimal Gatsby portfolio template for Developers
Stars: β 895 (+4872.22%)
Mutual labels: gatsby, gatsbyjs
Course Starter R
π©βπ«π· Starter repo for building interactive R courses
Stars: β 281 (+1461.11%)
Mutual labels: gatsby, gatsbyjs
Devblog
A lightweight, customizable personal blog template built with GatsbyJS and React
Stars: β 312 (+1633.33%)
Mutual labels: gatsby, gatsbyjs
V4
Fourth iteration of my personal website built with Gatsby
Stars: β 4,114 (+22755.56%)
Mutual labels: gatsby, gatsbyjs
Gatsby Starter Wordpress
A GatsbyJS starter template that leverages the WordPress API, ACF and more
Stars: β 387 (+2050%)
Mutual labels: gatsby, gatsbyjs
gatsby-starter-portfolio-bella
A bright single-page portfolio starter for Gatsby powered by Prismic.io. The target audience are designers and photographers.
Stars: β 125 (+594.44%)
Mutual labels: gatsby, gatsbyjs
gatsby-starter-multiverse
Gatsby.js V2 starter template based on multiverse by HTML5 UP
Stars: β 14 (-22.22%)
Mutual labels: gatsby, gatsbyjs
Gatsby Starter Gcn
A starter template to build amazing static websites with Gatsby, Contentful and Netlify
Stars: β 488 (+2611.11%)
Mutual labels: gatsby, gatsbyjs
Bonneville
A simple, clean GatsbyJS starter for those looking to get up and running with Gatsby
Stars: β 23 (+27.78%)
Mutual labels: gatsby, gatsbyjs
gatsby-plugin-meta-redirect
Generates meta redirect html files for redirecting on any static file host.
Install
npm install --save gatsby-plugin-meta-redirect
or
yarn add gatsby-plugin-meta-redirect
How to use
// In your gatsby-config.js
plugins: [
`gatsby-plugin-meta-redirect` // make sure to put last in the array
];
Redirects
You can create redirects using the createRedirect
action.
An example:
createRedirect({ fromPath: '/old-url', toPath: '/new-url', isPermanent: true });
createRedirect({ fromPath: '/url', toPath: '/zn-CH/url', Language: 'zn' });
That will generate the following html files:
/old-url/index.html
:
<meta http-equiv="refresh" content="0; URL='/new-url/'" />
and
/url/index.html
:
<meta http-equiv="refresh" content="0; URL='/zn-CH/url/'" />
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].