Results 1 to 6 of 6

Thread: Expired Ad -- Delete Ad --Delete Post --What happens after it? 410 for WordPress

  1. #1
    Marketplace Seller mr_green's Avatar
    Join Date
    Aug 2010
    Posts
    953
    Thanks
    113
    Thanked 192 Times in 147 Posts

    Expired Ad -- Delete Ad --Delete Post --What happens after it? 410 for WordPress

    samanders wrote:

    @ mr_green, i agree with your points and they are valid in terms of users removing the ad i.e sold else where or do not want to receive any more messages, the same also goes with keeping an advert live and not charging the end user of which results in lost revenue however the SEO is my biggest worry and after all is what we work hard on and having a 404 error on expired add is bad for user and from my view its unpretty.

    I also agree with @Ruben as valid points as well and this is the reason why i asked on the topic whilst we site owners need to allow for end users to remove adds/relist for revenue we also need to keep the site functioning and not covered in 404 errors.

    I am currently thinking about this over the next few days how to acheive the best method but it will need to cover the all of the points raised so far and this is the reason why i like this forum, other members helping out and providing advice



    This little plugin have the essential function our site need

    <<not to be a slave of search engines (broken link...)and to apply the rules saying Ad is online for XX days">>

    respect protocol World Wide Web Consortium (W3C)
    all you need to do is going to the admin and verif all his going well
    or add url yourself if you want

    WordPress › 410 for WordPress « WordPress Plugins



    If you want a online tool to test what happen after deleting url

    or to test the result code -->normaly HTTP/1.1 410 Gone

    Raw HTTP Header Debugger

    or lauch your page in Internet Explorer and you will see

    original started Thread here
    Best

  2. The Following 2 Users Say Thank You to mr_green For This Useful Post:

    barukar (April 10th, 2011), samanders (March 31st, 2011)

  3. #2
    pepsi's Avatar
    Join Date
    Mar 2009
    Location
    New Zealand
    Posts
    14,883
    Thanks
    91
    Thanked 804 Times in 718 Posts
    Thanks for sharing mr_green

  4. #3
    Marketplace Seller mr_green's Avatar
    Join Date
    Aug 2010
    Posts
    953
    Thanks
    113
    Thanked 192 Times in 147 Posts
    thanks Pepsi
    just submit a feedback that let you know, what I thinking about you !
    Best

  5. The Following User Says Thank You to mr_green For This Useful Post:

    cath (November 6th, 2011)

  6. #4
    cath's Avatar
    Join Date
    Aug 2011
    Location
    Belgium
    Posts
    15
    Thanks
    3
    Thanked 0 Times in 0 Posts
    thank you mister green ... I had also found this plugin smart 404 ... do you have any views on this one ... which would you advise ... thanks

  7. #5
    Marketplace Seller mr_green's Avatar
    Join Date
    Aug 2010
    Posts
    953
    Thanks
    113
    Thanked 192 Times in 147 Posts
    cath@
    which would you advise ... thanks
    not really the same function
    this one is really about :delete Ad -& -Ad don't exist anymore
    10.4.11 410 Gone http://www.w3.org/Protocols/rfc2616/...tml#sec10.4.11

    just install the plugin and "forget it"

    mr green
    Best

  8. #6
    Forum Member lodhig's Avatar
    Join Date
    Oct 2011
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts
    According to RFC2616, a HTTP return status of "410 Gone" means:

    "This condition is expected to be considered permanent. Clients with link editing capabilities SHOULD delete references to the Request-URI after user approval. If the server does not know, or has no facility to determine, whether or not the condition is permanent, the status code 404 (Not Found) SHOULD be used instead."

    Going by that definition, isn't the "404 Not Found" actually correct? In order to determine whether a post can be displayed (whether it exists or not) WP uses the function get_posts() to determine the various "criteria", of which one rule is:

    Only those posts with a status of "publish" are contenders, and all others should righfully be disgarded.

    Q: So then what's the difference between (1) a post that doesn't actually exist in the database, (2) one that does but is not yet published and (3) one that has been published in the past but then had it's published status revoked?

    A: Nothing.

    I think that's why "404 Not found" is actually correct as opposed to "410 Gone". The former is temporary while the latter is permanent.

    Enjoy guys

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Delete ad
    By spymare in forum Report ClassiPress Bugs
    Replies: 9
    Last Post: April 14th, 2011, 10:00 AM
  2. Replies: 5
    Last Post: February 2nd, 2011, 12:24 PM
  3. Replies: 1
    Last Post: July 13th, 2010, 11:59 PM