[osCommerce] Custom 404 pages no longer working

Magic SEO URLs for CRE Loaded.
minxymoggy
Posts: 3
Joined: Sat Aug 28, 2010 9:00 am

[osCommerce] Custom 404 pages no longer working

Postby minxymoggy » Fri Jan 28, 2011 12:49 pm

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

inveo
Inveo Support
Posts: 1285
Joined: Sat Feb 02, 2008 12:07 pm
Contact:

Re: [osCommerce] Custom 404 pages no longer working

Postby inveo » Fri Jan 28, 2011 1:15 pm

Make sure you have added ErrorDocument 404 directive to your newly generated .htaccess file.

minxymoggy
Posts: 3
Joined: Sat Aug 28, 2010 9:00 am

Re: [osCommerce] Custom 404 pages no longer working

Postby minxymoggy » Fri Jan 28, 2011 3:00 pm


inveo
Inveo Support
Posts: 1285
Joined: Sat Feb 02, 2008 12:07 pm
Contact:

Re: [osCommerce] Custom 404 pages no longer working

Postby inveo » Fri Jan 28, 2011 3:17 pm

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.

minxymoggy
Posts: 3
Joined: Sat Aug 28, 2010 9:00 am

Re: [osCommerce] Custom 404 pages no longer working

Postby minxymoggy » Fri Jan 28, 2011 4:07 pm

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.

inveo
Inveo Support
Posts: 1285
Joined: Sat Feb 02, 2008 12:07 pm
Contact:

Re: [osCommerce] Custom 404 pages no longer working

Postby inveo » Fri Jan 28, 2011 5:44 pm

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.