468,550 Members | 1,709 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,550 developers. It's quick & easy.

How do I change the description of my site???? php what???

First my site name is Sinfullblisslingerie.com. I'm starting this
little business to try and make some money on the side. My kids will
be going to college in a few years... Anyway, in the past I have had
some experience with html but now, my new site runs on php. It's a
turnkey site that I purchased on ebay...(Yeah right...turnkey...) I've

been submitting my site to search engines. On excite.com, when I bring

up my site it shows words that appear on my web page as the descrption.

My site runs on osCommerce. I can edit pages through osCommerce. I
can't seem to figure out the php to add site description with keywords
to get better ranking on the search engins. Any help would be greatly
appriciated..

Don
NJ

Aug 12 '06 #1
7 2354
Don NJ wrote:
First my site name is Sinfullblisslingerie.com. I'm starting this
little business to try and make some money on the side. My kids will
be going to college in a few years... Anyway, in the past I have had
some experience with html but now, my new site runs on php. It's a
turnkey site that I purchased on ebay...(Yeah right...turnkey...) I've

been submitting my site to search engines. On excite.com, when I bring

up my site it shows words that appear on my web page as the descrption.

My site runs on osCommerce. I can edit pages through osCommerce. I
can't seem to figure out the php to add site description with keywords
to get better ranking on the search engins. Any help would be greatly
appriciated..

Don
NJ
Why do you need PHP to do this? It's straight text and shouldn't change.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Aug 12 '06 #2
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>

Aug 12 '06 #3
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>
Aug 13 '06 #4
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.
Excuse me. I did not "treat you like a moron". I asked a simple
question. If that's treating you like a moron, then you are too
sensitive to converse with other people.
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:
Did you try asking on the OSCommerce forums? They have a pretty good
help system.

And please learn to properly quote the message you're replying to.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Aug 13 '06 #5
Recently (in the last few years) I've found that META descriptions tend
to get ignored, with quite a few search engine's it is what you entered
as a site description when you submitted the site that gets displayed.
This is apparently because META tags have been heavily abused by the
adult content market which tended to copy dictionaries into both the
keywords and the decription attributes. Some search engines still trust
META tags, but you often need to read the fine print on their websites
to find out. Sorry this is probably a little off topic and doesn't
really solve your problem.

Aug 13 '06 #6
"william.clarke" <wi************@gmail.comwrote in
news:11**********************@p79g2000cwp.googlegr oups.com:
Recently (in the last few years) I've found that META descriptions tend
to get ignored, with quite a few search engine's it is what you entered
as a site description when you submitted the site that gets displayed.
This is apparently because META tags have been heavily abused by the
adult content market which tended to copy dictionaries into both the
keywords and the decription attributes. Some search engines still trust
META tags, but you often need to read the fine print on their websites
to find out. Sorry this is probably a little off topic and doesn't
really solve your problem.

Meta descriptions do not get ignored completely. They're still used by
google when your site comes up in search results, in order to display the
description of your site.

They are, however, completely ignored when it comes to ranking of sites.

--
Karl Groves
www.karlcore.com
Aug 13 '06 #7
On Sun, 13 Aug 2006 15:59:24 -0400, Jerry Stuckle wrote:
> First what you need to do is treat me like a moron. I really don't
know anything about this type of website structure.

Excuse me. I did not "treat you like a moron". I asked a simple
question. If that's treating you like a moron, then you are too sensitive
to converse with other people.
LOL!!! You bit on that one Jerry.

Re-read Don's statement, he said "you need to [...] treat me like a
moron". He then clarified he knows nothing about site structures like
this. He was asking for you to put it in idiot terms and not assume any
level of knowledge :-)

Your reaction was funny though - you've replied too many times on this
forum and reacted to the normal comment we get without thinking ;-)

Cheers,
Andy
--
Andy Jeffries MBCS CITP ZCE | gPHPEdit Lead Developer
http://www.gphpedit.org | PHP editor for Gnome 2
http://www.andyjeffries.co.uk | Personal site and photos

Aug 15 '06 #8

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Larry Bates | last post: by
28 posts views Thread by Atanas Boev | last post: by
9 posts views Thread by Robert Wing | last post: by
2 posts views Thread by bonokoot | last post: by
9 posts views Thread by KDawg44 | last post: by
reply views Thread by NPC403 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.