Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Seach Engine Friendly URL Support


BlueYon

Recommended Posts

Hi

 

i have installed the module

 

the problem i am facing it that when i try to open domain.com/software/microsoft

 

it gets open but none of the links work from the index page or any other page.

 

i read the previous post  where in it was instructed to make a change in the application_top page

 

i did that too.

 

i am using the v 1.4

 

Please help me.

 

Regards

 

Rushik

 

 

Make a backup of your index.php and save it and use the one that came with the contribution or copy the changes from the index.php in the contribution to your index.php file. Sounds like you missed the index page. Hope that helps.

Mair

Link to comment
Share on other sites

  • Replies 968
  • Created
  • Last Reply

Top Posters In This Topic

Hi Everyone!

 

I am trying for two days now to install SEO and it seems only to work fine only when cookie is forced. Any other option fails. (only cname works, rewrite fails too)

 

I have noticed this syntax error in a previous contribution I have installed in admin  'Quick Updates'.

 

1064 - You have an error in your SQL syntax near '' at line 1

select manufacturers_name from manufacturers where manufacturers_id=

[TEP STOP]

 

It looked like a minor error to me since it only occured under rare circumstances but I am starting to believe this could be the cause to the problem I am experiencing with the SEO.

 

Could anyone confirm this?

 

Also could anyone give me the exact syntax to insert into the database to solve this problem?

 

Many Thanx!

 

 

I believe you are in the wrong forum this is a different SEO, this is not the cname pname that is Chemo's contribution. Hope that helps.

Mair

Link to comment
Share on other sites

Hey,

 

I have a Problem.

 

I Have no index.php it's called in my shop default.php. And I'm an absolut beginner in php. so i have installt all of them without the index.php. And now is the problem that if i want open in the catalog box my categories ore products so i became no response. see www.spielware.comMy Webpage

 

my default.php code is this one.

[/code]

<?php

 

/*

 

$Id: default.php,v 1.81 2003/02/13 04:23:23 hpdl Exp $

 

 

 

osCommerce, Open Source E-Commerce Solutions

 

http://www.oscommerce.com

 

 

 

Copyright © 2003 osCommerce

 

 

 

Released under the GNU General Public License

 

*/

 

 

 

include ('custom.php');

 

require('includes/application_top.php');

//SEF BEGIN

if (isset($HTTP_GET_VARS['products_id'])){

 

require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_PRODUCT_INFO);

 

$product_check_query = tep_db_query("select count(*) as total from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_status = '1' and p.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "'");

$product_check = tep_db_fetch_array($product_check_query);

 

} else {

//SEF END

 

 

// the following cPath references come from application_top.php

 

$category_depth = 'top';

 

if (isset($cPath) && tep_not_null($cPath)) {

 

$categories_products_query = tep_db_query("select count(*) as total from " . TABLE_PRODUCTS_TO_CATEGORIES . " where categories_id = '" . $current_category_id . "'");

 

$cateqories_products = tep_db_fetch_array($categories_products_query);

 

if ($cateqories_products['total'] > 0) {

 

$category_depth = 'products'; // display products

 

} else {

 

$category_parent_query = tep_db_query("select count(*) as total from " . TABLE_CATEGORIES . " where parent_id = '" . $current_category_id . "'");

 

$category_parent = tep_db_fetch_array($category_parent_query);

 

if ($category_parent['total'] > 0) {

 

$category_depth = 'nested'; // navigate through the categories

 

} else {

 

$category_depth = 'products'; // category has no products, but display the 'no products' message

 

}

 

}

 

}

 

 

 

require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_DEFAULT);

 

?>

 

<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">

 

<html <?php echo HTML_PARAMS; ?>>

 

<head>

 

<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">

 

<?php

 

// BOF: WebMakers.com Changed: Header Tag Controller v1.0

 

// Replaced by header_tags.php

 

