Page 1 of 1

using php to help with SEO

Posted: Thu Aug 06, 2009 11:12 am
by ninethousandfeet
Hi,

I am new to SEO and I am trying to figure out how I can increase the amount of my user's input that will show up in search engine results.
Example: DIC is a great example of this. If you do a Google search for something similar to my posting title for this question, it is likely that this post will come up in the top ten results of the search. How?

I am assuming that DIC somehow ties the php code into the title tag or something, but I don't get how it works. From my understanding, php code is dynamic and displays info only when called upon to display that info from the db. If this is right, then how would this information seem static in a Google search?

Any help is appreciated, thank you for taking time to check this out.

Re: using php to help with SEO

Posted: Thu Aug 06, 2009 11:59 am
by aceconcepts
What measures have you taken so far?

Re: using php to help with SEO

Posted: Thu Aug 06, 2009 12:40 pm
by ninethousandfeet
i am currently trying these two options. from what i've read, Google does not accept the meta tag description so that is why i am toying with the idea of putting this in the post title.

i was thinking if i can get this to work, it will help my site to show up higher when a user searches for 'apple' when i have a user who is selling apple products.

Code: Select all

 
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta name="description" content="<?php echo $row_getProducts['product'];?>" >
<meta name="keywords" content="buy share products new discount">
<title>share your discount | Me</title>
 
and...

Code: Select all

 
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta name="description" content="share discount retail buy" >
<meta name="keywords" content="buy share products new discount">
<title>share your discount | <?php echo $row_getProducts['product'];?></title>
 
thank you.

Re: using php to help with SEO

Posted: Thu Aug 06, 2009 1:11 pm
by aceconcepts
Yes, your example would work.

Databases are useful for this purpose. Remember that you should populate the title, keywords and description tags with page-relelvant content.

e.g. For apple content populate the tags with things such as apple, ipod, mac etc... if these are relevant to the current content.

Also, don't forget to use heading tags such as <h1></h1> for you page headings and <h2>, <h3> for sub headings. This is another way search engines crawl.

Display similar item links and other links to other pages at the bottom of the page. The more paths a robot is supplied with, the more pages it will crawl.

Re: using php to help with SEO

Posted: Thu Aug 06, 2009 1:37 pm
by ninethousandfeet
Perfect. I will work on adding the suggestions you made and take it from there.

Thank you.