http://www.ecom-mods.com/search.php?pg=1&stext=csv+utility&sprice=&stype=&scat=
Get rid of the ugly, hard-to-read links like the above and give your visitors meaningful links to helpful, SEO friendly static search result pages with the steps below:
1. Make a copy of search.php and rename it to the page name you want.
2. Open the new page in code/text view in your HTML editor or notepad and find the following line:
<?php include "vsadmin/inc/incsearch.php" ?>
3. Above this line, add the following code:
<?php
/************************************************************************************************
Static Search Page Settings
************************************************************************************************/
$_GET['stext'] = 'csv utility'; // The text to be searched on
$_GET['scat'] = ''; // The category number to be searched in, use commas between the numbers to search on multiple categories eg scat=12,13,14
$_GET['stype'] = 'all'; // 'any', 'exact' or 'all'
$_GET['sminprice'] = ''; // The minimum price parameter
$_GET['sprice'] = ''; // The maximum price parameter
$_GET['sman'] = ''; // This is to search by manufacturer eg, sman=xx - where xx is the id (Version 5.4 required)
/************************************************************************************************
DO NOT CHANGE THE BELOW VARIABLES
************************************************************************************************/
$_GET['nobox'] = 'true';
if(!isset($_GET['pg']) || !is_numeric($_GET['pg'])) $_GET['pg'] = 1;
$orprodsperpage=9999;
?>
4. Save the page, upload it to your server, and test.
Here are a few examples:
http://www.ecom-mods.com/csv-utilities.php
http://www.ecom-mods.com/100m-product-line.php
http://www.ecom-mods.com/all-products.php
Daniel Ewers
Ecom-Mods.com
PHP extensions from Ecom-Mods.com
Rate Our Products & Services