if ( file_exists(DIR_WS_INCLUDES . 'header_tags.php') ) {

 

require(DIR_WS_INCLUDES . 'header_tags.php');

 

} else {

 

?>

 

<title><?php echo TITLE ?></title>

 

<?php

 

}

 

// EOF: WebMakers.com Changed: Header Tag Controller v1.0

 

?>

 

<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">

 

<link rel="stylesheet" type="text/css" href="<?php echo 'stylesheet_'.I3ISTYLE.'.css'?>">

 

</head>

 

<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">

 

<div align="center">

 

<table width="<?php echo MAX_SHOP ?>" border="0">

 

<tr>

 

<td><!-- header //-->

 

<?php require(DIR_WS_INCLUDES . 'header.php'); ?>

 

<!-- header_eof //-->

 

<!-- body //-->

 

 

 

<div align="center"></div>

 

<div align="center">

 

<table class=mainback border="0" width="<?php echo MAX_SHOP ?>" cellspacing="3" cellpadding="3">

 

<tr>

 

<td width="<?php echo BOX_WIDTH; ?>" valign="top">

 

<table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">

 

<!-- left_navigation //-->

 

<?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>

 

<!-- left_navigation_eof //-->

 

</table>

 

</td>

 

<!-- body_text //-->

 

<?php

 

