|
Posted by Robert on 10/28/31 11:55
Hey Don,
First and Foremost (not to sound like a meanie) but please don't paste
code here (it looks crappy) instead use pastebin.com or pastebin.ca
(whichever is faster). -- As far as the description of your site, I
would like for you to visit Google search for "META Codes" -- Heres a
link http://www.google.com/search?q=meta+codes
Now on that search, the very first result (as of 8.13.2006) is
Draac.com -- They have a META Code generator for what you're looking
for (http://www.draac.com/promote.html) Check it out.
Hope this helps, -Rob
Don NJ wrote:
> Hey Jerry,
> First what you need to do is treat me like a moron. I really don't
> know anything about this type of website structure.
> Now, I figured out where to change the site title and keywords but
> when I scan my site with a program that gives me all the info that
> search enginees will see, it still tells me that it's scanning words on
> the page not the text that I put in the meta tag description. See my
> index.php below:
>
> <?php
> /*
> $Id: index.php,v 1.1 2003/06/11 17:37:59 hpdl Exp $
>
> osCommerce, Open Source E-Commerce Solutions
> http://www.oscommerce.com
>
> Copyright (c) 2003 osCommerce
>
> Released under the GNU General Public License
> */
>
> require('includes/application_top.php');
>
> // 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 = '" .
> (int)$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 = '" .
> (int)$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>
> <title>Sinfull Bliss Lingerie - Sexy lingerie and adult
> novelties.</title>
>
> <meta name="description" content="We carry a full line of sexy
> lingerie, shoes, boots, costumes, and adult novelties. Plus sizes also
> available." />
>
> <meta name="keywords" content="Lingerie, sexy lingerie, plus size
> lingerie, lingerie plus size, dancer clothing, adult novelties,
> vibrator, dildo, adult costume, sexy costume, sexy shoes" />
>
> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo
> CHARSET; ?>">
> /*
> <title><?php echo TITLE; ?></title>
> */
> <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER :
> HTTP_SERVER) . DIR_WS_CATALOG; ?>">
> <link rel="stylesheet" type="text/css" href="stylesheet.css">
> </head>
> <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0"
> leftmargin="0" rightmargin="0">
> <!-- header //-->
> <?php require(DIR_WS_INCLUDES . 'header.php'); ?>
> <!-- header_eof //-->
>
> <!-- body //-->
> <table border="0" width="100%" 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 = '" .
> (int)$current_category_id . "' and cd.categories_id = '" .
> (int)$current_category_id . "' and cd.language_id = '" .
> (int)$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>
Navigation:
[Reply to this message]
|