I have a rule in _redirect
that directs an internal page (/page
) to an external link (https://external.link
)
I have a Gatsby Link that directs to page to /page
: <Link to="/page">link to page</Link>
and expect the site to redirect to the external link instead. However, the Gatsby Link still renders 404 (if the/page
component doesn’t exist) or the page component (if it exists).
Anyone familiar with Gatsby Link and Netlify redirect: Is there no way of using both together? Do I have to use an anchor element with external links even though the link I’m routing from is an internal Gatsby link?
Our site project is called vngle (vngle.com)