if ($category_depth == 'nested') {

 

$category_query = tep_db_query("select cd.categories_name, c.categories_image from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.categories_id = '" . $current_category_id . "' and cd.categories_id = '" . $current_category_id . "' and cd.language_id = '" . $languages_id . "'");

 

$category = tep_db_fetch_array($category_query);

 

?>

 

<td width="100%" valign="top">

 

<table border="0" width="100%" cellspacing="0" cellpadding="0">

 

<tr>

 

<td>

 

<table border="0" width="100%" cellspacing="0" cellpadding="0">

 

<tr>

 

<td class="pageHeading">

 

<?php //echo HEADING_TITLE; ?>

 

</td>

 

<td class="pageHeading" align="right">

 

<?php echo tep_image(DIR_WS_IMAGES .$category['categories_image'], $category['categories_name'], HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?>

 

</td>

 

</tr>

 

</table>

 

</td>

 

</tr>

 

<tr>

 

<td>

 

<?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?>

 

</td>

 

</tr>

 

<tr>

 

<td>

 

<table border="0" width="100%" cellspacing="0" cellpadding="2">

 

<tr>

 

<td>

 

<table border="0" width="100%" cellspacing="0" cellpadding="2">

 

<tr>

 

<?php

 

if (isset($cPath) && ereg('_', $cPath)) {

 

// check to see if there are deeper categories within the current category

 

$category_links = array_reverse($cPath_array);

 

for($i=0, $n=sizeof($category_links); $i<$n; $i++) {

 

$categories_query = tep_db_query("select c.categories_id, cd.categories_name, c.categories_image, c.parent_id from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.parent_id = '" . $category_links[$i] . "' and c.categories_id = cd.categories_id and cd.language_id = '" . $languages_id . "' order by sort_order, cd.categories_name");

 

if (tep_db_num_rows($categories_query) < 1) {

 

// do nothing, go through the loop

 

} else {

 

break; // we've found the deepest category the customer is in

 

}

 

}

 

} else {

 

$categories_query = tep_db_query("select c.categories_id, cd.categories_name, c.categories_image, c.parent_id from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.parent_id = '" . $current_category_id . "' and c.categories_id = cd.categories_id and cd.language_id = '" . $languages_id . "' order by sort_order, cd.categories_name");

 

}

 

 

 

$rows = 0;

 

while ($categories = tep_db_fetch_array($categories_query)) {

 

$rows++;

 

$cPath_new = tep_get_path($categories['categories_id']);

 

$width = (int)(100 / MAX_DISPLAY_CATEGORIES_PER_ROW) . '%';

 

echo ' <td align="center" class="smallText" style="width: ' . $width . '" valign="top"><a href="' . tep_href_link(FILENAME_DEFAULT, $cPath_new) . '">' .tep_image(DIR_WS_IMAGES .$categories['categories_image'], $categories['categories_name'], SUBCATEGORY_IMAGE_WIDTH, SUBCATEGORY_IMAGE_HEIGHT) . '<br>' . $categories['categories_name'] . '</a></td>' . "\n";

 

if ((($rows / MAX_DISPLAY_CATEGORIES_PER_ROW) == floor($rows / MAX_DISPLAY_CATEGORIES_PER_ROW)) && ($rows != tep_db_num_rows($categories_query))) {

 

echo ' </tr>' . "\n";

 

echo ' <tr>' . "\n";

 

}

 

}

 

?>

 

</tr>

 

</table>

 

</td>

 

</tr>

 

<tr>

 

<td>

<?php //$new_products_category_id = $current_category_id; include(DIR_WS_MODULES . FILENAME_CAT_MAIN); ?>

 

<?php $new_products_category_id = $current_category_id; include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?>

 

</td>

 

</tr>

 

</table>

 

</td>

 

</tr>

 

</table>

 

</td>

 

<?php

 

} elseif ($category_depth == 'products' || $HTTP_GET_VARS['manufacturers_id']) {

 

// create column list

 

$define_list = array('PRODUCT_LIST_MODEL' => PRODUCT_LIST_MODEL,

 

'PRODUCT_LIST_NAME' => PRODUCT_LIST_NAME,

 

'PRODUCT_LIST_MANUFACTURER' => PRODUCT_LIST_MANUFACTURER,

 

'PRODUCT_LIST_PRICE' => PRODUCT_LIST_PRICE,

 

'PRODUCT_LIST_ST_PRICE' => PRODUCT_LIST_ST_PRICE,

 

'PRODUCT_LIST_QUANTITY' => PRODUCT_LIST_QUANTITY,

 

'PRODUCT_LIST_WEIGHT' => PRODUCT_LIST_WEIGHT,

 

'PRODUCT_LIST_IMAGE' => PRODUCT_LIST_IMAGE,

 

'PRODUCT_LIST_BUY_NOW' => PRODUCT_LIST_BUY_NOW);

 

asort($define_list);

 

 

 

$column_list = array();

 

reset($define_list);

 

while (list($column, $value) = each($define_list)) {

 

if ($value) $column_list[] = $column;

 

}

 

 

 

$select_column_list = '';

 

 

 

for ($col=0, $n=sizeof($column_list); $col<$n; $col++) {

 

if ( ($column_list[$col] == 'PRODUCT_LIST_BUY_NOW') || ($column_list[$col] == 'PRODUCT_LIST_PRICE') || ($column_list[$col] == 'PRODUCT_LIST_ST_PRICE')) {

 

continue;

 

}

 

 

 

if (tep_not_null($select_column_list)) {

 

$select_column_list .= ', ';

 

}

 

 

 

switch ($column_list[$col]) {

 

case 'PRODUCT_LIST_MODEL':

 

$select_column_list .= 'p.products_model';

 

break;

 

case 'PRODUCT_LIST_NAME':

 

$select_column_list .= 'pd.products_name';

 

break;

 

case 'PRODUCT_LIST_MANUFACTURER':

 

$select_column_list .= 'm.manufacturers_name';

 

break;

 

case 'PRODUCT_LIST_QUANTITY':

 

$select_column_list .= 'p.products_quantity';

 

break;

 

case 'PRODUCT_LIST_IMAGE':

 

$select_column_list .= 'p.products_image';

 

break;

 

case 'PRODUCT_LIST_WEIGHT':

 

$select_column_list .= 'p.products_weight';

 

break;

 

}

 

}

 

 

 

if (tep_not_null($select_column_list)) {

 

$select_column_list .= ', ';

 

}

 

 

 

// show the products of a specified manufacturer

 

if (isset($HTTP_GET_VARS['manufacturers_id'])) {

 

if (isset($HTTP_GET_VARS['filter_id'])) {

 

// We are asked to show only a specific category

 

$listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_MANUFACTURERS . " m, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id where p.products_status = '1' and p.manufacturers_id = m.manufacturers_id and m.manufacturers_id = '" . $HTTP_GET_VARS['manufacturers_id'] . "' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '" . $languages_id . "' and p2c.categories_id = '" . $HTTP_GET_VARS['filter_id'] . "'";

 

} else {

 

// We show them all

 

$listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_MANUFACTURERS . " m left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id where p.products_status = '1' and pd.products_id = p.products_id and pd.language_id = '" . $languages_id . "' and p.manufacturers_id = m.manufacturers_id and m.manufacturers_id = '" . $HTTP_GET_VARS['manufacturers_id'] . "'";

 

}

 

// We build the categories-dropdown

 

$filterlist_sql = "select distinct c.categories_id as id, cd.categories_name as name from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c, " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where p.products_status = '1' and p.products_id = p2c.products_id and p2c.categories_id = c.categories_id and p2c.categories_id = cd.categories_id and cd.language_id = '" . $languages_id . "' and p.manufacturers_id = '" . $HTTP_GET_VARS['manufacturers_id'] . "' order by cd.categories_name";

 

} else {

 

// show the products in a given categorie

 

if (isset($HTTP_GET_VARS['filter_id'])) {

 

// We are asked to show only specific catgeory

 

$listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_MANUFACTURERS . " m, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id where p.products_status = '1' and p.manufacturers_id = m.manufacturers_id and m.manufacturers_id = '" . $HTTP_GET_VARS['filter_id'] . "' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '" . $languages_id . "' and p2c.categories_id = '" . $current_category_id . "'";

 

} else {

 

// We show them all

 

$listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_PRODUCTS . " p left join " . TABLE_MANUFACTURERS . " m on p.manufacturers_id = m.manufacturers_id, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id where p.products_status = '1' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '" . $languages_id . "' and p2c.categories_id = '" . $current_category_id . "'";

 

}

 

// We build the manufacturers Dropdown

 

$filterlist_sql= "select distinct m.manufacturers_id as id, m.manufacturers_name as name from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c, " . TABLE_MANUFACTURERS . " m where p.products_status = '1' and p.manufacturers_id = m.manufacturers_id and p.products_id = p2c.products_id and p2c.categories_id = '" . $current_category_id . "' order by m.manufacturers_name";

 

}

 

 

 

if ( (!$HTTP_GET_VARS['sort']) || (!ereg('[1-8][ad]', $HTTP_GET_VARS['sort'])) || (substr($HTTP_GET_VARS['sort'],0,1) > sizeof($column_list)) ) {

 

for ($col=0, $n=sizeof($column_list); $col<$n; $col++) {

 

if ($column_list[$col] == 'PRODUCT_LIST_NAME') {

 

$HTTP_GET_VARS['sort'] = $col+1 . 'a';

 

$listing_sql .= " order by pd.products_name";

 

break;

 

}

 

}

 

} else {

 

$sort_col = substr($HTTP_GET_VARS['sort'], 0 , 1);

 

$sort_order = substr($HTTP_GET_VARS['sort'], 1);

 

$listing_sql .= ' order by ';

 

switch ($column_list[$sort_col-1]) {

 

case 'PRODUCT_LIST_MODEL':

 

$listing_sql .= "p.products_model " . ($sort_order == 'd' ? 'desc' : '') . ", pd.products_name";

 

break;

 

case 'PRODUCT_LIST_NAME':

 

$listing_sql .= "pd.products_name " . ($sort_order == 'd' ? 'desc' : '');

 

break;

 

case 'PRODUCT_LIST_MANUFACTURER':

 

$listing_sql .= "m.manufacturers_name " . ($sort_order == 'd' ? 'desc' : '') . ", pd.products_name";

 

break;

 

case 'PRODUCT_LIST_QUANTITY':

 

$listing_sql .= "p.products_quantity " . ($sort_order == 'd' ? 'desc' : '') . ", pd.products_name";

 

break;

 

case 'PRODUCT_LIST_IMAGE':

 

$listing_sql .= "pd.products_name";

 

break;

 

case 'PRODUCT_LIST_WEIGHT':

 

$listing_sql .= "p.products_weight " . ($sort_order == 'd' ? 'desc' : '') . ", pd.products_name";

 

break;

 

case 'PRODUCT_LIST_PRICE':

 

$listing_sql .= "final_price " . ($sort_order == 'd' ? 'desc' : '') . ", pd.products_name";

 

break;

 

}

 

}

 

?>

 

<td width="100%" valign="top">

 

<table border="0" width="100%" cellspacing="0" cellpadding="0">

 

<tr>

 

<td>

 

<table border="0" width="100%" cellspacing="0" cellpadding="0">

 

<form>

 

<tr>

 

<td class="pageHeading">

 

<?php //echo HEADING_TITLE; ?>

 

</td>

 

<?php

 

// optional Product List Filter

 

if (PRODUCT_LIST_FILTER > 0) {

 

$filterlist_query = tep_db_query($filterlist_sql);

 

if (tep_db_num_rows($filterlist_query) > 1) {

 

echo ' <td align="center" class="main">' . TEXT_SHOW . '<select size="1" onChange="if(options[selectedIndex].value) window.location.href=(options[selectedIndex].value)">';

 

if (isset($HTTP_GET_VARS['manufacturers_id'])) {

 

$arguments = 'manufacturers_id=' . $HTTP_GET_VARS['manufacturers_id'];

 

} else {

 

$arguments = 'cPath=' . $cPath;

 

}

 

$arguments .= '&sort=' . $HTTP_GET_VARS['sort'];

 

 

 

$option_url = tep_href_link(FILENAME_DEFAULT, $arguments);

 

 

 

if (!isset($HTTP_GET_VARS['filter_id'])) {

 

echo '<option value="' . $option_url . '" SELECTED>' . TEXT_ALL . '</option>';

 

} else {

 

echo '<option value="' . $option_url . '">' . TEXT_ALL . '</option>';

 

}

 

 

 

echo '<option value="">---------------</option>';

 

while ($filterlist = tep_db_fetch_array($filterlist_query)) {

 

$option_url = tep_href_link(FILENAME_DEFAULT, $arguments . '&filter_id=' . $filterlist['id']);

 

if (isset($HTTP_GET_VARS['filter_id']) && ($HTTP_GET_VARS['filter_id'] == $filterlist['id'])) {

 

echo '<option value="' . $option_url . '" SELECTED>' . $filterlist['name'] . '</option>';

 

} else {

 

echo '<option value="' . $option_url . '">' . $filterlist['name'] . '</option>';

 

}

 

}

 

echo '</select></td>' . "\n";

 

}

 

}

 

 

 

// Get the right image for the top-right

 

$image = DIR_WS_IMAGES . 'table_background_list.gif';

 

if (isset($HTTP_GET_VARS['manufacturers_id'])) {

 

$image = tep_db_query("select manufacturers_image from " . TABLE_MANUFACTURERS . " where manufacturers_id = '" . $HTTP_GET_VARS['manufacturers_id'] . "'");

 

$image = tep_db_fetch_array($image);

 

$image = $image['manufacturers_image'];

 

} elseif ($current_category_id) {

 

$image = tep_db_query("select categories_image from " . TABLE_CATEGORIES . " where categories_id = '" . $current_category_id . "'");

 

$image = tep_db_fetch_array($image);

 

$image = $image['categories_image'];

 

}

 

?>

 

<td align="right">

 

<?php if ($image <> 'default.gif') echo tep_image(DIR_WS_IMAGES . $image, HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?>

 

</td>

 

</tr>

 

</form>

 

</table>

 

</td>

 

</tr>

 

<tr>

 

<td>

 

<?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?>

 

</td>

 

</tr>

 

<tr>

 

<td>

 

<?php

if (PRODUCT_MULTI_LIST == 'true')

include(DIR_WS_MODULES . FILENAME_PRODUCT_LISTING_MULTI);

else

include(DIR_WS_MODULES . FILENAME_PRODUCT_LISTING);

?>

 

</td>

 

</tr>

 

</table>

 

 

 

</td>

 

<?php

 

} else { // default page

 

?>

 

<td width="100%" valign="top">

 

<table border="0" width="100%" cellspacing="0" cellpadding="0">

 

<tr>

 

<td>

 

<table border="0" width="100%" cellspacing="0" cellpadding="0">

 

<tr>

 

<td class="pageHeading">

 

<?php //echo HEAD_ST; ?>

 

 

<BR>

<CENTER><img src="images/willkommen.gif"></CENTER>

<BR>

 

</td>

 

</tr>

 

</table>

 

</td>

 

</tr>

 

<tr>

 

<td>

 

<table border="0" width="100%" cellspacing="0" cellpadding="0">

 

<tr>

 

<td class="main">

<?php //echo TEXT_MAIN; ?>

</td>

 

</tr>

 

<tr>

 

<td class="main">

 

<?php echo tep_customer_greeting(); ?>

 

</td>

 

</tr>

 

<tr>

 

<td><BR>

<?php include(DIR_WS_MODULES . FILENAME_LATEST_NEWS); ?>

 

</td>

 

</tr>

 

 

<tr>

 

<td><BR>

<?php

if (CATEGORY_START == 'true')

include(DIR_WS_MODULES . FILENAME_CAT_MAIN);

 

else

include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?>

 

</td>

 

</tr>

<tr>

 

<td><br>

 

<?php include(DIR_WS_MODULES . FILENAME_TOP_PRODUCTS); ?>

 

</td>

 

</tr>

 

 

<?php

 

include(DIR_WS_MODULES . FILENAME_UPCOMING_PRODUCTS);

 

?>

 

</table>

 

</td>

 

</tr>

 

</table>

 

</td>

 

<?php

 

}

//SEF BEGIN

}

//SEF END

?>

 

<!-- body_text_eof //-->

 

<td width="<?php echo BOX_WIDTH; ?>" valign="top">

 

<table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">

 

<?php require(DIR_WS_INCLUDES . 'column_right.php'); ?>

 

</table>

 

</td>

 

</tr>

 

</table>

 

<!-- body_eof //-->

 

<!-- footer //-->

 

<?php require(DIR_WS_INCLUDES . 'footer.php'); ?>

 

<!-- footer_eof //-->

 

<br>

 

</div></td>

 

</tr>

 

</table>

 

</div>

 

 

 

</body>

 

</html>

 

<?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>

 

Please I need your help to fix this problem.

Link to comment
Share on other sites

So I have now 2 Problems.

 

1.

 

My Product show's now so

 

http://www.spielware.com/catalog/Spielewel...durch-die-Mitte

 

It's only the column right and i don't why???

 

2

 

My Manufacturers link looks like so. If you are delete the ? manuell bei catalog/?manufacturers than is the site ok.

 

http://www.spielware.com/catalog/?manufact...92ca89686d48979

 

 

For our help Regards ahead!

 

Alex

Link to comment
Share on other sites

So I have now 2 Problems.

 

1.

If i want log in. I became this one

http://www.spielware.com/catalog/?osCsid=c...c75e0acc463a60c

 

 

2

 

My Manufacturers link looks like so. If you are delete the ? manuell bei catalog/?manufacturers than is the site ok.

 

http://www.spielware.com/catalog/?manufact...92ca89686d48979

For our help Regards ahead!

 

Alex

Link to comment
Share on other sites

 

Hi, I think the problem is the session id! There is no point having a session id in there and using this od because session ids normally stop spiders following the links. I know there is a session id killer built into oscommerce but its not the best thing to use.

 

 

Also did you enable search engine safe urls in admin?

 

all i can see is ?osCsid=c...c75e0acc463a60c

 

the ? should not be there if you enable search engine safe urls!

Link to comment
Share on other sites

Hi, I think the problem is the session id! There is no point having a session id in there and using this od because session ids normally stop spiders following the links. I know there is a session id killer built into oscommerce but its not the best thing to use.

Also did you enable search engine safe urls in admin?

 

all i can see is ?osCsid=c...c75e0acc463a60c

 

the ? should not be there if you enable search engine safe urls!

 

I have enable search =true.

 

But it makes no differrence between true and false ??????

Link to comment
Share on other sites

What version of oscommerce are u using because i can see a defualt.php in your site which i think is ms1. This mod has obnly been tested with ms2!

 

Sorry if i asked this one but how can I see what for a Version i have.

I have bought me this shop for 4 Weeks so i have not really a lot of experience in OSC and PHP.

Link to comment
Share on other sites

Yes you are using ms1! I have not tested it for that.

 

You need need ms2. Thiis mod is really for people who know abit about php.

 

ms1 does not have the functions required to make theis mod work.

 

Sorry!

 

Now I know which Version I have it is 2.2.

 

application_top.php =

 

// define the project version

define('PROJECT_VERSION', 'osCommerce 2.2-MS2-CVS');

Link to comment
Share on other sites

I just want to thank you for the contribution. I have it running on my site, a shared server, with over 3500 products. It works wonderful. I have waited a long time for something like this and just wanted to let you know it runs smooth as silk. A snap for me to install and I made a couple modifications to list an item number in the url as I am a ditz sometimes and can't remember so many unique titles. The bots are out indexing away. Thanks so much.

Mair

Link to comment
Share on other sites

I just want to thank you for the contribution. I have it running on my site, a shared server, with over 3500 products.  It works wonderful.  I have waited a long time for something like this and just wanted to let you know it runs smooth as silk.  A snap for me to install and I made a couple modifications to list an item number in the url as I am a ditz sometimes and can't remember so many unique titles.  The bots are out indexing away.  Thanks so much.

Mair

The 3500 products include available and sold. Just wanted to make that clarification.

Link to comment
Share on other sites

Anyone actually have results listed in Search Engines as far as page rank for keywords they'd like to share? Or someone that is using this contrib vs another contrib on their two different stores that have time tested results?

Seems like noone does.

 

So until we all do, can we please keep the personal comments out of the loop as to who is stupid and who isn't? you both worked really hard on all your projects and submit them to the community. I think we need to focus on the positive aspects of this rather than bashing each other. Blue is taking the reigns by testing his contrib with a large amount of products. I dont know anyone that is selling that much stuff when I look around at postings and through profiles. Maybe I am wrong. And I am not worried about load times THAT much (ok I am heheh) but the thing I and most people are worried about , is proper SEO and ranking and customers and$$$$$$$ after all that is why we are here.

 

SO MELLOW out, bof o ya's. :) Let's all have a pint of guinness and put our heads together with the results and "Let's see what we have here.."

 

:)

 

