All Projects β†’ nsresulta β†’ Gatsby Plugin Meta Redirect

nsresulta / Gatsby Plugin Meta Redirect

Licence: mit
Write Gatsby redirects to html files with a meta refresh

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
website
My website built with GatsbyJS.
Stars: ✭ 53 (+194.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

Travis npm package

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].