which page is correct page to edit my website Meta tags

Discussion in 'HTML & Website Design' started by action script, Aug 27, 2012.

  1. #1
    which page is correct page to edit my website Meta tags - i am having 2 year exp in seo, and i know html , css but i dont know more about coding side, so anyone tell in which page i need to edit if i want to change Meta tags means .....?

    Index.php ?


    Thanks in advance
     
    action script, Aug 27, 2012 IP
  2. GMF

    GMF Well-Known Member

    Messages:
    855
    Likes Received:
    113
    Best Answers:
    19
    Trophy Points:
    145
    #2
    You have to change it in every singe site you have.

    More info:
    http://searchenginewatch.com/article/2067564/How-To-Use-HTML-Meta-Tags
    Code (markup):
     
    GMF, Aug 27, 2012 IP
  3. action script

    action script Member

    Messages:
    129
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    26
    #3
    No GMF i want to change in home page only ...i already add meta tittle and meta description now i want to add "<meta name="robots" content= "index,follow,noodp,noydir"> ....
     
    action script, Aug 27, 2012 IP
  4. GMF

    GMF Well-Known Member

    Messages:
    855
    Likes Received:
    113
    Best Answers:
    19
    Trophy Points:
    145
    #4
    Google can be very helpful sometimes ;)

    http://yoast.com/articles/robots-meta-tags/
    Code (markup):
     
    GMF, Aug 27, 2012 IP
  5. action script

    action script Member

    Messages:
    129
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    26
    #5
    My question is not what is meta robots ..? i am asking which page i need to edit to add <meta name="robots" content= "index,follow,noodp,noydir"> ....
     
    action script, Aug 27, 2012 IP
  6. GMF

    GMF Well-Known Member

    Messages:
    855
    Likes Received:
    113
    Best Answers:
    19
    Trophy Points:
    145
    #6
    As with every other meta tag, it only applies to the current webpage.

    So, if you only need this for 1 page use it..

    If you need it for many pages, why not use robots.txt
    http://www.robotstxt.org/robotstxt.html
    Code (markup):

    But seriously: Google is your friend, so try to use the old bugger once in a while.
     
    GMF, Aug 27, 2012 IP
  7. Kousha

    Kousha Peon

    Messages:
    34
    Likes Received:
    0
    Best Answers:
    1
    Trophy Points:
    0
    #7
    It's really depends on how your website has been designed and coded.
    If it's a static page,without any MasterPages, you shoud define MetaTags in every single page,
    If you have a dynamic website(you said index.php means you have a dynamic website) there are some files they are include Template settings. you should find that and change metatags.
    Every website has their specific files and codes.
    you should tell us about your CMS if you want to get help.is it Wordpress? its custom coded? or sth else
     
    Kousha, Aug 27, 2012 IP
  8. action script

    action script Member

    Messages:
    129
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    26
    #8
    Thanks for your wonderful post Kousha... nice to see you in my post ..
    yes you are correct my site is dynamic website ...it is not wordpress ....it is custom coded php and mysql website..
     
    action script, Aug 27, 2012 IP
  9. Kousha

    Kousha Peon

    Messages:
    34
    Likes Received:
    0
    Best Answers:
    1
    Trophy Points:
    0
    #9
    Nobody can tell you which file you should edit.
    Contact your designer if you can, or else you should search for Template file yourself.

    for any .php file in all directories:
    1. Open php file in Notepad
    2. Search for "<meta"
     
    Kousha, Aug 27, 2012 IP
  10. action script

    action script Member

    Messages:
    129
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    26
    #10
    Thanks .... kousha i will search all php files and check ....
     
    action script, Aug 27, 2012 IP
  11. wilsonn

    wilsonn Peon

    Messages:
    120
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    ya index page and all remaining pages also u have to change.
     
    wilsonn, Aug 30, 2012 IP