S

Link to comment
Share on other sites

I'm updating the script today so it should cut loading times and resources down.

 

I think this script does work my site has really moved up in rankings since I installed it.

 

I'm 3rd postion on msn now for one major keyword and frist postion on google, yahoo and msn for keywords relating to one of my products.

 

All the URLs with wiith my keywords in are now higher then the ones with no keywords in.

Link to comment
Share on other sites

I noticed on a persons website that is using osCommerce that it seems their 'use search engine friendly urls' is working, and they are #1, page1 for a major keyword search. Their site is LOADED and to the life of me I can't figure out why the default osCommerce sef system doesnt work for me. Is there a contrib out there that just fixes the shortcomings of the default package? Id be happy to use that until everyone sorts out which sef contrib is the best or collaborates on a 'final' project. :) Considering they are ranking #1, and I've looked at everything else they have done, they are doing something right with the default looking version.

 

I'd be interested in knowing how many searches your keywords get each month BlueYon. http://inventory.overture.com/d/searchinventory/suggestion/

 

pop over there and let me know! :) I'll take a bit slower of a store to ensure better ranking. Btw that tool is broken now, but it still shows decembers stats.

 

S

Link to comment
Share on other sites

I noticed on a persons website that is using osCommerce that it seems their 'use search engine friendly urls' is working, and they are #1, page1 for a major keyword search.? Their site is LOADED and to the life of me I can't figure out why the default osCommerce sef system doesnt work for me.? Is there a contrib out there that just fixes the shortcomings of the default package?? Id be happy to use that until everyone sorts out which sef contrib is the best or collaborates on a 'final' project. :)? Considering they are ranking #1, and I've looked at everything else they have done, they are doing something right with the default looking version.

 

