[TYPO3-dev] Apache2 rewrite rule for sitemap.xml doesn't work
Dmitry Dulepov
dmitry at typo3.org
Wed Aug 18 09:44:41 CEST 2010
Hi!
Thomas "Thasmo" Deinhamer wrote:
> The following .htaccess rewrite rule:
>
> # sitemap.xml
> RewriteCond %{REQUEST_FILENAME} sitemap\.xml
> RewriteRule ^sitemap\.xml$ /index.php?eID=dd_googlesitemap [L]
>
> does not work and throws the following error:
> "The page did not exist or was inaccessible. Reason: File
> "sitemap.xml" was not found (2)!"
Why do you need a redirect? Google and others are happy with
"/index.php?eID=dd_googlesitemap".
--
Dmitry Dulepov
TYPO3 core&security team member
Twitter: http://twitter.com/dmitryd
Read more @ http://dmitry-dulepov.com/
More information about the TYPO3-dev
mailing list