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.
using php to help with SEO
Moderator: General Moderators
-
ninethousandfeet
- Forum Contributor
- Posts: 130
- Joined: Tue Mar 10, 2009 4:56 pm
- aceconcepts
- DevNet Resident
- Posts: 1424
- Joined: Mon Feb 06, 2006 11:26 am
- Location: London
Re: using php to help with SEO
What measures have you taken so far?
-
ninethousandfeet
- Forum Contributor
- Posts: 130
- Joined: Tue Mar 10, 2009 4:56 pm
Re: using php to help with SEO
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.
and...
thank you.
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>
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>
- aceconcepts
- DevNet Resident
- Posts: 1424
- Joined: Mon Feb 06, 2006 11:26 am
- Location: London
Re: using php to help with SEO
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.
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.
-
ninethousandfeet
- Forum Contributor
- Posts: 130
- Joined: Tue Mar 10, 2009 4:56 pm
Re: using php to help with SEO
Perfect. I will work on adding the suggestions you made and take it from there.
Thank you.
Thank you.