| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Custom 404 Error Search Page | ||||
|
|
Thread Tools | Search this Thread |
#11
|
|||||||||
|
|||||||||
http://www.adpmods.com/dogbyteman.html
NOPE. I just made a pretty 404 error page. This would have been a cool mod, but I have moved way beyond it. |
|||||||||
#12
|
|||||||||
|
|||||||||
I can make it work somewhat redirecting with .htaccess containing /xcart/customer/search404.php but the page shows without pictures and formatting. If I use http://yourdomain.com/xcart/customer/search404.php as the redirect the formatting is good but the search is bad.
__________________
Dedicated Server provided by EWD Hosting X-Cart version 4.1.12 PHP 5.3.2 MySQL server 5.0.87-community Operation system Linux Perl 5.008008 dogbytecomputer.com |
|||||||||
#13
|
|||||||||
|
|||||||||
I've been trying to understand why if you use the following placed in a .htaccess file, the resulting page is without pictures, template formatting and CSS.
ErrorDocument 404 /xcart/customer/search404.php However if you use... ErrorDocument 404 http://www.yourdomain.com/xcart/customer/search404.php Everything shows perfectly. WHY?
__________________
Dedicated Server provided by EWD Hosting X-Cart version 4.1.12 PHP 5.3.2 MySQL server 5.0.87-community Operation system Linux Perl 5.008008 dogbytecomputer.com |
|||||||||
#14
|
|||||||||
|
|||||||||
If I could just get an answer to the above post, I might be able to make this script work...
__________________
Dedicated Server provided by EWD Hosting X-Cart version 4.1.12 PHP 5.3.2 MySQL server 5.0.87-community Operation system Linux Perl 5.008008 dogbytecomputer.com |
|||||||||
#15
|
|||||||||
|
|||||||||
Wish I could help buddy, but this is out of my league.
|
|||||||||
#16
|
|||||||||
|
|||||||||
I'm Sooooooo Close..... Yet Soooooooo Far
__________________
Dedicated Server provided by EWD Hosting X-Cart version 4.1.12 PHP 5.3.2 MySQL server 5.0.87-community Operation system Linux Perl 5.008008 dogbytecomputer.com |
|||||||||
#17
|
|||||||
|
|||||||
i know i am Waaaay late on this...but i got it to work by simply going into my control panel and adding a shtml redirect...
so that anytime someone goes to a page that doesnt exist, they get redirected to this new search404 and it seems to do the trick for me.... if you want to use this you will need to adjust the name/location of your search404.php file.... Code:
~TonyD
__________________
X-Cart v 4.7.8(live) |
|||||||
#18
|
|||||||||
|
|||||||||
Anybody ever upgraded this code to work with 4.0.x?
__________________
Dedicated Server provided by EWD Hosting X-Cart version 4.1.12 PHP 5.3.2 MySQL server 5.0.87-community Operation system Linux Perl 5.008008 dogbytecomputer.com |
|||||||||
#19
|
|||||||
|
|||||||
I am not sure if this will help you guys out or not.
I have done this on several sites and it seems to help. This helps to not loose to many customers and keeps them in the store. I recieved this from a friend of mine and not sure where it came from, but I know I can't take the credit for making it. Just sharing it. Hope no one minds a sizable post cause it is a bit lengthy. here goes enjoy... Code:
Well, there ya go. I am sure a lot of you already knew this, but for those who may not, now you do.
__________________
vs 4.1.12 |
|||||||
#20
|
|||||||
|
|||||||
I know this is an old post, but I thoght I would add a tptal list of error pages for those that wish to use this capability in the .htaccess referral I posted above.
__________________
vs 4.1.12 |
|||||||
|
|||
X-Cart forums © 2001-2020
|