[osCommerce] Custom 404 pages no longer working
-
- Posts: 3
- Joined: Sat Aug 28, 2010 9:00 am
[osCommerce] Custom 404 pages no longer working
Before I installed Magic SEO if a page wasn't found the user was sent to my custom 404 page. Now if a page is not found they see a page of HTML code. Obviously this is not a good customer experience. It could happen if a customer follows a link to a product that no longer exists. My site has lots of inbound links to old products.
How can I make it so that when an old link is requested the user sees our 404 page rather than a junk page like they do at this example: http://www.make-me-beautiful.co.uk/shop/product_info.php?products_id=9
How can I make it so that when an old link is requested the user sees our 404 page rather than a junk page like they do at this example: http://www.make-me-beautiful.co.uk/shop/product_info.php?products_id=9
Re: [osCommerce] Custom 404 pages no longer working
Make sure you have added ErrorDocument 404 directive to your newly generated .htaccess file.
-
- Posts: 3
- Joined: Sat Aug 28, 2010 9:00 am
Re: [osCommerce] Custom 404 pages no longer working
I have ErrorDocument 404 http://www.make-me-beautiful.co.uk/error404.php in there but I still see the code ie:
http://www.make-me-beautiful.co.uk/shop ... ducts_id=1
http://www.make-me-beautiful.co.uk/shop ... ducts_id=1
Re: [osCommerce] Custom 404 pages no longer working
Are you really sure it happen after you installed Magic SEO URLs? (you have installed it in November 2010...)
If you mean that after clicking on http://www.make-me-beautiful.co.uk/shop ... ducts_id=1 you get a junk page, then I can say this problem is not related to Magic SEO URLs.
If you mean that after clicking on http://www.make-me-beautiful.co.uk/shop ... ducts_id=1 you get a junk page, then I can say this problem is not related to Magic SEO URLs.
-
- Posts: 3
- Joined: Sat Aug 28, 2010 9:00 am
Re: [osCommerce] Custom 404 pages no longer working
Before I had an OsCommerce "product not found" page that would show if a SKU was marked out of stock. What should Magic SEO's response be if a URL that doesn't exist executes?
If I use a page that never existed as a web address I get the correct 404 response:
http://www.make-me-beautiful.co.uk/shop/nopagehere
Also I note that the issue happen with mistyped Magic SEO urls. Here is an example:
If the product ID was 788 and it was mistyped 78
mydomain.co.uk/magic-seo-url-8/here-is-product-name-78
would redirect to mydomain.co.uk/products_info.php?products_id=78
This would generate a the junk error message since the page Magic SEO urls is redirecting to contains an invalid parameter. I think ?products_id=78 should be ?p_id=78. Under this parameter, OsCommerce default out of stock page is fired and all is well.
If I use a page that never existed as a web address I get the correct 404 response:
http://www.make-me-beautiful.co.uk/shop/nopagehere
Also I note that the issue happen with mistyped Magic SEO urls. Here is an example:
If the product ID was 788 and it was mistyped 78
mydomain.co.uk/magic-seo-url-8/here-is-product-name-78
would redirect to mydomain.co.uk/products_info.php?products_id=78
This would generate a the junk error message since the page Magic SEO urls is redirecting to contains an invalid parameter. I think ?products_id=78 should be ?p_id=78. Under this parameter, OsCommerce default out of stock page is fired and all is well.
Re: [osCommerce] Custom 404 pages no longer working
Please try to reproduce the problem at our demo at http://demo.inveostore.com/zencart/ By doing so, you will see whether it is problem specific to your ZC installation or general problem.