I'd be interested in knowing how many searches your keywords get each month BlueYon.? http://inventory.overture.com/d/searchinventory/suggestion/

 

pop over there and let me know! :)? I'll take a bit slower of a store to ensure better ranking.? Btw that tool is broken now, but it still shows decembers stats.

 

S

 

I'm about 3rd on msn for the word minimoto.

 

Google takes atleast 1 year before it lets you have a good ranking.

 

I'm also first for the words minimoto pocket bike on yahoo. I got that one in about 1 week.

 

Its not just this contribution its also number of inbound links, keyword density, age off the site.

Edited by BlueYon
Link to comment
Share on other sites

I'm about 3rd on msn for the word minimoto.

 

Google takes atleast 1 year before it lets you have a good ranking.

 

I'm also first for the words minimoto pocket bike on yahoo. I got that one in about 1 week.

 

Its not just this contribution its also number of inbound links, keyword density, age off the site.

 

 

I have an unrealsed contribution that records the urls of the refers which makes sales.

 

it records which site they came from and the keywords used.

Link to comment
Share on other sites

Sounds interesting!

 

We arent ranked at all in yahoo and google. The site was purchased with a 'coming soon' page for a long time, probably at least 8 months.

 

As far as keyword density, I am sure you know that yours is probably too high as they say 5-8% is good with about 800 words. Did you get that article I sent you with that study?

 

