mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2025-10-28 07:17:26 +01:00
first setup of cloudflare + htaccess redirects
This commit is contained in:
@@ -189,6 +189,18 @@ export default {
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
resolve: "gatsby-plugin-htaccess",
|
||||
options: {
|
||||
www: true,
|
||||
host: "www.rickvanlieshout.com",
|
||||
https: true,
|
||||
redirect: [
|
||||
"RewriteRule ^/?home/(.*)$ //$1 [L,R=301]",
|
||||
"RewriteRule ^/?old/(.*)$ /new/$1 [L,R=301]",
|
||||
],
|
||||
},
|
||||
},
|
||||
"gatsby-plugin-image",
|
||||
"gatsby-plugin-catch-links",
|
||||
"gatsby-plugin-react-helmet",
|
||||
|
||||
Reference in New Issue
Block a user