Announcement

Collapse
No announcement yet.

Static HTML module and <h1> tags

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Static HTML module and <h1> tags

    Each static HTML module creates an <h1> tag for the module title, this is bad for SEO as a page should only have one <h1> tag, ? Is there a way to change this

  • #2
    You could edit the module_title template and change it to something else.

    Please don't PM or VM me for support - I only help out in the threads.
    vBulletin Manual & vBulletin 4.0 Code Documentation (API)
    Want help modifying your vbulletin forum? Head on over to vbulletin.org
    If I post CSS and you don't know where it goes, throw it into the additional.css template.

    W3Schools &lt;- awesome site for html/css help

    Comment


    • #3
      Originally posted by Lynne View Post
      You could edit the module_title template and change it to something else.
      Hmm that removes all the H1 tags and leaves the page without any, which is just as bad !

      Not as easy as I thought

      Comment


      • #4
        Then add an <h1> tag to some template that is only used once on the page?

        Please don't PM or VM me for support - I only help out in the threads.
        vBulletin Manual & vBulletin 4.0 Code Documentation (API)
        Want help modifying your vbulletin forum? Head on over to vbulletin.org
        If I post CSS and you don't know where it goes, throw it into the additional.css template.

        W3Schools &lt;- awesome site for html/css help

        Comment


        • #5
          Originally posted by Graham Walters View Post
          Each static HTML module creates an <h1> tag for the module title, this is bad for SEO as a page should only have one <h1> tag, ?
          That is for the pre-HTML5 era. This has changed now. Take a look at http://webdesign.tutsplus.com/articl...ebdesign-16824

          GIPHY for vB5 AutoLinker Auto-Create Flag Report Topic Social Icons in Postbit Clear Cache Cron DragDrop Upload Topic AJAX AutoUpdate Custom Avatars Selector Stop Links in Posts...and more!

          Comment


          • #6
            Originally posted by Glenn Vergara View Post
            That is for the pre-HTML5 era. This has changed now. Take a look at http://webdesign.tutsplus.com/articl...ebdesign-16824

            Thanks for that Glenn, a very interesting read.

            Does that mean when using the "Static HTML module" we should treat it as a complete document as in :

            Code:
              <!DOCTYPE html>
              <html>
                 <head>
                    <title>HTML5 markup example</title>
                 </head>
                 <body>
                    <header>
                       <h1>Whackamoon Legumes!</h1>
                       <p>We've been luvin beans</p>
                    </header>
                    <main>
                       <article>
                          <header>
                             <h1>Boiling beans</h1>
                             <p>Category: Mean Beans</p>
                          </header>
                          <h2>Is boiling beans really worth it?</h2>
                          <p>Let's be honest, it takes ages.</p>
                          <p>We advise just buying canned beans instead.</p>
                          <footer>
                             <a href="../">Back home...</a>
                          </footer>
                       </article>
                    </main>
                    <footer>
                       <p>Copyright Whackamoon Legumes 2013</p>
                    </footer>
                 </body>
              </html>

            Comment

            Related Topics

            Collapse

            Working...
            X