Results 1 to 4 of 4

Thread: frames and google

  1. #1
    Join Date
    Dec 2004
    Posts
    67

    Default frames and google

    Hi, i have a 3 html frameset,,,for search engine optimizacion. where must i put the metatags ,,, in each html? or in the "content" one....


    header: menu
    content: all the stuff
    footer: footer


    any suggestion?

  2. #2
    Join Date
    Mar 2006
    Posts
    29

    Default

    If your using PHP, use this code

    Code:
    <?php 
    $main_path = "./";
    echo '<html>
    <head>';
    include($main_path . 'folder/metas.php'); // make a metas.php  with the specified codings.
    echo '<title></title> </head>
    ?>
    if that one is to hard check this one (Simplified PHP)
    Code:
    <?php 
    echo '<html>
    <head>';
    include('folder/metas.php'); // make a metas.php  with the specified codings.
    echo '<title></title> </head>
    ?>
    metas.php will look like
    Code:
    <?php
    echo '(MEta tags here)';
    ?>

    If your using normal HTML, you will have to put them in every frame.
    Code:
    <frameset src="google-search.htm" width="x" height="x"></frameset>
    Each specified <iframe> or <frameset> page will need to have the meta tags in them for them to work properly, this is one advantage using php.


    If footer.html doesn't have a search engine in it, don't add it to that.
    If header does not have a search engine don't touch it.
    If contents has the search engine, add it to the main page where the framset is, or in the contents page.

  3. #3
    Join Date
    Dec 2004
    Posts
    67

    Default

    thanks !!!!
    so, i m thinking on put a google search bar on the left,,,,,,

    and the plains html ,,, every one with the meta tags.... and if php the code you suply.....


    thanks man

  4. #4
    Join Date
    Apr 2006
    Posts
    2

    Default

    thanks for this code, it is a nice code in my web

Bookmarks

Posting Permissions

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