---
title: "Discussion on \"Laravel returns 404 on every route after deployment. Here is the fix.\" | Hashnode"
description: "Discussion on \"Laravel returns 404 on every route after deployment. Here is the fix.\". Laravel home page loads, every other route returns 404 after deployment. Run this check in order and fix the document root."
url: "https://hashnode.com/posts/laravel-returns-404-on-every-route-after-deployment-here-is-the-fix/6af1d838617e67390580cb50"
---

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

Discussion

# [Laravel returns 404 on every route after deployment. Here is the fix.](https://mehedirafi.hashnode.dev/laravel-returns-404-on-every-route-after-deployment-here-is-the-fix?utm_source=hashnode&utm_medium=feed)

Laravel home page loads, every other route returns 404 after deployment. Run this check in order and fix the document root.

Nov 9 · 8 min read · mehedirafi.hashnode.dev  
Read the article

-   [#laravel](https://hashnode.com/tag/laravel)
-   [#php](https://hashnode.com/tag/php)
-   [#tutorial](https://hashnode.com/tag/tutorial)
-   [#web-development](https://hashnode.com/tag/web-development)

## Written by

[Mehedi Mansur Rafi](https://hashnode.com/@mehedirafi)

@mehedirafi · Khulna, Bangladesh

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

Laravel developer. I build clinic systems, marketplaces and portfolio platforms, and write about putting PHP/Laravel apps online.

Laravel developer with a B.Sc. in Computer Science &amp; Engineering. I build clinic systems, marketplaces and portfolio platforms, and write about putting PHP/Laravel apps online.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
