[TYPO3-english] realurl and xml suffix

Dmitry Dulepov dmitry at typo3.org
Mon Dec 15 08:20:35 CET 2008


Hi!

Roberto Torresani wrote:
> I used a extension to do sitemap for search engine.
> If I browse to www.domain.com/sitemap.html works good.
> If I browse to www.domain.com/sitemap.xml realurl response me that that was
> not a keyword for a postVarSet.
> 
> How could I configure realurl to answer at xml suffix?

In the configuration file:

...
'fileName' => array(
	'index' => array(
		'sitemap.xml' => array(
			'keyValues' => array(
				'type' => 200,
			)
		),
	)
)
...

Make sure to use correct type value.

-- 
Dmitry Dulepov
TYPO3 core team
In the blog: http://typo3bloke.net/post-details/how_will_i_fix_bugs_in_extensions_from_now_on/
My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book


More information about the TYPO3-english mailing list