Wordpress and h1 tag question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Rick Diculous
    Confirmed User
    • Jul 2008
    • 2384

    #1

    Wordpress and h1 tag question

    I have a couple of wordpress blogs and I'm changing the text title for custom made headers.

    I don't want to remove the h1 tag, and I don't want it to be visible in the header.

    What would be the best way for it not to show up in the header but still have it in the code so that SEs can pick it up
  • iMind
    Confirmed User
    • Nov 2007
    • 937

    #2
    <h1 style="display:none;"> SE spam title here </h1>

    I don't know if google would penalize you for this, the other option would be use positioning and hide it off the page, or under your header or something.

    I'm no SEO so others can fill in those blanks.
    Last edited by iMind; 10-26-2010, 09:26 PM.

    Comment

    • Rick Diculous
      Confirmed User
      • Jul 2008
      • 2384

      #3
      Originally posted by iMind
      <h1 style="display:none;"> SE spam title here </h1>

      I don't know if google would penalize you for this, the other option would be use positioning and hide it off the page, or under your header or something.

      I'm no SEO so others can fill in those blanks.
      Just read on SEO forums that hiding it is considered blackhat and I would be penalized.

      I'll find a way to include it somewhere nice in the mainpage file

      Comment

      • Lifer
        Confirmed User
        • Feb 2004
        • 871

        #4
        Perhaps you could use the <!-- H1 stuff here -->

        If you do this, I think you have to have the <!-- on one line and on the next line you put your <h1> stuff </h1> followed by a third line of -->

        For some reason, if you put it all on one line, it can screw up
        CCBill Sponsor Programs
        Get Paid On Time - Everytime!

        Comment

        Working...