Print Page | Close Window

new site, 404 not working.

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Getting Started
Forum Description: Installing, activating, and getting started with ProductCart
URL: https://forum.productcart.com/forum_posts.asp?TID=3508
Printed Date: 21-November-2024 at 5:52pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: new site, 404 not working.
Posted By: russnj
Subject: new site, 404 not working.
Date Posted: 13-March-2010 at 6:43am
Hi All

We are new to PC and are having some problems, SEO google (that I will post in the other section) is not indexing our pages and 404 page is not showing up.

any ideas on why the 404 error page is not working?
http://www.bmionline.com/store/pc/home.asp

There is a 404 page specified in the admin
File name of "Page Not Found" page:  404b.asp

Thanks in advance!
Russ



Replies:
Posted By: Greg Dinger
Date Posted: 13-March-2010 at 9:52am
Russ - what you need to do is to create a static page containing your site design and place that file in the root of your site.  The page might be page-not-found.htm, and you should be able to render that page at http://www.bmionline.com/page-not-found.htm - http://www.bmionline.com/page-not-found.htm
 
An example is here:
http://www.koolertek.com/page-not-found.htm - http://www.koolertek.com/page-not-found.htm
 
Once you do that, the entry "/page-not-found.htm" would be stored in your settings instead of "404b.asp".
 
Does that help?


-------------
GreyBeard Design Group

Certified ProductCart Developer

Web Design/Development/Hosting

http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |


Posted By: russnj
Date Posted: 13-March-2010 at 11:11am
the 404b.asp page is on the server and in the pc folder is that correct?

Thanks
Russ


Posted By: Greg Dinger
Date Posted: 13-March-2010 at 11:20am
That is correct.  It lives in the PC folder.  But that is not the file that needs to be referenced in the admin.  In the admin you reference a page that is tailored for your site visitor that attempts to browse to a page that truly does not exist in your site.

-------------
GreyBeard Design Group

Certified ProductCart Developer

Web Design/Development/Hosting

http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |


Posted By: intour
Date Posted: 13-March-2010 at 2:59pm
This might need a bit more explaining.
 
Have you set up the correct 404 redirect in IIS as explained in the wiki? This tells the server to go to the 404.asp page which contains instructions to send the viewer to a static html page of your choice.
 
Usually this is a page you would create that matches your site design with a simple text message saying something like 'oops ! you appear to be searching for a page that does not exist.'
 
It is useful for this page to contain links back to everything else in your store or at the very least contain a link back to your home page.
 
As Greg has already stated - ideally you would save this page in the root of your site as something like 'page-not-found.html'. You specify this in the control panel when you switch on the SEO rich URL's the path would be  /page-not-found.html  if you have saved it in the root.
 
Hope this helps
 
Nigel
 


-------------
http://www.innerview.co.uk - Innerview
Productcart Platinum Reseller
Web Design/Hosting/Virtual Tours


Posted By: Greg Dinger
Date Posted: 13-March-2010 at 3:12pm
Nigel - I already looked. He already has the 404 working fine.
http://www.bmionline.com/store/pc/ACROSS-FIVE-APRILS-5-Audio-CDs-Unabr-4p5064.htm - http://www.bmionline.com/store/pc/ACROSS-FIVE-APRILS-5-Audio-CDs-Unabr-4p5064.htm
 
I think he just didn't understand what to do with the setting in the admin panel.


-------------
GreyBeard Design Group

Certified ProductCart Developer

Web Design/Development/Hosting

http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |


Posted By: russnj
Date Posted: 13-March-2010 at 3:18pm
Hi Greg that page works for me.

Try taking a few characters out.
http://www.bmionline.com/store/p/BASEBALL-IN-APRIL-OTHER-STORIES-2-Cassettes-Unabr-2-45-3p5027.htm

And I get this.
The system cannot find the file specified.

Shouldn't that go to the 404 page? or is it and we need to customize it?

Thanks
Russ


Posted By: intour
Date Posted: 13-March-2010 at 3:28pm
Hi Greg & Russ,
 
I understand now.
 
Yes the page should show your page-not-found.html page when someone types in an incorrect url or if you take out a few characters of the one above as you suggested. It sounds like its not set up properly in your control panel.
 
Nigel
 
Nigel
 
 


-------------
http://www.innerview.co.uk - Innerview
Productcart Platinum Reseller
Web Design/Hosting/Virtual Tours


Posted By: Guests
Date Posted: 13-March-2010 at 3:31pm
Hi Russ,

In the control panel, under Store Settings -> Miscellaneous Settings: File name of "Page Not Found" page:

what do you have entered there?

This should be your own file that you create as the "page of last resort" when no match can be found for the requested URL.


Posted By: Greg Dinger
Date Posted: 13-March-2010 at 4:19pm
In your example, you removed the "c" from "pc" which is a folder in the site and a critical part of the path to a page.  Yes, that would result in a redirect to the "last resort" 404 page. 
 
If your store is configured correctly, as we are suggesting, that should work.


-------------
GreyBeard Design Group

Certified ProductCart Developer

Web Design/Development/Hosting

http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |


Posted By: russnj
Date Posted: 13-March-2010 at 4:21pm
yes, its there but is says this below it, so I guess something is not setup correctly?

http://wiki.earlyimpact.com/productcart/seo-urls">  This feature requires that you http://wiki.earlyimpact.com/productcart/seo-urls - carefully review the related documentation .


Posted By: Guests
Date Posted: 13-March-2010 at 4:30pm
Originally posted by russnj russnj wrote:

yes, its there but is says this below it, so I guess something is not setup correctly? http://wiki.earlyimpact.com/productcart/seo-urls">  This
feature requires that you http://wiki.earlyimpact.com/productcart/seo-urls - carefully
review the related documentation .


That always displays even when configured correctly.

What do you have as the value for "File name of "Page Not Found" page:"


Posted By: russnj
Date Posted: 14-March-2010 at 10:19pm
404b.asp is the file name in there.


Posted By: Greg Dinger
Date Posted: 14-March-2010 at 10:38pm
OK, as mentioned above, please create a proper 404 page in the root of your site. Let's say that page is "pagenotfound.html". 
 
Store that page name in the admin as "/pagenotfound.html". 
 
404b.asp is not the proper configuration.


-------------
GreyBeard Design Group

Certified ProductCart Developer

Web Design/Development/Hosting

http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |


Posted By: Guests
Date Posted: 14-March-2010 at 10:50pm
Originally posted by russnj russnj wrote:

404b.asp is the file name in there.


Yeah, this is your problem, Russ. 404b.asp is part of the URL rewriting process; it needs to transfer to a file you create in the case of last resort.

PM me your email address and I'll send you the file I use, complete with PC header & footer & all.

Probably would be a good idea if PC shipped with such a file; kind of odd to go this far with the whole thing in v4 and not include an actual 404 handled error page, IMHO.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net