Results 1 to 6 of 6

Threaded View

  1. #1
    Join Date
    Jul 2007
    Posts
    154
    Plugin Contributions
    0

    Default Page Not Found redirect not working for some of my deleted products

    I have a different sort of problem - all mistyped URL searches to my site show the page_not_found as they are supposed to and nicely returning 404 Not Found headers. Also products which have been removed from the catalog and redirected via .htaccess return either the 410 or 301 headers as needed.

    The problem I couldn't find solution for is with the pages for products which have been removed from catalog but I don't want to redirect them with 301 or 410 if this can be helped. I imagine that since the deleted products don't exist anymore, typing their former URL would generate standard 404 Not Found header and display the page_not found without the need of redirecting them one by one.

    Example 1 - accidental URL typed/mistyped returns 404 response:
    http://www.all4coffee.com/xxxx

    Example 2 - redirected in .htaccess, old directory returns 410:
    http://www.all4coffee.com/gifts

    BUT

    Example 3 - removed product URL and not redirected in .htaccess (other than the line: ErrorDocument 404 /index.php?main_page=page_not_found) hangs in Browser and displays "Cannot display in Browser" message. Server header check shows however 200 OK. I checked database and confirmed that the product is not there anymore:
    http://www.all4coffee.com/monin-banana-p-109.html

    I don't understand why. Logically since the URL for the deleted product doesn't exist, the result should be 404 Not Found. Where am I wrong? I'm using ZenCart 1.37 and would appreciate your help. Thanks.
    Last edited by all4coffee; 15 Aug 2010 at 05:06 AM.

 

 

Similar Threads

  1. Replies: 36
    Last Post: 20 Feb 2012, 09:23 AM
  2. login redirect to 'page not found'
    By bigbadboy in forum General Questions
    Replies: 1
    Last Post: 6 Mar 2009, 12:40 PM
  3. Page Not Found override not working for me
    By Spinner in forum Templates, Stylesheets, Page Layout
    Replies: 42
    Last Post: 13 Jan 2009, 08:24 PM
  4. Success Page not found - redirect error? timeout?
    By kshorty in forum General Questions
    Replies: 0
    Last Post: 1 May 2008, 11:45 PM
  5. 404 Not Found Page Not Found not working!
    By NamSingh in forum Basic Configuration
    Replies: 0
    Last Post: 15 Oct 2006, 10:31 AM

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
  •