How To Verify Forum With Google

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Get Involved
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
budo
Registered User
Posts: 107
Joined: Tue Jun 16, 2009 9:17 pm

How To Verify Forum With Google

Post by budo » Mon Aug 03, 2009 4:11 pm

I added my forum url to google but it said i need to verify it by the following method

Meta tag HTML file

Copy the meta tag below, and paste it into your site's home page. It should go in the <head> section, before the first <body> section.

<meta name="verify-v1" content="mn1I5Gnnj1HBCpCfbr6i9CGwil0gYEcak7LVgljUPJE=" />

Do you know which file/location I add this to?

thanks

User avatar
Erik Frèrejean
Former Team Member
Posts: 9899
Joined: Tue Oct 09, 2007 9:09 am
Location: The Netherlands, 3.0.x Support Forum
Name: Erik Frèrejean
Contact:

Re: How To Verify Forum With Google

Post by Erik Frèrejean » Mon Aug 03, 2009 4:13 pm

Add it to the overall header.

Code: Select all

styles/{your style}/template/overall_header.html
Support Toolkit | Support Request Template | Knowledge Base | phpBB 3.0.x documentation
I don't give support via PM or IM! (all unsolicited pms will be trashed!)

Roberdin
Registered User
Posts: 203
Joined: Sun Nov 24, 2002 3:56 pm
Location: London, United Kingdom

Re: How To Verify Forum With Google

Post by Roberdin » Mon Aug 03, 2009 4:32 pm

And flush the cache?
Roberdin

User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 50865
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: How To Verify Forum With Google

Post by stevemaury » Mon Aug 03, 2009 4:46 pm

Refresh the template in the ACP, Styles tab.
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)

budo
Registered User
Posts: 107
Joined: Tue Jun 16, 2009 9:17 pm

Re: How To Verify Forum With Google

Post by budo » Mon Aug 03, 2009 5:06 pm

Thanks i cant see 'head' and 'body' bit to put it inbetween though?

Also where it says meta name & meta keywords etc should i put forum name or forum keywords in there for seo or do you just leave that? When i search for my forum in google it comes up;

www.budoonline.co.uk/forum View forum - Welcome To The Forum 3 Jul 2009 ... Forum Rules. Budo. 0. 4. Fri Jul 03, 2009 5:17 pm. Budo ... Who is online. Users browsing this forum: Google [Bot] and 0 guests ...
budoonline.co.uk/forum/viewforum.php?f=2

Just wondering if i can get it to show budo online martial arts forum as description rather than the who is online bits etc. I noticed specific post tittles/content do show up also but only on page 100 or something of google :lol:


heres my overall header code:

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">
<head>

<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-language" content="{S_USER_LANG}" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="resource-type" content="document" />
<meta name="distribution" content="global" />
<meta name="copyright" content="2000, 2002, 2005, 2007 phpBB Group" />
<meta name="keywords" content="" />
<meta name="description" content="" />
{META}
<title>{SITENAME} &bull; <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}</title>
<script type="text/javascript">
// <![CDATA[
<!-- IF S_USER_PM_POPUP -->
	if ({S_NEW_PM})
	{
		popup('{UA_POPUP_PM}', 400, 225, '_phpbbprivmsg');
	}
<!-- ENDIF -->

if (typeof blankImg == 'undefined') var blankImg = '{T_THEME_PATH}/images/spacer.gif';

function popup(url, width, height, name)
{
	if (!name)
	{
		name = '_popup';
	}

	window.open(url.replace(/&/g, '&'), name, 'height=' + height + ',resizable=yes,scrollbars=yes,width=' + width);
	return false;
}

function jumpto()
{
	var page = prompt('{LA_JUMP_PAGE}:', '{ON_PAGE}');
	var perpage = '{PER_PAGE}';
	var base_url = '{A_BASE_URL}';

	if (page !== null && !isNaN(page) && page > 0)
	{
		document.location.href = base_url.replace(/&/g, '&') + '&start=' + ((page - 1) * perpage);
	}
}

/**
* Find a member
*/
function find_username(url)
{
	popup(url, 760, 570, '_usersearch');
	return false;
}

/**
* Mark/unmark checklist
* id = ID of parent container, name = name prefix, state = state [true/false]
*/
function marklist(id, name, state)
{
	var parent = document.getElementById(id);
	if (!parent)
	{
		eval('parent = document.' + id);
	}

	if (!parent)
	{
		return;
	}

	var rb = parent.getElementsByTagName('input');
	
	for (var r = 0; r < rb.length; r++)
	{
		if (rb[r].name.substr(0, name.length) == name)
		{
			rb[r].checked = state;
		}
	}
}

<!-- IF ._file -->

	/**
	* Play quicktime file by determining it's width/height
	* from the displayed rectangle area
	*
	* Only defined if there is a file block present.
	*/
	function play_qt_file(obj)
	{
		var rectangle = obj.GetRectangle();

		if (rectangle)
		{
			rectangle = rectangle.split(',')
			var x1 = parseInt(rectangle[0]);
			var x2 = parseInt(rectangle[2]);
			var y1 = parseInt(rectangle[1]);
			var y2 = parseInt(rectangle[3]);

			var width = (x1 < 0) ? (x1 * -1) + x2 : x2 - x1;
			var height = (y1 < 0) ? (y1 * -1) + y2 : y2 - y1;
		}
		else
		{
			var width = 200;
			var height = 0;
		}

		obj.width = width;
		obj.height = height + 16;

		obj.SetControllerVisible(true);

		obj.Play();
	}
