Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Old 06-28-2007, 08:22 PM meta tag problem
Novice Talker

Posts: 9
Trades: 0
Hi all!

I am having a problem with meta tags and I hope this is to right forum to put it (Othervise I kindly ask the admins to move it right).

This is the problem.

I got a webpage which is built on php and mysql. the webpage is an ad site where people can post ads. The site is divided in to 3 different "categories" or files..

1. header.php (always there)

2. database content

3. footer.php

My problem is this. when google index the database generated pages (the ads), it picks keywords and descriptions from the header.php instead of the middle (database) section of the site.

Is there any way to change the meta tags or the php coding so that google uses the database driven contents for descriptions etc instead?

Thanks in advance
dalailama is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-28-2007, 08:36 PM Re: meta tag problem
Riane's Avatar
Super Talker

Latest Blog Post:
Happy Birthday, Steve!
Posts: 147
Name: Jordan
Location: Chicago, IL
Trades: 0
With using includes, you are stuck with that single header file, UNLESS you set up a second header page.

So instead of database.php having:
Code:
<? include('header.php' ?>
 databasecontent
 <? include('footer.php' ?>
You could always try using:
Code:
 <? include('header2.php' ?>
 databasecontent
 <? include('footer.php' ?>

If you can't use that method, then you'll just have to edit your header's meta tags to include those extra keywords. I'm sure there is some sort of PHP script you can create that will allow you place some sort of function within it, so that when it's on such-and-such-page it will pick out randomly generated keywords, or ones you specifiy within the script..
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE

Riane is offline
Reply With Quote
View Public Profile Visit Riane's homepage!
 
Reply     « Reply to meta tag problem
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.09726 seconds with 12 queries