[TYPO3] realurl duplicate content

Xavier Perseguers typo3 at perseguers.ch
Thu Sep 25 23:12:46 CEST 2008


Hi,

> ya, solved..!!

I was sure it should work. Dmitry helped me on this months ago :-)

> one more issues i have regarding same project and realurl.
> 
> i have used mc_googlesitemap, and generated google sitemap for pages with it
> successfully. Problem is that it is accessible under
> http://www.ebc-international.com/index.php?id=52  or
> http://www.ebc-international.com/en/sitemap and not under
> http://www.ebc-international.com/sitemap.xml
> 
> i know its becoz of this code of realurl:
>   'fileName' => array(
>             'defaultToHTMLsuffixOnPrev'=> "" ,
> )
> 
> but i want to avoid it for sitemap page.how can i do that ?

You may use a simple rewrite in Apache:

RedirectMatch permanent ^/sitemap.xml 
         http://www.ebc-international.com/en/sitemap.xml

-- 
Xavier Perseguers
http://xavier.perseguers.ch/en


More information about the TYPO3-english mailing list