Welcome! Log In Create A New Profile

Advanced

Re: Return proper status codes (404, 302) from client-side Single Page Application

August 08, 2016 06:15AM
Hey B. R.,

Thanks for your reply! I will have a look at the provided resources.

As per your comment:

> I find it strange you oppose HTTP 404 with 'a proper status code': 404 is a 'proper' status code.
> I find it even stranger you want to lie to search engines crawlers about the existence of your resource.

Maybe my wording was just misleading. Of course 404 is a "proper" status code and my posting was all about how to be able to return the appropriate code (404 in case the item does not exist) to the crawler instead of the 200 that it will see if I just deliver the client application and show a "soft" 404 error – which is my current setup which I want to improve by checking the item's existence prior to delivering the response.

Thanks again.
Subject Author Posted

Return proper status codes (404, 302) from client-side Single Page Application

msonntag August 08, 2016 05:50AM

Re: Return proper status codes (404, 302) from client-side Single Page Application

B.R. August 08, 2016 06:06AM

Re: Return proper status codes (404, 302) from client-side Single Page Application

msonntag August 08, 2016 06:15AM

Re: Return proper status codes (404, 302) from client-side Single Page Application

B.R. August 08, 2016 10:44AM

Re: Return proper status codes (404, 302) from client-side Single Page Application

msonntag August 08, 2016 11:07AM

Re: Return proper status codes (404, 302) from client-side Single Page Application

Edho Arief August 08, 2016 11:18AM

Re: Return proper status codes (404, 302) from client-side Single Page Application

msonntag August 08, 2016 12:59PM

Re: Return proper status codes (404, 302) from client-side Single Page Application

Edho Arief August 08, 2016 01:04PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 316
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready