Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Successful page load with "404 Not Found" status #114

Closed
ZakharDolozhevskiy opened this issue Nov 7, 2018 · 3 comments
Closed

Successful page load with "404 Not Found" status #114

ZakharDolozhevskiy opened this issue Nov 7, 2018 · 3 comments

Comments

@ZakharDolozhevskiy
Copy link

Hello,
We have SPA with react routing and it works as expected (no issues with routing, it's possible to reach all paths in the application)
But we noticed that each GET request for pages returns 404 not found but content in response is valid HTML (so the application successfully launches)

Request with error Note: In response tab we can see expected html with application entry point

The application has URLs with different levels
/fahrzeuge
/fahrzeuge/details/{int}
/profile
etc

static.json

{
  "root": "dist/",
  "https_only": true,
  "routes": {
    "/**": "index.html"
  },
  "clean_urls": false,
  "error_page": "index.html"
}

Despite the fact that application works as expected the 404 status code error still a big issue for us. It prevents crawlers work with the website (especial from Googlebot). Please take a look at this issue and please let us know if any other information will be needed

@rderocle
Copy link

Hello, I have the same exact problem. Any news ?

@aroblesgalit
Copy link

Same I've tried so many things. I dont know why it's happening now when I've done exactly the same things on other projects and they work just fine.

@edmorley
Copy link
Member

edmorley commented Jun 9, 2022

Hi

This buildpack is now deprecated and we are recommending people move the more actively maintained heroku-buildpack-nginx. For migration advice see here.

As such, I'm closing this issue out since we won't be making further changes to this buildpack.

@edmorley edmorley closed this as not planned Won't fix, can't repro, duplicate, stale Jun 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants