Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 14 of 14
  1. #1
    Regular Coder
    Join Date
    Jul 2009
    Posts
    207
    Thanks
    27
    Thanked 0 Times in 0 Posts

    dynamic header tags for seo

    Hello,
    Does it help you for SEO purposes if you use dynamic header tags for a php page that displays articles dynamically from a mysql table?

    What I am planning to do is, if this will help SEO, I will add another column to my table that holds articles, in order to store tags that I will assign for each article from now.

  • #2
    Regular Coder seco's Avatar
    Join Date
    Nov 2008
    Location
    Oregon
    Posts
    687
    Thanks
    6
    Thanked 79 Times in 77 Posts
    what exactly is a header tag?

  • #3
    Regular Coder
    Join Date
    Jul 2009
    Posts
    207
    Thanks
    27
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by seco View Post
    what exactly is a header tag?
    To generate the title of that page for that article automatically for instance

  • #4
    Regular Coder seco's Avatar
    Join Date
    Nov 2008
    Location
    Oregon
    Posts
    687
    Thanks
    6
    Thanked 79 Times in 77 Posts
    you can just echo the article title into the head title tag thats if the articles have titles., titles are the most important in SEO.

  • #5
    New to the CF scene
    Join Date
    Aug 2009
    Location
    Chandigarh
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Do you want to call page or keyword specific articles from articles database. If so related things on the page always helps for SEO

  • #6
    Senior Coder
    Join Date
    Jul 2005
    Location
    UK
    Posts
    1,051
    Thanks
    6
    Thanked 13 Times in 13 Posts
    Based on the assumption that you mean "does it help to have title tags generated based on the article topic, rather than a generic title for all articles?":

    Ask yourself this..

    1) Do you want the articles to rank in search engines?

    (Not all pages can/should be considered important for SEO)

    2) What terms do you want them to rank for?

    (SEO is a marketing tool... you need to know what you're trying to achieve before you do it)

    3) Do those terms appear in the dynamically generated title tag?

    (A dynamic title means nothing on its own, it needs to be alligned with your SEO strategy)

    If the answer to all three is "yes", then yes, it helps to have dynamically generated title tags.

  • #7
    Regular Coder
    Join Date
    Jul 2009
    Posts
    207
    Thanks
    27
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Pennimus View Post
    Based on the assumption that you mean "does it help to have title tags generated based on the article topic, rather than a generic title for all articles?":

    Ask yourself this..

    1) Do you want the articles to rank in search engines?

    (Not all pages can/should be considered important for SEO)

    2) What terms do you want them to rank for?

    (SEO is a marketing tool... you need to know what you're trying to achieve before you do it)

    3) Do those terms appear in the dynamically generated title tag?

    (A dynamic title means nothing on its own, it needs to be alligned with your SEO strategy)

    If the answer to all three is "yes", then yes, it helps to have dynamically generated title tags.
    No, that's not a correct assumption.... I already have title same as each article's title...

    What I mean is, does it help to add a column to the table, and then start tagging each article manually. Then use those tags in the head section of the document dynamically.

  • #8
    Senior Coder
    Join Date
    Jul 2005
    Location
    UK
    Posts
    1,051
    Thanks
    6
    Thanked 13 Times in 13 Posts
    What I mean is, does it help to add a column to the table, and then start tagging each article manually. Then use those tags in the head section of the document dynamically.
    Forget about the database tables for a minute. It's irrelevant how you get content on to a page from a search engine perspective.

    Firstly, what tags are you going to apply to each article? Do those align with your keyword strategy?

    Secondly, where are those tags going to appear exactly (the <head> of a document is a big section)?

  • #9
    Regular Coder
    Join Date
    Jul 2009
    Posts
    207
    Thanks
    27
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Pennimus View Post
    Forget about the database tables for a minute. It's irrelevant how you get content on to a page from a search engine perspective.

    Firstly, what tags are you going to apply to each article? Do those align with your keyword strategy?

    Secondly, where are those tags going to appear exactly (the <head> of a document is a big section)?
    good questions.

    first, yes, those tags are going to align with my keyword strategy exactly. Actually, I am planning to use three keywords all the time by default, for any article, which are on my subject.

    second, they will be appearing on the head section dynamically. Let me ask you, at the head section, where should they apppear exactly in order to help seo? Note: I alreay have URL rewrite which displays URL and page title from the article title itself, which almost always contain relevant keywords anyway...So at this point, is this whole exercise necessary or not? I dont mind writing a php code to display these automatically all the time, but i will have to think of tags all the time from now whenever I enter an article, which is an extra 30 seconds forever for each article...So is it worth it or not... For example, when you post to, say, blogger or wordpress, it has a field to enter tags and most people do. The question is, does that help SEO? If so, where do those tags go, and in that case my tags should be used the same way..

  • #10
    Senior Coder
    Join Date
    Jul 2005
    Location
    UK
    Posts
    1,051
    Thanks
    6
    Thanked 13 Times in 13 Posts
    Actually, I am planning to use three keywords all the time by default, for any article, which are on my subject.
    But you will (or should) have one particular page designed to rank for a given keyword. Why then would you want to repeat the same keywords on every article?

    Pick one page for each keyword (note that this doesn't mean that a page can only target one keyword) and optimise that page for the word.

    second, they will be appearing on the head section dynamically. Let me ask you, at the head section, where should they apppear exactly in order to help seo?
    There's only two elements within the <head> that you can include words to influence search engine rankings; the title (very important) and the meta description (not very important).

    From your words though I'm gathering that what you mean by the "head section" is not what most people mean, so it's difficult to discuss this with any degree of certainty.

    For example, when you post to, say, blogger or wordpress, it has a field to enter tags and most people do. The question is, does that help SEO? If so, where do those tags go, and in that case my tags should be used the same way..
    Usually those types of tags create category pages which are linked to from the bottom of a post or a sidebar. The category pages themselves then link out to all posts that have been tagged with that word.

    Category pages can be great for SEO because by creating them you create a centralised hub page for a given topic. E.g., for a recipe blog you might create categories that show what type of cuisine the recipe is. Those category pages form your natural SEO landing pages for terms like "italian food", or "african cuisine". That's much better than picking a specific recipe (post) to rank for those terms.

    This has nothing to do with the <head> of a document though so if this is what you mean you may want to brush up on your terminology here (only to help others help you).

  • #11
    Regular Coder
    Join Date
    Jul 2009
    Posts
    207
    Thanks
    27
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Pennimus View Post
    But you will (or should) have one particular page designed to rank for a given keyword. Why then would you want to repeat the same keywords on every article?

    Pick one page for each keyword (note that this doesn't mean that a page can only target one keyword) and optimise that page for the word.



    There's only two elements within the <head> that you can include words to influence search engine rankings; the title (very important) and the meta description (not very important).

    From your words though I'm gathering that what you mean by the "head section" is not what most people mean, so it's difficult to discuss this with any degree of certainty.



    Usually those types of tags create category pages which are linked to from the bottom of a post or a sidebar. The category pages themselves then link out to all posts that have been tagged with that word.

    Category pages can be great for SEO because by creating them you create a centralised hub page for a given topic. E.g., for a recipe blog you might create categories that show what type of cuisine the recipe is. Those category pages form your natural SEO landing pages for terms like "italian food", or "african cuisine". That's much better than picking a specific recipe (post) to rank for those terms.

    This has nothing to do with the <head> of a document though so if this is what you mean you may want to brush up on your terminology here (only to help others help you).
    Ok, then the exercise is not necessary because the page titles are already generated automatically from the article titles (and that is good enough for me). and you are saying meta tags are not that important - which I also knew the same way... You are right, I need to change the terminology then...

    As far as creating a hub page for certain keywords, that sounds interesting, I know what you mean, but don't know how it works exactly. I am asking because i am not familiar with blog programs, I did my CMS myself... Do they generate those hub pages automatically, each time a new tag is created, and then those new pages contain all related articles from that point or how does it work in general? Then may be for this reason I need to generate tags, not because of my original question....

  • #12
    Senior Coder
    Join Date
    Jul 2005
    Location
    UK
    Posts
    1,051
    Thanks
    6
    Thanked 13 Times in 13 Posts
    Do they generate those hub pages automatically, each time a new tag is created, and then those new pages contain all related articles from that point
    Yes, that's exactly how they work.

  • #13
    Regular Coder
    Join Date
    Nov 2007
    Posts
    110
    Thanks
    0
    Thanked 1 Time in 1 Post
    Quote Originally Posted by ketanco View Post
    Hello,
    Does it help you for SEO purposes if you use dynamic header tags for a php page that displays articles dynamically from a mysql table?

    What I am planning to do is, if this will help SEO, I will add another column to my table that holds articles, in order to store tags that I will assign for each article from now.
    Dynamic header tag is not a problem and its good too for avoiding duplication, better keep unchanged the tag in each browse..

  • #14
    Regular Coder
    Join Date
    Apr 2008
    Posts
    685
    Thanks
    15
    Thanked 105 Times in 104 Posts
    Quote Originally Posted by seco View Post
    what exactly is a header tag?
    On a side note there is indeed a header (<header></header>) tag introduced into HTML 5, which should be used to markup the header of a document.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •