Remove meta tags, all schools pick up on them..
Printable View
Ok will do, they haven't been there long though. Dunno if they're still there.
Parse error: syntax error, unexpected T_IF in /home/nexdana/public_html/index.php on line 54
thats because the site re-opens tomorrow ;) This was to let people know whats coming tomorrow and promote the forum that opened again today :)
Should be able to add something to the URL like, ?meta=0 and it sets a session that won't display the META tags ^_^.
That explains it then :P
iJoe this is the code for what Dentafrince said if you want it.
So then if you went to nexdana.com?meta the tags wouldn't be there.PHP Code:<?php
session_start();
if ( isset ( $_GET['meta'] ) ) {
$_SESSION['meta'] = "true";
header ( "location: index.php" );
}
else if ( !isset ( $_SESSION['meta'] ) ) {
echo 'your meta tags go here';
}
?>
Yeah but you'd have to have that on each page.. and have to add the $_GET on each page.. it should be site wide.
Should work.PHP Code:session_start(); // top of page.
if ($_GET["meta"] == 0) {
$_SESSION["no_meta"] = true;
} elseif ($_GET["meta"] == 1) {
$_SESSION["no_meta"] = false;
}
if (!$_SESSION["no_meta"]) {
// display meta tags here.
}
As requested...
http://www.nexdana.com/?meta=0
does not show ;)Code:<meta name="description" content="Nexdana is a great online games site opened in May 2008!Has loads of different games all different types! Play today!" />
<meta name="keywords" content="games free fun online multiplayer bored forum discussion friends">