new site, 404 not working. |
Post Reply | Page 12> |
Author | |
russnj
Newbie Joined: 25-November-2009 Status: Offline Points: 0 |
Post Options
Thanks(0)
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 |
|
Greg Dinger
Certified ProductCart Developers Joined: 23-September-2006 Location: United States Status: Offline Points: 238 |
Post Options
Thanks(0)
|
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
An example is here:
Once you do that, the entry "/page-not-found.htm" would be stored in your settings instead of "404b.asp".
Does that help?
|
|
russnj
Newbie Joined: 25-November-2009 Status: Offline Points: 0 |
Post Options
Thanks(0)
|
the 404b.asp page is on the server and in the pc folder is that correct?
Thanks Russ |
|
Greg Dinger
Certified ProductCart Developers Joined: 23-September-2006 Location: United States Status: Offline Points: 238 |
Post Options
Thanks(0)
|
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.
|
|
intour
Senior Member Joined: 30-June-2006 Location: United Kingdom Status: Offline Points: 0 |
Post Options
Thanks(0)
|
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
Edited by intour - 13-March-2010 at 3:00pm |
|
Greg Dinger
Certified ProductCart Developers Joined: 23-September-2006 Location: United States Status: Offline Points: 238 |
Post Options
Thanks(0)
|
Nigel - I already looked. He already has the 404 working fine.
I think he just didn't understand what to do with the setting in the admin panel.
|
|
russnj
Newbie Joined: 25-November-2009 Status: Offline Points: 0 |
Post Options
Thanks(0)
|
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 |
|
intour
Senior Member Joined: 30-June-2006 Location: United Kingdom Status: Offline Points: 0 |
Post Options
Thanks(0)
|
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
|
|
Guests
Guest |
Post Options
Thanks(0)
|
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. |
|
Greg Dinger
Certified ProductCart Developers Joined: 23-September-2006 Location: United States Status: Offline Points: 238 |
Post Options
Thanks(0)
|
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.
|
|
Post Reply | Page 12> |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |