routes.ts redirect #14464
                  
                    
                      lifeiscontent
                    
                  
                
                  started this conversation in
                Proposals
              
            
            
              routes.ts redirect
            
            #14464
          
          
        Replies: 1 comment 3 replies
-
| @lifeiscontent for reactrouter.com we handle this with: I personally am hesitant to build something into the framework itself, but I think a packaged up middleware like this (or just copy and paste) could work well for a lot of projects. Additionally, I know lots of hosts/DNS allow you to setup rules. For example, here's how Cloudflare's redirect rules work | 
Beta Was this translation helpful? Give feedback.
                  
                    3 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
any chance we could get a redirect function for routes.ts?
or how would you setup routes that redirect from old paths to new paths for SEO purposes?
Beta Was this translation helpful? Give feedback.
All reactions