[Typo3] Verifying Google Sitemaps

Dom Stockdale dom at magic-lamp.co.uk
Mon Sep 19 21:42:24 CEST 2005


rodrigo cea wrote:
> Rainer Sudhoelter wrote:
> 
>>
>> the trick is to temporarily disable the /index.php script (by renaming
>> it to something like index.php.temp, for example) and then let google
>> verify the site. once it did so (simply by clicking the provided
>> button), re-enable index.php.
> 
> 
> Sometimes the simplest solutions are the best.
> 
> Thanks!
> 

This isn't a great solution if your pages are giving out 200ok headers
when pages aren't there, it's something search engines aren't keen on
see: http://www.seoconsultants.com/tools/headers.asp or read advice
given by google faqs for webmasters.

You can get typo to do the right headers by setting this
$TYPO3_CONF_VARS["FE"]['pageNotFound_handling_statheader'] = 'HTTP/1.0
404 Not Found';

Or switch off typo handling errors in the first place




More information about the TYPO3-english mailing list