Hi Jason,

> Adding the [L] flag to both your sitemap rules should do the trick.

unfortunately, it did not. I rewrote my rules now completely and changed
them like this:

  # clear ending slashes
  RewriteRule ^(.*)/$ /$1 [L,R=301]

  # rewrite sitemap
  RewriteRule ^sitemap\.xml$ sitemap.php
  RewriteRule ^sitemap([0-9]+)\.xml$ sitemap.php?id=$1

  # start framework rewrite
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule .* index.php

This seems to work now as expected.

Thanks and best regards,

Ralf

Reply via email to