Knowledgebase: Tips and Tricks
Making Your Not Found Page More Useful (NTFD)
Posted by Wayne Smith, Last modified by Jen Ferraz on 01 April 2011 11:00 AM
Miva Merchant E-commerce Blog


Making Your Not Found Page More Useful (NTFD)

When Miva Merchant 5.5 Production Release 6 was released back on July 28, 2009, there were numerous updates and changes. One of the new items added was a page called NTFD (Not Found). From the release announcement, “The software now routes requests for pages, products, or categories that do not exist to this page.”

By default, the page takes on whatever your site’s basic styling is and will relate the following messages based on the request that was made:

  • Page: Page ‘xx’ no longer exists.
  • Category: Category ‘xx’ is not available at this time.
  • Product: Product ‘xx’ is not available at this time.

Now this is all fine, it tells that what I had a link for is no longer available. But what do I do now? If it was a link for a product, are there any replacements or suggestions for it? It would be great to have a little guidance in this area. This is where some creative IF statements come in handy. Use the code below to replace the default NTFD page code and turn your response messages into something more useful like…

  • Page:
    We’re sorry but it appears that the “xx” page is not available at this time.
    Please click here to return to our home page.
  • Category:
    We’re sorry but it appears that the “xx” category is not available at this time.
    Please check our Site Map or click here to return to our home page.
  • Product:
    We’re sorry but it appears that product “xx” is not available at this time.
    Please check our Product Index or perform a Search to find a similar product.
    * For best results, if a product has been made inactive or removed from the store, make a note of this in a product that has superseded it to help the search function.

Below you will find the code to do this; simply copy & paste into the NTFD page template:

Until next time, happy coding.

Matt Zimmermann
Miva Merchant

Miva Merchant Blog Making Your Not Found Page More Useful (NTFD)
click here
(31 vote(s))
This article was helpful
This article was not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below. This is required to prevent automated registrations and form submissions.

Help Desk Software by Kayako support.miva.com/supportsuite/index.php?