473,772 Members | 2,388 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

First my site name is Sinfullblisslin gerie.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 2575
Don NJ wrote:
First my site name is Sinfullblisslin gerie.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*******@attgl obal.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('includ es/application_top .php');

// the following cPath references come from application_top .php
$category_depth = 'top';
if (isset($cPath) && tep_not_null($c Path)) {
$categories_pro ducts_query = tep_db_query("s elect count(*) as total
from " . TABLE_PRODUCTS_ TO_CATEGORIES . " where categories_id = '" .
(int)$current_c ategory_id . "'");
$cateqories_pro ducts =
tep_db_fetch_ar ray($categories _products_query );
if ($cateqories_pr oducts['total'] 0) {
$category_depth = 'products'; // display products
} else {
$category_paren t_query = tep_db_query("s elect count(*) as total
from " . TABLE_CATEGORIE S . " where parent_id = '" .
(int)$current_c ategory_id . "'");
$category_paren t = tep_db_fetch_ar ray($category_p arent_query);
if ($category_pare nt['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_DEFAUL T);
?>
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
<html <?php echo HTML_PARAMS; ?>>
<head>
<title>Sinful l Bliss Lingerie - Sexy lingerie and adult
novelties.</title>

<meta name="descripti on" content="We carry a full line of sexy
lingerie, shoes, boots, costumes, and adult novelties. Plus sizes also
available." />

<meta name="keywords" content="Linger ie, 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="styleshee t.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"><t able border="0"
width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2" >
<!-- left_navigation //-->
<?php require(DIR_WS_ INCLUDES . 'column_left.ph p'); ?>
<!-- left_navigation _eof //-->
</table></td>
<!-- body_text //-->
<?php
if ($category_dept h == 'nested') {
$category_query = tep_db_query("s elect cd.categories_n ame,
c.categories_im age from " . TABLE_CATEGORIE S . " c, " .
TABLE_CATEGORIE S_DESCRIPTION . " cd where c.categories_id = '" .
(int)$current_c ategory_id . "' and cd.categories_i d = '" .
(int)$current_c ategory_id . "' and cd.language_id = '" .
(int)$languages _id . "'");
$category = tep_db_fetch_ar ray($category_q uery);
?>
<td width="100%" valign="top"><t able border="0" width="100%"
cellspacing="0" cellpadding="0" >
<tr>
<td><table border="0" width="100%" cellspacing="0"
cellpadding="0" >
<tr>
<td class="pageHead ing"><?php echo HEADING_TITLE; ?></td>
<td class="pageHead ing" align="right">< ?php echo
tep_image(DIR_W S_IMAGES . $category['categories_ima ge'],
$category['categories_nam e'], HEADING_IMAGE_W IDTH,
HEADING_IMAGE_H EIGHT); ?></td>
</tr>
</table></td>
</tr>
<tr>
<td><?php echo tep_draw_separa tor('pixel_tran s.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('includ es/application_top .php');

// the following cPath references come from application_top .php
$category_depth = 'top';
if (isset($cPath) && tep_not_null($c Path)) {
$categories_pro ducts_query = tep_db_query("s elect count(*) as total
from " . TABLE_PRODUCTS_ TO_CATEGORIES . " where categories_id = '" .
(int)$current_c ategory_id . "'");
$cateqories_pro ducts =
tep_db_fetch_ar ray($categories _products_query );
if ($cateqories_pr oducts['total'] 0) {
$category_depth = 'products'; // display products
} else {
$category_paren t_query = tep_db_query("s elect count(*) as total
from " . TABLE_CATEGORIE S . " where parent_id = '" .
(int)$current_c ategory_id . "'");
$category_paren t = tep_db_fetch_ar ray($category_p arent_query);
if ($category_pare nt['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_DEFAUL T);
?>
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
<html <?php echo HTML_PARAMS; ?>>
<head>
<title>Sinful l Bliss Lingerie - Sexy lingerie and adult
novelties.</title>

<meta name="descripti on" content="We carry a full line of sexy
lingerie, shoes, boots, costumes, and adult novelties. Plus sizes also
available." />

<meta name="keywords" content="Linger ie, 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="styleshee t.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"><t able border="0"
width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2" >
<!-- left_navigation //-->
<?php require(DIR_WS_ INCLUDES . 'column_left.ph p'); ?>
<!-- left_navigation _eof //-->
</table></td>
<!-- body_text //-->
<?php
if ($category_dept h == 'nested') {
$category_query = tep_db_query("s elect cd.categories_n ame,
c.categories_im age from " . TABLE_CATEGORIE S . " c, " .
TABLE_CATEGORIE S_DESCRIPTION . " cd where c.categories_id = '" .
(int)$current_c ategory_id . "' and cd.categories_i d = '" .
(int)$current_c ategory_id . "' and cd.language_id = '" .
(int)$languages _id . "'");
$category = tep_db_fetch_ar ray($category_q uery);
?>
<td width="100%" valign="top"><t able border="0" width="100%"
cellspacing="0" cellpadding="0" >
<tr>
<td><table border="0" width="100%" cellspacing="0"
cellpadding="0" >
<tr>
<td class="pageHead ing"><?php echo HEADING_TITLE; ?></td>
<td class="pageHead ing" align="right">< ?php echo
tep_image(DIR_W S_IMAGES . $category['categories_ima ge'],
$category['categories_nam e'], HEADING_IMAGE_W IDTH,
HEADING_IMAGE_H EIGHT); ?></td>
</tr>
</table></td>
</tr>
<tr>
<td><?php echo tep_draw_separa tor('pixel_tran s.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*******@attgl obal.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.goo glegroups.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
1829
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 _svc_display_name_ holds the long name _svc_?????_ holds the description Thanks, Larry
3
5300
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 a long text description that explains what the code represents. I'd like to be able to show the code plus description when the drop down list is dropped down, but just the code when the list is not displayed, so that I don't have to have a...
28
9289
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 that the section headings are poining to the relevant sections of the site. Since I am not specialist, excuse me if it is a stupid question, but
9
10888
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. My biggest problem right now is that the error description associated with this error is Application-defined or object-defined error. It has always been my understanding that these error numbers would not be used by Microsoft and were available...
3
2572
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 well. Short version :) For Each fld In tdf.Fields pos = InStr(fld.Name, "milk") If pos > 0 Then
4
5756
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" Me.Description = "The print article " Me.Measurement_Label = "Square Inches"
2
1506
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. Anyone have any examples of how to do this or a site with an example? Thanks
1
5750
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 change a file, we expect ASP .NET to recompile the website when a user next accesses it. However, on next access the user gets the following error: Description: An error occurred during the compilation of a resource required to service this...
9
1963
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 parse the syslog messages and try to change any ips to resolved hostnames. Unfortunately, I am not getting any matches on my regular expression.
0
10264
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10039
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9914
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8937
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6716
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5355
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5484
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4009
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3610
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.