<!-- ENDIF -->

// ]]>
</script>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/styleswitcher.js"></script>
<link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css" />
<!--[if IE]><link href="{T_THEME_PATH}/ie.css" rel="stylesheet" type="text/css" /><![endif]-->

<script type="text/javascript" src="{T_THEME_PATH}/jquery-1.3.2.js"></script> 
<script type="text/javascript">
$(document).ready(function(){
    
    $("#status").click(function () {
      $("#hide_status").toggle("slow");
    });  

});

 $(document).ready(function(){

	$("#newstatus").submit(function() {

 	var status_text    = $('#status_text').attr('value'); 
   $("#newstatus").empty().html('<img src="{T_THEME_PATH}/images/loader.gif" alt="loading" />');

		$.ajax({
			type: "POST",
			url: "{SUB_STATUS}",
			data: "status_text="+ status_text,
			success: function(del){
				$('#newstatus').hide();
				$('div.success').fadeIn();

			}
		});
	return false;
	});
});
 </script>
</head>
<body id="phpbb" class="{S_CONTENT_DIRECTION}">

<table id="container" cellspacing="0" cellpadding="0" border="0">
<tr>
<td id="bgleft"><img src="{T_THEME_PATH}/images/spacer.gif" width="53px" alt="" /></td>
<td id="middle" valign="top">
<a id="top" name="top" accesskey="t"></a>

<div id="wrapper">

<div id="banner">
	<a href="{U_INDEX}" title="{L_INDEX}" id="logo">{SITE_LOGO_IMG}</a>
</div>

<div id="header">
	<div id="menu">
		<a class="faq" href="{U_FAQ}" title="{L_FAQ_EXPLAIN}"><span>{L_FAQ}</span></a>
		<!-- IF not S_IS_BOT --><a class="members" href="{U_MEMBERLIST}" title="{L_MEMBERLIST_EXPLAIN}"><span>{L_MEMBERLIST}</span></a><!-- ENDIF -->
		<!-- IF not S_IS_BOT --><!-- IF S_DISPLAY_SEARCH --><a class="search" href="{U_SEARCH}" title="{L_SEARCH_ADV_EXPLAIN}"><span>{L_SEARCH}</span></a><!-- ENDIF --><!-- ENDIF -->
		<!-- IF not S_IS_BOT and S_USER_LOGGED_IN --><a class="ucp" href="{U_PROFILE}" title="{L_PROFILE}"><span>{L_PROFILE}</span></a><!-- ENDIF -->
		<!-- IF not S_IS_BOT and S_USER_LOGGED_IN -->
		<!-- IF not S_USER_UNREAD_PRIVMSG --><a class="nonewpms" href="{U_PRIVATEMSGS}"><span>{PRIVATE_MESSAGE_INFO}</span></a><!-- ENDIF -->
		<!-- IF S_USER_UNREAD_PRIVMSG --><a class="newpms" href="{U_PRIVATEMSGS}" title="{PRIVATE_MESSAGE_INFO}"><span>{PRIVATE_MESSAGE_INFO}</span></a><!-- ENDIF -->
		<!-- ENDIF -->
		<!-- IF U_MCP --><a class="mcp" href="{U_MCP}"><span>{L_MCP}</span></a><!-- ENDIF -->
	</div>
	<br clear="all" />

	<div id="crumbs">
	
	<!-- IF not S_USER_LOGGED_IN and not S_IN_UCP -->
	<form action="{U_LOGIN_LOGOUT}" method="post">
		<table class="toplogin" cellspacing="0">
		    <tr>
		        <td><span class="gensmall">{L_USERNAME}:</span></td>
		        <td><input class="post" type="text" name="username" size="10" /></td>
		        <td nowrap="nowrap"><input type="checkbox" checked="true" class="radio" name="autologin" /><span style="vertical-align: middle;" class="gensmall">{L_LOG_ME_IN}</span></td>
		    </tr>
		    <tr>
		        <td><span class="gensmall">{L_PASSWORD}:</span></td>
		        <td><input class="post" type="password" name="password" size="10" /></td>
		        <td><input type="submit" class="btnmain" name="login" value="{L_LOGIN}" /></td>
		    </tr>
		</table>
		{S_FORM_TOKEN}
	</form>
	<!-- ENDIF -->
		<ul class="breadcrumbs">
			<li class="icon-home"><a href="{U_INDEX}" accesskey="h">{L_INDEX}</a> <!-- BEGIN navlinks --> <strong>&#8249;</strong> <a href="{navlinks.U_VIEW_FORUM}">{navlinks.FORUM_NAME}</a><!-- END navlinks --></li>
		</ul>
	</div>
	<!-- IF not S_IS_BOT -->
	<ul id="navlist">
		<!-- IF not S_USER_LOGGED_IN and S_REGISTER_ENABLED --><li><a href="{U_REGISTER}">{L_REGISTER}</a></li><!-- ENDIF -->
		<li><a href="{U_LOGIN_LOGOUT}" title="{L_LOGIN_LOGOUT}" accesskey="l">{L_LOGIN_LOGOUT}</a></li>
		<!-- IF U_RESTORE_PERMISSIONS --><li><a href="{U_RESTORE_PERMISSIONS}"><span>{L_RESTORE_PERMISSIONS}</a></li><!-- ENDIF -->
		<!-- IF ENABLE_STATUS && S_USER_LOGGED_IN --> <li class="icon-members"><a id="status" href="#" title="{L_UPDATE_STATUS}">{L_UPDATE_STATUS}</a></li><!-- ENDIF -->
	</ul>
	<!-- ENDIF -->

