X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   404 page (https://forum.x-cart.com/showthread.php?t=53390)

Keely 04-21-2010 05:56 PM

404 page
 
I can't fix my 404 page

Has "Company Name" literally, and an extraneous old logo in the header.
And "Powered by X-Cart shopping cart software" shows up bottom left footer, though removed from main/prnotice.tpl

Website: http://www.whatsinthejewellerybox.com

Type /anything, after the URL, to get the 404

I did upload a 404.html and added this line to .htaccess -
ErrorDocument 404 /404.html

but still goes to 404.php

hoosierglass 04-21-2010 06:33 PM

Re: 404 page
 
Use firebug in FireFox and you should have no problem finding what to change.

cflsystems 04-21-2010 06:37 PM

Re: 404 page
 
Just replace the skin1/404 html page with yours

Keely 04-21-2010 06:42 PM

Re: 404 page
 
Quote:

Originally Posted by hoosierglass
Use firebug in FireFox and you should have no problem finding what to change.


Yes, I HAVE been using Firebug - I use it religiously, but just having issues fixing the page still. Thought an outside perspective would help.

Keely 04-21-2010 06:46 PM

Re: 404 page
 
Quote:

Originally Posted by cflsystems
Just replace the skin1/404 html page with yours


BEAUTIFUL :lol:

That's it - thanks Steve

almenzies 04-26-2010 07:11 PM

Re: 404 page
 
Does anyone know how to make the 404 page dynamic?

Obviously you can change skin1/404 html, however if any menu's/ navigation is updated then it's not reflected on the static html page.

I've tried using:

ErrorDocument 404 /my404page.php

in .htaccess so I can create and configure my own dynamic 404 page however it's always over-ridden by the xcart default

accesspos 06-26-2010 06:18 PM

Re: 404 page
 
Hello Almenzies,

I noticed you seemed to achieve what you were after with http://www.ergofurniture.com.au/page-not-found.php

could you give me a few hints on how you went about it. I am looking to do the same

minfinger 08-04-2010 06:52 AM

Re: 404 page
 
Ditto. This 404 page sucks.

I'd like to make it at least look like the real page. Plus I'd love to through in my Carousel program, so that products appear on it.

Does the 404.html contain the header information as well?

accesspos 08-04-2010 02:37 PM

Re: 404 page
 
1. create a static page "page-not-found.html" in admin

2. view "page-not-found.html" your browser > view source > select all > copy code

3. download skin1/404/404_en.html > edit it and paste in code from above > upload

4. disable your static "page-not-found.html" in admin. elect not to show it in your static page section.

5. suggest you edit robots.txt and disallow indexing of "page-not-found.html"

6. For future updates of 404_en.html (eg. if your side menu change etc) > enable "page-not-found.html" in admin > do steps 2 - 4 above

isaels@i-artsupplies.co.u 12-13-2010 10:12 AM

Re: 404 page
 
works a treat!

minfinger 09-29-2011 06:01 PM

Re: 404 page
 
So I found this thread again after a whole year. It occurred to me that I hadn't made this change yet.

I'd like to display products on the 404 Page is this possible?

cflsystems 09-29-2011 06:07 PM

Re: 404 page
 
XC 404 page is static html page, not even a smarty template. If you want products on it you have to either include the links yourself or recode the way 404 page is called so you can make a smarty template and assign products to it

minfinger 10-02-2011 05:01 PM

Re: 404 page
 
Thanks Steve. I figured it would be something like.


All times are GMT -8. The time now is 12:31 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.