Interesting interesting interesting. I have looked at our competition that is ranked on page one with all three major search engines, and they aren't doing a thing special with their urls. One has MANY articles on their front page, (kinda ugly looking too) AND their store is located to a catalog directory instead of root. They are page 1 for a 3 million/month keyword search. BUT they have about 1001 links from any and every website, of which you know they are mutual. If the search engines start looking for these 'link farms' on peoples websites, they will have a nice fallback with all their content. They also have about 800 words with a denisty of 8%.

 

Let me know if I sent you that article. I think I may install your contrib, but am not sure. I am going to research 'no . ending files' ie: /mini-bikes/ instead of mini-bikes.php over the cname=31 type of ending. But like I said, the pages ranked tops have done nothing but force cookies to their website. (no once click long url issue with force cookies)

 

S

 

P.S. - didja get my link up on your site there?

Link to comment
Share on other sites

just installed the new one BlueYon, and it works great!

 

Don't know if i want to turn the cache funtion on though...

 

Cache funtion isn't working for me:

Fatal error: Call to undefined function: read_cache() in /data/usr/bioxs/website/www.bioxs.nl/public_html/shop/includes/classes/url_rewrite.php on line 164

Edited by RikP
Link to comment
Share on other sites

ok above was because i didn;t put the cache above the SEF.

 

now i did and got:

Fatal error: Call to a member function on a non-object in /path/shop/includes/boxes/manufacturers.php on line 48

Edited by RikP
Link to comment
Share on other sites

ok above was because i didn;t put the cache above the SEF.

 

now i did and got:

Fatal error: Call to a member function on a non-object in /path/shop/includes/boxes/manufacturers.php on line 48

 

I updated the manufacturer box as well because when i installed yours it gave an error.

 

You might want to copy the manufacturer box from this contribution to yours.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...