# replace www.MYSITE.COM with your website address.
# be sure to add any extra paths required to locate the index.php
# then relocate this file to the root of your store's folders, and rename it as .htaccess

ErrorDocument 404 http://www.MYSITE.COM/index.php?main_page=page_not_found