| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
404 page for handling bad HTML catalog pages | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
404 page for handling bad HTML catalog pages
I don't remember if I posted this before. I've got a 404.shtml that I use to handle bad/old html catalog links. Say we've renamed a product, or no longer carry it, but some index still has that page indexed.
Code:
Works on 3.4.x. Walt
__________________
X-cart Gold 4.1.7 on Linux/Apache. |
|||||||
#2
|
|||||||||
|
|||||||||
substring does not pass in 4.0.X. For a sec i thought I had it.... I'll work on it. If anyone knows how to pass the keywords in 4.0.X, let us know
__________________
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 |
|||||||||
#3
|
|||||||||
|
|||||||||
This is nothing short of a total bummer...
Finally find a way to have a search404 and because I upgraded 4.0.X I can't use it. Anybody know how we can pass the variable in 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 |
|||||||||
#4
|
|||||||
|
|||||||
Didn't work in 3.4.7
I tried this on 3.4.7 for an item I know I removed and went to google found it and when I click on it in goggle it went to the home page with search string http://www.lingerieblowout.com/customer/search.php?substring= any idea
Michael
__________________
http://www.lingerieblowout.com Version 4.1.10 http://www.topnichewebsites.com Version 4.4.5 Michael |
|||||||
#5
|
|||||||
|
|||||||
You need to make sure that you or your hosting company has Server Side Includes (SSI) turned on. Your 404.shtml will need to be executable as well IIRC.
__________________
X-cart Gold 4.1.7 on Linux/Apache. |
|||||||
#6
|
|||||||
|
|||||||
SSI are turned on and the 404 page is set to executable. Its probably because my home page is set to redirect. to /customer
__________________
http://www.lingerieblowout.com Version 4.1.10 http://www.topnichewebsites.com Version 4.4.5 Michael |
|||||||
#7
|
|||||||||
|
|||||||||
How difficult would it be to change the POST method search in 4.0.x to the GET method found in 3.x.x, so that you could use substring=???
__________________
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 |
|||||||||
#8
|
|||||||||
|
|||||||||
OK let's try the question this way... How difficult would it be to implement the 3.x.x branch search into 4.0.x Version X-Carts so that substring=??? could be used for the 404search and for the ability to link searches.
__________________
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 |
|||||||||
#9
|
|||||||||
|
|||||||||
How can one tell when they have reached the limits of the X-Cart Forum???
Nobody answers your posts any longer
__________________
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 |
|||||||||
#10
|
|||||||
|
|||||||
We're just converting to the 4.x branch, so I'll be rewriting this soon. I'll post a new version once that's done.
Walt
__________________
X-cart Gold 4.1.7 on Linux/Apache. |
|||||||
|
|||
X-Cart forums © 2001-2020
|