You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi all, can anyone help me with redirects, I have AWS S3 hosted website and I am using gatsby-plugin-s3.
I am getting the redirects data from Sanity and then I am creating redirects using createRedirect() inside gatsby-node.js:
However the StatusCode generated in .cache/s3.routingRules.json is always 302.
I would like to achieve:
301 and 302 redirects
Redirect to external url : mysite.com/test -> google.com
Hi all, can anyone help me with redirects, I have AWS S3 hosted website and I am using gatsby-plugin-s3.
I am getting the redirects data from Sanity and then I am creating redirects using createRedirect() inside gatsby-node.js:
However the StatusCode generated in .cache/s3.routingRules.json is always 302.
I would like to achieve:
Example redirect data:
Here is how I create redirects in gatsby-node.js:
This how the gatsby-plugin-s3 is configured in gatsby-config.js (listed first in the plugins list):
The text was updated successfully, but these errors were encountered: