Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Google meta tag

Asked Modified Viewed 2,706 times
S
s9901470
S
http://geh.demonweb.co.uk/php-files/index.php
  • Junior Member, joined since
  • Contributed 11 posts on the community forums.
  • Started 4 threads in the forums
  • Started this discussions
asked
Junior Member

Hi

I need to add a verification code provided by Google to my fusion site:

Copy the META tag listed below and paste it in your site's home page in the first <HEAD> section of the page, before the first <BODY> section.

But I can't find the <head> tags in index.php or maincore.php

What should I do?

Thanks in advance.
0 replies

10 posts

D
DubSev
D
DubSev 10
......................................
let's go f***ing mental! la la la la...
  • Senior Member, joined since
  • Contributed 285 posts on the community forums.
  • Started 5 threads in the forums
answered
Senior Member

the header is located in your subheader.php
0 replies
J
Josso
J
Josso 10
–––
Without faith, nothing is possible. With it, nothing is impossible
  • Senior Member, joined since
  • Contributed 309 posts on the community forums.
  • Started 1 thread in the forums
answered
Senior Member

subheader.php

Edit: too late again.
Edited by Josso on 31-01-2007 18:29,
0 replies
S
s9901470
S
http://geh.demonweb.co.uk/php-files/index.php
  • Junior Member, joined since
  • Contributed 11 posts on the community forums.
  • Started 4 threads in the forums
  • Started this discussions
answered
Junior Member

Thanks, but when I add it it's not recognized.
Is this right?

<title>".$settings['sitename']."</title>
<meta http-equiv='Content-Type' content='text/html; charset=".$locale['charset']."'>
<meta name='description' content='".$settings['description']."'>
<meta name='keywords' content='".$settings['keywords']."'>
<meta name='verify-vl' content='INSERT CODE HERE'>
<link rel='stylesheet' href='".THEME."styles.css' type='text/css'>
<script type='text/javascript' src='".INCLUDES."jscript.js'></script>
<body bgcolor='$body_bg' text='$body_text'>\n";
0 replies
D
DubSev
D
DubSev 10
......................................
let's go f***ing mental! la la la la...
  • Senior Member, joined since
  • Contributed 285 posts on the community forums.
  • Started 5 threads in the forums
answered
Senior Member

<meta name='verify-vl' content='INSERT CODE HERE'>

What's that?
edit:

If your verification code goed there: make sure all " 's are replaced with ' 's in the verification code
Edited by DubSev on 31-01-2007 18:44,
0 replies
D
DubSev
D
DubSev 10
......................................
let's go f***ing mental! la la la la...
  • Senior Member, joined since
  • Contributed 285 posts on the community forums.
  • Started 5 threads in the forums
answered
Senior Member

Plz tell us if your problem has been solved
0 replies
S
s9901470
S
http://geh.demonweb.co.uk/php-files/index.php
  • Junior Member, joined since
  • Contributed 11 posts on the community forums.
  • Started 4 threads in the forums
  • Started this discussions
answered
Junior Member

Unfortunately I can't get Google to recognize it. Any other suggestions?
0 replies
Q
Quartzkyte
Q
www.php-fusion.co.uk/../../images/smiley/cool.gif

Mike
---------------------------------------
Quartzkyte, admin @ French N.S.S.
  • Senior Member, joined since
  • Contributed 404 posts on the community forums.
  • Started 40 threads in the forums
answered
Senior Member

This is the one I use :

<?php
/*---------------------------------------------------+
| PHPFusion 6 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2006 Nick Jones
| http://www.php-fusion.co.uk/
+----------------------------------------------------+
| Released under the terms & conditions of v2 of the
| GNU General Public License. For details refer to
| the included gpl.txt file or visit http://gnu.org
+----------------------------------------------------*/
if (!defined("IN_FUSION")) { header("Location: index.php"); exit; }

require_once THEME."theme.php";

if ($settings['maintenance'] == "1" && !iADMIN) fallback(BASEDIR."maintenance.php");
if (iMEMBER) $result = dbquery("UPDATE ".$db_prefix."users SET user_lastvisit='".time()."', user_ip='".USER_IP."' WHERE user_id='".$userdata['user_id']."'");

echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">
<html>
<head>
<META name=\"verify-v1\" content=\"GOOGLE VERIFICATION CODE\" />
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\" />
<meta http-equiv=\"Content-Language\" content=\"fr\" />
<title>".$title.$settings['sitename']."</title>
<meta name=\"Description\" content=\"".$settings['description']."\" />
<meta name=\"Keywords\" content=\"".$settings['keywords']."\" />
<meta name=\"Identifier-URL\" content=\"http://yoursite.com" />
<meta name=\"category\" content=\"document\" />
<meta name=\"revisit-after\" content=\"7 days\" />
<meta name=\"Expires\" content=\"never\" />
<meta name=\"date-creation-yyyymmdd\" content=\"YYYYMMDD\" />
<meta name=\"date-revision-yyyymmdd\" content=\"YYYYMMDD\" />
<link rel='stylesheet' href='".THEME."styles.css' type='text/css'>
<link rel='alternate' type='application/rss+xml' href='feeds/articles.php'>
<link rel='alternate' type='application/rss+xml' href='feeds/news.php'>
<link rel='alternate' type='application/rss+xml' href='feeds/forum_posts.php'>
<link rel='alternate' type='application/rss+xml' href='feeds/weblinks.php'>
<link rel='alternate' type='application/rss+xml' href='feeds/downloads.php'>
<link href='favicon.ico' rel='shortcut icon' type='image/ico'>
<script type='text/javascript' src='".INCLUDES."jscript.js'></script>
</head><body bgcolor='$body_bg' text='$body_text'>\n";

render_header("<img src='".BASEDIR.$settings['sitebanner']."' alt='".$settings['sitename']."' title='".$settings['sitename']."'>");
?>

The " are escaped with \" instead of ' and although it should be the same, it's not...
Don't ask me why...
0 replies
S
s9901470
S
http://geh.demonweb.co.uk/php-files/index.php
  • Junior Member, joined since
  • Contributed 11 posts on the community forums.
  • Started 4 threads in the forums
  • Started this discussions
answered
Junior Member

That stops the site from crashing, but Google still won't recognize it. I think I've found the problem though: it's the domain name's web forwarding. The domain name "freezes" in the address bar which means that google seems unable to find the tag. Any suggestions?
0 replies
Q
Quartzkyte
Q
www.php-fusion.co.uk/../../images/smiley/cool.gif

Mike
---------------------------------------
Quartzkyte, admin @ French N.S.S.
  • Senior Member, joined since
  • Contributed 404 posts on the community forums.
  • Started 40 threads in the forums
answered
Senior Member

How is it forwarded ?
Maybe a problem with Apache redirection ?
I'm no expert at that, though...
0 replies
W
Wanabo
W
Wanabo 10
www.probemyip.com/probe-my-ip-80x15.png
pHp-Fusion.Asia & pHp-Fusion.Fr & pHp-Fusion.Cn are available for a localized support community. Send PB for info.
  • Senior Member, joined since
  • Contributed 598 posts on the community forums.
  • Started 94 threads in the forums
answered
Senior Member

Quote

s9901470 wrote:
Hi

I need to add a verification code provided by Google to my fusion site:

Copy the META tag listed below and paste it in your site's home page in the first <HEAD> section of the page, before the first <BODY> section.

But I can't find the <head> tags in index.php or maincore.php

What should I do?

Thanks in advance.


You have two options!
1 the meta tag
2 create an empty html file with the code google provides (3453fdfs5234534.html)

Option 2 is the easiest!B)
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 10 posts
  • Votes 0 votes
  • Topic users 5 members

0 participants

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet