mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2025-07-26 20:22:32 +02: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