[osCommerce] Custom 404 pages no longer working

Technical difficulties? Ask for help here.

[osCommerce] Custom 404 pages no longer working

Postby minxymoggy » Fri Jan 28, 2011 11:49 am

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
minxymoggy
 
Posts: 3
Joined: Sat Aug 28, 2010 8:00 am

Re: [osCommerce] Custom 404 pages no longer working

Postby ~J~ » Fri Jan 28, 2011 12:15 pm

Make sure you have added ErrorDocument 404 directive to your newly generated .htaccess file.
Magic SEO URLs are now available for
osCommerce, CRE Loaded, Zen Cart, PrestaShop, OpenCart, CubeCart, phpBB and phpBB3!
~J~
InveoStore.com Founder
 
Posts: 1056
Joined: Sat Feb 02, 2008 11:07 am
Location: Prague, Central Europe

Re: [osCommerce] Custom 404 pages no longer working

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

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

Re: [osCommerce] Custom 404 pages no longer working

Postby ~J~ » Fri Jan 28, 2011 2: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.
Magic SEO URLs are now available for
osCommerce, CRE Loaded, Zen Cart, PrestaShop, OpenCart, CubeCart, phpBB and phpBB3!
~J~
InveoStore.com Founder
 
Posts: 1056
Joined: Sat Feb 02, 2008 11:07 am
Location: Prague, Central Europe

Re: [osCommerce] Custom 404 pages no longer working

Postby minxymoggy » Fri Jan 28, 2011 3: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.
minxymoggy
 
Posts: 3
Joined: Sat Aug 28, 2010 8:00 am

Re: [osCommerce] Custom 404 pages no longer working

Postby ~J~ » Fri Jan 28, 2011 4: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.
Magic SEO URLs are now available for
osCommerce, CRE Loaded, Zen Cart, PrestaShop, OpenCart, CubeCart, phpBB and phpBB3!
~J~
InveoStore.com Founder
 
Posts: 1056
Joined: Sat Feb 02, 2008 11:07 am
Location: Prague, Central Europe


Return to Troubleshooting

Who is online

Users browsing this forum: Bing [Bot] and 1 guest