Hello,
Does anyone know whether we can display the All Products or home page instead of the sitemap for the Page Not Found page?
I looked through the admin area but did not see any configure for it.
Thanks a lot.
Hello,
Does anyone know whether we can display the All Products or home page instead of the sitemap for the Page Not Found page?
I looked through the admin area but did not see any configure for it.
Thanks a lot.
If you wait to do everything until you're sure it's right, you'll probably never do much of anything !!!
Look at your admin's Configuration->My Store->Missing Page Check (towards the bottom of the list). The value "On" causes the index/main page to be displayed if a page is not found.
Well by George by Golly, that was easy :)
Thank you
If you wait to do everything until you're sure it's right, you'll probably never do much of anything !!!
Hi Lat9
Thanks for the reply. This raises another question, I have just in the past few days switched and uploaded my site from another shopping cart to Zencart and works beautifully i might add, the site is at www.nostik.ca
When i do a search however for my products it might list " http://www.nostik.ca/products/NoStik...of-2-bags.html " when i click on that link it comes up with a browser error webpage not found, if i were to remove the html extension from the address it will end up on my home page of the site. Is there a way to circumvent this so the page will be displayed properly even with the html extension in the address ?
Thank You
If you wait to do everything until you're sure it's right, you'll probably never do much of anything !!!
You'll probably need to use .htaccess redirects to accomplish that. Add the following line to the .htaccess (that's its full name) file in the root directory of your Zen Cart installation:
That causes any base "not found" errors to be redirected to your main page.Code:# Point 404 errors to the website home page ErrorDocument 404 /index.php
Yup, that did it.
Thanks again
If you wait to do everything until you're sure it's right, you'll probably never do much of anything !!!
Bookmarks