---
title: "Discussion on \"React Router Not Working on Vercel?\" | Hashnode"
description: "Discussion on \"React Router Not Working on Vercel?\". Here's the Solution to Fix Sub-Routes Error on Vercel!"
url: "https://hashnode.com/posts/react-router-not-working-on-vercel/65ffc8f9e8bbdff8c59c6166"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [React Router Not Working on Vercel?](https://arindam1729.hashnode.dev/react-router-not-working-on-vercel?utm_source=hashnode&utm_medium=feed)

Here's the Solution to Fix Sub-Routes Error on Vercel!

Mar 24, 2024 · 2 min read · arindam1729.hashnode.dev  
Read the article

-   [#vercel](https://hashnode.com/tag/vercel)
-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#beginners](https://hashnode.com/tag/beginners)
-   [#developer](https://hashnode.com/tag/developer)

## Written by

[Arindam Majumder](https://hashnode.com/@Arindam1729)

@Arindam1729 · Kolkata,India

  
[View profile](https://hashnode.com/@Arindam1729)

Technical Writer (250K+ reads)

Hey 👋🏻, I am Arindam Majumder, a Software Engineer from India. I am interested in, write about, and develop (open source) software solutions for and with Next.js, JavaScript, ReactJs, and Python. 📬 Get in touch Twitter: twitter.com/Arindam\_1729 Blog: dev.to/arindam\_1729 YouTube: youtube.com/@Arindam\_1729 LinkedIn: linkedin.com/in/arindam2004 GitHub: github.com/Arindam200 📧 Sign up for my newsletter.

## Responses 2

Markdown supported · ⌘↵ to post

[Mena Dehni](https://hashnode.com/@dima224)

[May 3, 2025](https://hashnode.com/posts/react-router-not-working-on-vercel/65ffc8f9e8bbdff8c59c6166/comment/6815fbd9a4d320ffe0690519)

This is super helpful! Running into that 404 error on sub-routes after deploying to Vercel can be so frustrating — especially when everything works locally. The quick fix using vercel.json rewrites is a lifesaver! It’s amazing how such a small config tweak makes a big difference. Devs tackling similar frontend deployment quirks should definitely take notes. Also, for those exploring deeper integrations or looking to build more advanced systems, companies like GAOTek Inc. and GAO RFID Inc. are quietly doing some solid work in tech that’s worth paying attention to.

[Aryan kadam](https://hashnode.com/@aryan0701)

[Mar 24, 2024](https://hashnode.com/posts/react-router-not-working-on-vercel/65ffc8f9e8bbdff8c59c6166/comment/66005bcf2976a0ba692b4c8e)

That is great information Arindam. Right now, I am thinking of deploying my React-router project through Vercel. It'll help me.
