Jump to content
Sign in to follow this  
titanbullet

Phpbb3

Recommended Posts

Aku perlukan bantuan

Berkenaan nak verify forum phpBB3 kat google

Ada 2 cara nak verify ownership of the site

PERTAMA: upload an HTML file

KEDUA: add meta tag (verification string)

Cara PERTAMA aku dah buat

Aku dah upload file HTML dengan nama yang diminta oleh google ke public_html

Bila aku verify, kuar menda nih

We've detected that your 404 (file not found) error page returns a status of 200 (Success) in the header.

# Your site doesn't return a 4xx HTML status code for non-existing URLs

If you're using HTML verification, it's important that a non-existing URL returns a 4xx status code. We can't verify sites configured to return other status codes (such as 2xx or 5xx) for non-existing URLs, because this would enable anyone to verify ownership of your site. You can try our meta tag verification method or change your server's configuration.

This configuration presents a security risk for site verification and therefore, we can't verify your site. If your web server is configured to return a status of 200 (found) in the header of 404 (not found) pages, and we enabled you to verify your site with this configuration, others would be able to take advantage of this and verify your site as well. To ensure that no one can take advantage of this configuration to view statistics to sites they don't own, we only verify sites that return a status of 404 in the header of 404 pages.

If your server is configured to return something other than a 404 for non-existent pages, try our meta tag verification method or change your server's configuration.

You can change your web server configuration to return a status of 404 in the header of 404 pages and still provide a custom error page (see Apache information and IIS information). Once your web server is configured correctly, try to verify the site again and we'll recheck your configuration.

Ade sesiapa yang tau camne nak selesaikan masalah ni?

Cara KEDUA aku nak buat tapi x reti

Iaitu add meta tag

Aku dah search google

Ini results yang aku dapat (aku amik result yang paling senang nak faham)

Result #1

http://www.phpbb-seo.com/boards/phpbb3-seo...ags-vt1308.html

AKu xtau camne nak install menda ni, ade sape2 yang berilmu yang sudi bagi tunjuk ajar?

Result #2

Banyak sangat links, peningzzz aku! So, aku bagi penerangan macam ni je la..

Sefaham aku, kalau user phpBB2, kena edit overall_header.php untuk add meta tag

Tapi kalau phpBB3, overall_header.php dah x wujud

Dah digantikan dengan overall_header.html

Ade topic dalam forum phpBB.com yang discuss pasal benda ni

Kata mereka, edit je overall_header.html tu untuk add meta tag

So, aku pun buat la..

Add meta tag sepertimana yang diminta oleh google untuk verify site aku

Pas edit, aku try verify

Namun, segala usaha aku gagal

Ianya tidak menjadi

Lalu aku kecewa, kecewa, dan kecewa..

Camne ni...??? :(

Share this post


Link to post
Share on other sites

try cara ni plak

masuk forum ko > login admin > g kat Administration Control Panel > styles > templates > pilih template name > edit

cari overall_header.html pastu masukkan code google kat situ > submit

pastu try verify smula...

Share this post


Link to post
Share on other sites

try cara ni plak

masuk forum ko > login admin > g kat Administration Control Panel > styles > templates > pilih template name > edit

cari overall_header.html pastu masukkan code google kat situ > submit

pastu try verify smula...

ok cuuuunnn!

tengkiu ejoe!

hehehe..

rupanya kena buat camni..

<!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>
[b]<add verification tag here>[/b]
<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="2002-2006 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>
instead of
<!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>

[b]<add verification tag here>[/b]
<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="2002-2006 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>
sebab file asal camni..
<!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="2002-2006 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>
dalam kata lain, add je meta tag kat space yang ada dalam file asal ni
<head>

<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />

tengkiu2..!

credit to ejoe!

anne! teh tarik setengah gelas!! :lol:

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...