Results 1 to 5 of 5

Thread: Deleted listings return 202 response

  1. #1
    Join Date
    Nov 2009
    Posts
    12

    Default Deleted listings return 202 response

    Hi,
    I've noticed that deleted listings redirect the home page with a 202 response code. How can I have it go to a 404 instead?

  2. #2
    Join Date
    Sep 2007
    Posts
    126

    Default Re: Deleted listings return 202 response

    Mine seem to either return a 200 or a 404 depending on the type of seo-url.
    Old style: {listing_title}-{listing_id}.html returns a 200 "this listing is not active" - even for listings that never existed.
    New style: {listing_seotitle}.html returns a 404.
    Version is 3.1.2

  3. #3
    the_sandking's Avatar
    the_sandking is offline hadron remnant - Moderation Fachmann
    Join Date
    Apr 2003
    Location
    Nullspace
    Posts
    5,289

    Default Re: Deleted listings return 202 response

    Quote Originally Posted by LionMedia View Post
    Hi,
    I've noticed that deleted listings redirect the home page with a 202 response code. How can I have it go to a 404 instead?

    Upgrade to OR v3.1, that exact fix is in the change log:
    http://www.open-realty.org/blog/open...1-release.html

    All invalid URLS should now goto a 404 page not found instead of the index page.
    "Much of what looks like rudeness in hacker circles is not intended to give offense. Rather, it's the product of the direct, cut-through-the-BS communications style that is natural to people who are more concerned about solving problems than making others feel warm and fuzzy."

    "We gotta' go to the crappy town where I'm a hero!"
    -Hoban 'Wash' Washburne 2485-2519


    "When you’re born you get a ticket to the freak show. When you’re born in America, you get a front-row seat.."
    -George Carlin 1937-2008

    New to Open-Realty® and need help? Check the:
    -OR DOCUMENTATION -

    Important: Read this at least once in your lifetime
    How To Ask Questions The Smart Way

  4. #4
    Join Date
    Jun 2004
    Posts
    1,067

    Default Re: Deleted listings return 202 response

    Mine seem to either return a 200 or a 404 depending on the type of seo-url.
    Old style: {listing_title}-{listing_id}.html returns a 200 "this listing is not active" - even for listings that never existed.
    New style: {listing_seotitle}.html returns a 404.
    Version is 3.1.2
    I have fixed the handling of the 404 errors for old style seo urls. This fix will be included with the 3.1.3 release.

  5. #5
    Join Date
    Nov 2009
    Posts
    12

    Default Re: Deleted listings return 202 response

    Great! Thanks I will upgrade asap.

Similar Threads

  1. SEO links return 404 when steping through listings
    By btfsc in forum Installation/Configuration Help (CLOSED)
    Replies: 8
    Last Post: 11-05-2008, 04:59 AM
  2. return 404 to non existing listings
    By jordi in forum General Help (CLOSED)
    Replies: 2
    Last Post: 03-06-2008, 03:01 PM
  3. Recovering Deleted Listings
    By gajlehab in forum General Help (CLOSED)
    Replies: 2
    Last Post: 01-03-2006, 12:09 PM
  4. Listings getting deleted V2.04
    By Trackbikes in forum General Help (CLOSED)
    Replies: 7
    Last Post: 07-07-2005, 10:51 AM
  5. Replies: 6
    Last Post: 07-27-2004, 11:20 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •