I'm trying to put in meta tags on my site, but the main page www.xgia.net is a php file and it says to insert it in the header...but i dont see that within the index.php file which is the main page for our site.

My coder isn't online now and I'm trying to figure this out so if someone could help me that would be great.

Thanks,

Ian

    If you wish to insert it into the HTML itself, you put <meta> tags between the <head></head> tags of your page. From your browser, do a "view source" of most web pages and you'll see what I mean.

    If you are trying to include meta information in the actual PHP code, you'll need to use the header() function. PHP code does not show up in the browser, but the <meta> tag info that is inside of the header() function will be viewable in your browser via "view source" or similar option.

      okay well i guess i have to put it in php because the page for our index page is in php, there is no .html file to add it to is what im saying.

      so i'll upload the file for you if you cold show me what to do maybe or something that would be great and below is the meta tag code.

      <META HTTP-EQUIV="Content-Type" content="text/html; charset=utf-8">
      <META HTTP-EQUIV="Cache-Control" content="no-cache">
      <META HTTP-EQUIV="Expires" content="0">
      <META NAME="Description" content="Offers reviews, previews, pictures, video, codes, walkthroughs, editorials, news, guides, media, and more for PC, GameCube, PS2, PSX, Xbox, Gameboy, GBA, DS, PSP, Nintendo Revolution, N64. and Dreamcast.">
      <META HTTP-EQUIV="content-language" content="EN">
      <META NAME="Title" content="XGIA">
      <META NAME="Rating" content="General">
      <META NAME="Robots" content="index,follow">
      <META NAME="Abstract" content="Offers reviews, previews, codes, news, and walkthroughs for Gamecube, PS2, Xbox, PSX, N64, Gameboy, Dreamcast, DS, PSP and more.">
      <META NAME="Author" content="XGIA">
      <META NAME="Keywords" content="video games, reviews, previews, pictures, video, codes, walkthroughs, editorials, news, guides, media, wallpapers, movies, PC, Gamecube, PS2, Xbox, Gameboy, GBA, DS, PSP, Nintendo, Sony, Microsoft, N64, Dreamcast, Revolution, Pokemon, GunBound, Final Fantasy, Mario, Manhunt, Madden 2005, Doom 3, Halo 2, Resident Evil, The Sims, Sonic, Grand Theft Auto: Vice City, Grand Theft Auto: San Andreas, Mega Man, Star Wars Galaxies, EverQuest, Halo, Ragnarok Online, Tomb Raider, Far Cry, Halo 2 Trailer, Xenogears, Crash Bandicoot, Pong, Atari, Harvest Moon, Soul Calibur, Hack Sign, Starcraft Cheats, WWF Smackdown 2, Diablo 2 Hacks, Metal Gear Solid, Counter-Strike Skins, Drag Racer V3, Final Fantasy 8, Gangsters: Organized Crime, Gameshark, Splinter Cell Walkthrough, The Legend of Zelda, Final Fantasy XII, consoles, next-gen, video game, video game site">
      <META NAME="Copyright" content="Copyright © 2004 XGIA">
      <META NAME="Designer" content="XGIA">
      <META NAME="revisit-after" content="1">

        header('Content-Type blah blah');
        header('Cache-Control: blah blah');
        etc.
        

        Be sure you do not output anything to the browser before the call to the header functions unless you are using output buffering.

          Write a Reply...