question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Feature Request][netlify] Autogenerate virtual redirects for development from static/_redirects

See original GitHub issue

Summary

The netlify plugin automatically creates a redirects file based on a combination of any supplied redirects via static/_redirects. It’d be great if during development it also created virtual redirects inside gatsby (materialized from static/_redirects) so the site appears to work as it would when you build and host it.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
LekoArtscommented, Sep 30, 2020

Ok! Thinking a bit more about this I don’t think this is something we want to do anyways, the Netlify CLI is the correct approach to those Netlify specific things.

0reactions
probablyupcommented, Sep 30, 2020

Every time I’ve raised a legitimate concern in the gatsby ecosystem the people involved have opted-out of a good dev experience. It’s very disappointing.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Redirects and rewrites - Netlify Docs
Manage traffic to your site by defining redirect or rewrite rules in a _redirects file ... Redirects from what the browser requests to...
Read more >
Redirect Rules for All; How to configure redirects for your static ...
In a redirect, the browser first attempts to visit a URL at, say, netlify.com/features/forms but on arrival is instructed to visit another ...
Read more >
Setting up redirects on Netlify
First, you need to create a _redirects file in the publish directory of your site. In this file, we can define our redirects...
Read more >
Redirect options - Netlify Docs
When you add these redirect rules, Netlify automatically creates alternate headers to enable the redirection in our CDN nodes. This removes the need...
Read more >
How to Fix a Failing Redirect on Netlify - MakeUseOf
If your Netlify website's URL isn't behaving as you'd like it to, try this redirect fix to get it back up and running....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found