DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

EXT: webmasters authentication

Created:2010-02-18T17:33:18
Changed:2011-09-16T20:09:46.610000000
Classification:dev_null_webmasters
Keywords:google webmasters, bing webmasters, yahoo sitemanager, multidomain
Author:Wolfgang Rotschek
Email:scotty@dev-null.at
Info 4:
Language:en, de

img-1 img-2 EXT: webmasters authentication - dev_null_webmasters

EXT: webmasters authentication

Extension Key: dev_null_webmasters

Language: en, de

Keywords: google webmasters, bing webmasters, yahoo sitemanager, multidomain

Copyright 2000-2010, Wolfgang Rotschek, <scotty@dev-null.at>

This document is published under the Open Content License

available from http://www.opencontent.org/opl.shtml

The content of this document is related to TYPO3

- a GNU/GPL CMS/Framework available from www.typo3.org

Table of Contents

EXT: webmasters authentication 1

`Introduction 3 <#__RefHeading__939_1075929538>`_

What does it do? 3

Features 3

Credits 3

`Users manual 4 <#__RefHeading__953_1075929538>`_

FAQ 4

`Authentication with meta tags 5 <#__RefHeading__693_504462887>`_

Enable meta tags authentication 5

Typoscript setup 5

`Authentication with files 6 <#__RefHeading__699_504462887>`_

Include static extension template 6

Upload the verification files to your webserver 6

Typoscript setup 6

URL-rewriting 6

Cooluri 6

Realurl 6

`Configuration 7 <#__RefHeading__961_1075929538>`_

Reference 7

`Usage 8 <#__RefHeading__709_504462887>`_

`Known problems 9 <#__RefHeading__967_1075929538>`_

Feature request & Bugs 9

`To-Do list 10 <#__RefHeading__971_1075929538>`_

`ChangeLog 11 <#__RefHeading__973_1075929538>`_

Introduction

What does it do?

This extension assists in the providing of the ownership authentication for various sitemanager platforms. Authentication through meta tags and files is supported. For file authentication realurl or cooluri is required.

Features

  • Support for multidomain installations
  • Support for meta tag authentication
  • Support for stand alone files authentication

Credits

Users manual

  • Download and install the extension with the extension manager
  • Configuration of URL-rewriting for your robots.txt

FAQ

Possible subsections: FAQ

Authentication with meta tags

For authentication with meta tags the sitemanager platforms expect a meta tag looking like the following example for google webmaster tools:

<head>
. . . .
<meta name=”google-site-verification” content=”your verification code” />
. . . .
</head>

To use this you have to perform to steps

Enable meta tags authentication

In the extension configuration enable the meta tags feature

img-3

Typoscript setup

Add the following line to the setup of your extension template at the root page of your website

config.devnullwebmasters.google.metaContent = your verification code

Authentication with files

This method of authentication reduces the size of your pages because no meta tags have to be written. The following steps are needed to use this.

Include static extension template

In the extension template of your websites root page include the static template dev/null webmasters (dev_null_webmasters)

img-4

Upload the verification files to your webserver

The verification files have to be uploaded to your webserver. Best method is ftp. I recommend a folder within the fileadmin directory (e.g. fileadmin/webmasters)

Typoscript setup

Add the following line to the setup of your extension template at the root page of your website

config.devnullwebmasters.google.fileName = fileadmin/webmasters/google123456789abcdf.html

The filename varies and is on most installations case sensitive.

URL-rewriting

To use file verification the url (e.g. www.yourdomain.tld/index.php?id=1&type=1966&webmasters=google) has to be rewritten to match the webmasters tool. Depending on the system the configuration varies.

Cooluri

If you use the extension cooluri for URL-rewriting you have to define the link for each domain and file where you like to use site authentication

img-5

The parameter id represents the id of the websites (domain) rootpage. The value for the parameter webmasters corresponds with the properties in the TS-Setup.

Realurl

For details how to do this please look at the documentation of RealUrl.

Configuration

Typo script default configuration.

Reference

typeNum

Property

typeNum

Data type

int

Description

typeNum for the TS-page object, responsible for the verification files

Default

1966

[tsref:config.devnullwebmasters]

((generated))
Google
contentType

Property

contentType

Data type

string

Description

Content type of google verification files

Default

text/html

fileName

Property

fileName

Data type

string

Description

File path to verification file

Default

metaName

Property

metaName

Data type

string

Description

Meta name attribute for google

Default

google-site-verification

metaContent

Property

metaContent

Data type

string

Description

Meta content attribute for google

holds the verification code

Default

[tsref:config.devnullwebmasters.google]

Yahoo
contentType

Property

contentType

Data type

string

Description

Content type of yahoo verification files

Default

text/html

fileName

Property

fileName

Data type

string

Description

File path to verification file

Default

metaName

Property

metaName

Data type

string

Description

Meta name attribute for yahoo

Default

y_key

metaContent

Property

metaContent

Data type

string

Description

Meta content attribute for yahoo

holds the verification code

Default

[tsref:config.devnullwebmasters.yahoo]

Bing
contentType

Property

contentType

Data type

string

Description

Content type of bing verification files

Default

text/xml

fileName

Property

fileName

Data type

string

Description

File path to verification file

Default

metaName

Property

metaName

Data type

string

Description

Meta name attribute for bing

Default

msvalidate.01

metaContent

Property

metaContent

Data type

string

Description

Meta content attribute for bing

holds the verification code

Default

[tsref:config.devnullwebmasters.yahoo]

Usage

You can easily add additional tools to add a platform just define a key which is required in case of file verification and add the additional properties.

Example for a platform mySitemanager with meta tags. We will use the key mysite. We assume the site manage expects the following meta tag:

<meta name=”mySiteManager” content=”validate1234” />

The the TS-Setup for meta validation looks like the following:

Config.devnullwebmasters.mysite {
  metaName = mySiteManager
  metaContent = validate1234
}

Known problems

Extension must be loaded after extension sourceopt

Feature request & Bugs

If you find a bug or a missing feature, please add it to the bugtracker of the extension at forge.

The address is:

http://forge.typo3.org/projects/extension- dev_null_webmasters/issues

For posting a bug or feature request you need an account of typo3.org.

To-Do list

ChangeLog

1.0.0

Version

1.0.0

Changes

Initial upload

img-2 12