Web Analytics Made Easy -
StatCounter Meta Keywords - CodingForum

Announcement

Collapse
No announcement yet.

Meta Keywords

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

  • Meta Keywords

    If I have a website that is .PHP and not .HTML . how can I add Meta Keywords. I know how to add them to a HTML site.

    Thanks

  • #2
    Hi there Charisama,

    I know how to add them to a HTML site.
    Then you know how to add them to PHP.

    coothead
    ~ the original bald headed old fart ~

    Comment


    • #3
      I can add them in at the top just like HTML? Do I put them before or after this.

      <?php

      Comment


      • #4
        Hi there Charisma,

        we would need to see the actual document
        to be able to answer coding questions.

        coothead
        ~ the original bald headed old fart ~

        Comment


        • #5
          Ok . here is my index page.

          PHP Code:
          <?php
            $pageTitle 
          "Home";
            include(
          'inc/header.php');
            
          ?>

            <div class="container bgWhite">
                <div class="row">
                      <div  style="padding-top: 15px;">
                          <div id="myCarousel" class="carousel slide" data-ride="carousel">
                              <!-- Indicators -->
                              <ol class="carousel-indicators">
                                  <li data-target="#myCarousel" data-slide-to="0" class="active"></li>
                                  <li data-target="#myCarousel" data-slide-to="1"></li>
                                  <li data-target="#myCarousel" data-slide-to="2"></li>
                              </ol>

                              <!-- Wrapper for slides -->
                               <div class="carousel-inner" role="listbox">
                                  <div class="item active">
                                      <img src="img/AdobeStock_83234383.jpeg" alt="" width="1920" height="546">
                                  </div>
                                  <div class="item">
                                    <img src="img/AdobeStock_110313737.jpg" alt="" width="1920" height="546">
                                  </div>
                                  <div class="item">
                                   <img src="img/AdobeStock_72595945.jpeg" alt="" width="1920" height="546">
                                  </div>
                              </div>

                              <!-- Left and right controls -->
                              <a class="left carousel-control" href="#myCarousel" role="button" data-slide="prev">
                                  <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
                                  <span class="sr-only">Previous</span>
                              </a>
                              <a class="right carousel-control" href="#myCarousel" role="button" data-slide="next">
                                  <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
                                  <span class="sr-only">Next</span></a>
                            </div>  
                          </div>
                      </div>
                  </div>
                  <p></p>
                  <div class="container bgWhite">
                   <h2><u>Announcements</u></h2>
                   
               <p>  </p>
              </div>
          </div>
          <p></p>
           <div class="container bgWhite">
           <h2>Mission</h2>
                <h3 class="big">Empowered Golfers Manitoba is a site where people who are interested in trying golf for the very first time or would like to get back into golfing, despite any challenges they may have in life. There are no limitations when it comes to learning how to golf. Here you will find resources for golf equipment, golf courses in the Manitoba area, and chat room to share questions and ideas.</h3>
                 
            
          </div>
           </div>

              <?php include('inc/footer.php'); ?>

          Comment


          • #6
            You see where it says include('inc/header.php');? That’s the file where the HTML for the document header is located, and there is the meta code.

            Besides, meta keywords are really not something to be bothered about anymore. The major search engines ignore them nowadays and look for actual content.
            Stop solving problems you don’t yet have!

            Comment


            • #7
              But it doesn't hurt to add them right?

              Comment

              Working...
              X