473,388 Members | 1,235 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

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 2559
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Larry Bates | last post by:
Anybody know what variable I need to define in my class to set the long description that shows up in the Services control panel applet? _svc_name_ holds the short name...
3
by: Diane Yocom | last post by:
Has anybody ever seen or written code for ASP that would mimic Access' multi-column combo box? Specifically, I have a drop down box that lists about 100 five-digit codes. Each of these codes has...
28
by: Atanas Boev | last post by:
I have a heading that I would like to link to site section, in the following context: <h1>Site Contents</h1> <h2>First Section</h2> <h2>Second Section</h2> <h2>Third Section</h2> I want...
9
by: Robert Wing | last post by:
I support an MS Access application in which errors are trapped using the On Error statement. Just recently, the users of this system have experienced run-time error number 3021 on a random basis. ...
3
by: sparks | last post by:
I was copying fields from one table to another. IF the var name starts with milk I change it to egg and create it in the destination table. It works fine but I want to copy the description as...
4
by: darnnews | last post by:
When a user selects a "Medium" in a form I have made, I would like to change a Label on the form. Can I change a label based on an update of a listbox? This code does not work: Case "Print"...
2
by: bonokoot | last post by:
Hello, I have a MasterPage with a Label that I want to display a custom description of the page and when the user clicks to different links on my website I would like that description to change....
1
by: yashgt | last post by:
Hi, We have an application that has been deployed into a virtual folder along with ascx, aspx and the code-behind files. It runs smoothly as long as we don't change any code-behind file. If we...
9
by: KDawg44 | last post by:
Hi, I am brand new to Python. In learning anything, I find it useful to actually try to write a useful program to try to tackle an actual problem. I have a syslog server and I would like to...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.