Jump to content
Latest News: (loading..)

Search the Community

Showing results for tags 'custom 404 error page'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • News and Announcements
    • News and Announcements
    • Partner Announcements
    • Ambassadors
  • Commercial Support
    • Developer Feedback
  • osCommerce Online Merchant v2.x
    • General Support
    • Installation and Configuration
    • Upgrading from Earlier Versions (v2.x to v2.x)
    • Add-Ons
    • Tips and Tricks
    • Security
  • Development
    • osCommerce Online Merchant v2.4
    • osCommerce Online Merchant Community Bootstrap Edition
    • osCommerce Online Merchant v3.x
    • Development Proposals
  • General
    • Next Steps / Optimizations / Marketing
    • Live Shop Reviews
    • E-Commerce Laws
    • General Discussions
    • PHP / SQL / Web Design
  • Club osC's Announcements
  • PayPal's Announcements
  • Sage Pay's Announcements
  • Solomono - new level osCommerce templates's Announcements
  • German Community's OSCOM v2.x
  • German Community's Allgemein
  • German Community's OSCOM v3.x

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



Real Name





Found 1 result

  1. This is often overlooked when moving or updating a website. Most Hosts will provide a default 404 error page but these are generic and not very helpful to your customer. No matter how hard you try you will always find the odd broken link or missing document. This is a basic and simple way to give your customer a better more useful page on this error. It will give your customer a contact page to let you know what’s missing or how you can help. This is based on shop being installed in root directory. and on Edge but should work for any version First open your .htaccess file in the root directory and add this line to it. “ErrorDocument 404 https://www.mywebsite.com/404contact_us.php” ****replace https://www.mywebsite.com with your own website**** Now make a copy of contact_us.php in the root directory and name it 404contact_us.php Now open 404contact_us.php and find this line. It should be around line 37 in Edge. <h1 class="h3"><?php echo HEADING_TITLE; ?></h1> Replace this with, <h1 class="h3"><?php echo "Sorry but we could not find that! Please contact us and we will try and help."; ?></h1> Now save and close the 404contact_us.php file. That’s it. Now when someone finds a broken link instead of getting a generic 404 error page like this. They are redirected to your website 404 contact _us page. Its only a little thing but it all helps.