</div>

<div id="ct"><div id="ct2"><div id="ctl"><div id="ctr">
<div id="cb"><div id="cbl"><div id="cbr">

	<div id="wrapheader">
		<table width="100%" cellspacing="0">
		<tr>
			<td class="gensmall"><!-- IF S_USER_LOGGED_IN -->{LAST_VISIT_DATE}<!-- ENDIF --></td>
			<td class="gensmall" align="{S_CONTENT_FLOW_END}">{CURRENT_TIME}<br /></td>
		</tr>
		</table>
	</div>
<div id="hide_status" style="display:none; text-align:center;"> 
<br />
<form id="newstatus" method="post" action="">
<fieldset>
<input maxlength="150" id="status_text" name="status_text" type="text" />
<input name="submit" type="submit" id="submit" value="{L_SUBMIT}" /><br />
{L_STATUS_CURRENT} <!-- BEGIN stat_q -->{stat_q.STATUS}<!-- END stat_q --><br />
</fieldset>
</form>

<div class="success" style="display:none;">
 <p style="text-align:center">{L_STATUS_UPDATED}</p>
</div>
</div>
	<div id="wrapcentre">

budo
Registered User
Posts: 107
Joined: Tue Jun 16, 2009 9:17 pm

Re: How To Verify Forum With Google

Post by budo » Tue Aug 04, 2009 4:27 pm

Could i just stick it in at the top of that code seeing as there is no head/body bits, then verify with google then delete it?

thanks

Roberdin
Registered User
Posts: 203
Joined: Sun Nov 24, 2002 3:56 pm
Location: London, United Kingdom

Re: How To Verify Forum With Google

Post by Roberdin » Tue Aug 04, 2009 5:14 pm

budo wrote:

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">
<head>
[...]
Just insert it after that line. After it shows up on Google, I suspect you can remove it again.
Roberdin

budo
Registered User
Posts: 107
Joined: Tue Jun 16, 2009 9:17 pm

[RESOLVED] Re: How To Verify Forum With Google

Post by budo » Tue Aug 04, 2009 5:33 pm

Cant believe i missed that head bit, :oops: thanks a lot

Roberdin
Registered User
Posts: 203
Joined: Sun Nov 24, 2002 3:56 pm
Location: London, United Kingdom

Re: How To Verify Forum With Google

Post by Roberdin » Tue Aug 04, 2009 6:06 pm

It's okay, I had to read it twice. ;)
Roberdin

striker16
Registered User
Posts: 42
Joined: Sun Oct 05, 2008 12:36 pm
Contact:

Re: How To Verify Forum With Google

Post by striker16 » Thu Aug 06, 2009 9:00 am

sorry to hijack but, mine can't verify by google.
Please Visit and Register to my forum.
IT MILESTONE

aaa_kkk_2014
Registered User
Posts: 53
Joined: Sun Oct 05, 2008 8:56 pm
Location: Palestine
Contact:

Re: How To Verify Forum With Google

Post by aaa_kkk_2014 » Thu Aug 06, 2009 9:12 am

u have to put the code in overal_headrer.html
or also in overal_footer.html

and the recommended is overal_footer.html

then u have to wait for verifying maybe one day or two but make sure
they will verify it
;)

budo
Registered User
Posts: 107
Joined: Tue Jun 16, 2009 9:17 pm

Re: How To Verify Forum With Google

Post by budo » Fri Aug 07, 2009 9:48 pm

And is it recommended to remove it after being verified or just leave it in? Would removing it have future detremental effect on google PR?

striker16
Registered User
Posts: 42
Joined: Sun Oct 05, 2008 12:36 pm
Contact:

Re: How To Verify Forum With Google

Post by striker16 » Sat Aug 08, 2009 12:20 am

I use .htm in verifying my forum at google.
First problem I am hosting at freehostia and google have a hard time finding my .htm or meta tag from google, then I transfer yesterday at byethost and wooolah I just verify my forum using .htm from google. Ask your host provider.

I recommend you not remove it as far as I remember google said that don't remove it because, They will check constantly something like that....

Good Luck and God Bless ;)
Please Visit and Register to my forum.
IT MILESTONE

Locked

Return to “[3.0.x] Support Forum”