Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Create Redirect 404 from unknown static page

jdahlke October 6, 2020

Given the SSR created Page `/foo`  i get 200 http response, which is pretty much expected.

Trying to access a route, where no html is, respective where no route is like `/noFoo` wil respond in 404 http response, which is also fine. 

My Question, since i am on SSR, where can i *.htaccess or similiar to achieve redirects to /404.html from any page the responds with 404?

Here is the problem explained for SSR, but no pointer to anything bitbucket static pages related.

https://stackoverflow.com/questions/52051090/gatsbyjs-client-only-paths-goes-to-404-page-when-the-url-is-directly-accessed-in/52770491#52770491

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events