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:
<script language="JavaScript" type="text/javascript"> Works on 3.4.x. Walt |
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
|
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? |
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 |
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.
|
SSI are turned on and the 404 page is set to executable. Its probably because my home page is set to redirect. to /customer
|
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=???
|
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.
|
How can one tell when they have reached the limits of the X-Cart Forum???
Nobody answers your posts any longer :cry: |
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 |
All times are GMT -8. The time now is 09:04 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.