| ||||||||||
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 |
#1
|
|||||||
|
|||||||
Custom 404 Error Search Page
This script is based on the search.php file in the /customer directory.
search404.php is a custom 404 error page that no site should be without. It is designed to parce the url and take the keywords that it finds and create a custom results page for your customers. For instance, say your old site had the page, www.yoursite.com/computer/printer/hp.htm. This script will take the url and create the following keywords: computer, printer, and hp. Then it will perform a custom search and the 404 error page people will see is the search results for these keywords. So, URL's that didn't exist before now exist with custom tailored results. If it finds no results, it will redirect the users to your main page (or whatever you specify). This is very good if you had old placements in search engines that you don't want to go to waste. Paste this code into a file and place it next to search.php in the /customer directory. Code:
|
|||||||
#2
|
|||||||
|
|||||||
Wow, great idea! I'll have to try it...
__________________
Joshua Sowin ...taking things one TPL at a time. |
|||||||
#3
|
|||||||
|
|||||||
Nice script
I tend to use a different error reporting script but it essentially does the same thing.
__________________
ex x-cart guru |
|||||||
#4
|
|||||||
|
|||||||
not working
for some reason this script is not working with me
any sugestions ? |
|||||||
#5
|
|||||||
|
|||||||
Ok i created a file called bettersearch.php pasted the above code into it and ftp'd the file into the same directory as search.php but for some reason the new file doesn't work? how do i get it to work.
|
|||||||
#6
|
|||||||||
|
|||||||||
I'm having the same problem with this script. How do we get it to work? I don't understand how the search script knows about this file. Help?
__________________
one day we\'ll all look back at the progress of x-cart like our child grown up and ready to take on the world... |
|||||||||
#7
|
|||||||||
|
|||||||||
Someone please help.
I would love to be able to use this script as well. |
|||||||||
#8
|
|||||||||
|
|||||||||
Funkydunk,
would you be willing to share the script that you are using to acheive this effect? *We cannot get this one to work* and it's very important (for me) that our x-cart store capture all the traffic that is being achieved by our old site's Google rankings. I'd be willing to pay if you were cool with it.
__________________
one day we\'ll all look back at the progress of x-cart like our child grown up and ready to take on the world... |
|||||||||
#9
|
|||||||||
|
|||||||||
Anyone got one of these?
I will kick in some cash. It is needed now more than ever.... |
|||||||||
#10
|
|||||||||
|
|||||||||
adpboss.... did you, or anyone who reads this, get this to work. If so, how?
__________________
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 |
|||||||||
|
|||
X-Cart forums © 2001-2020
|