mod_rewrite: Sitemap Site vs. Sitemap XML?
Permalink
Hi folks,
Today i switched over to "nice" URLs via the given code for a .htaccess file in the dashboard. However it works on all pages except the sitemap link after i started the generating of the sitemap.xml file because now the link shows the "rendered" structure of that xml file. I think the following line of the mod_rewrite code is responsible for that, because it says "don't touch it if there is an existing file using that filename"
The Questions to me are:
1. Is that xml file generated on that position to be found by google, or is it just for "cut it out from here and get it to the upload site at google"?
2. If it is intended to be in my webroot, how do i get my sitemap site displayed correctly?
3. By the way, how's about extending the pretty URL with a /index.html? Is that useful? I have heard it would be better than only writing a path. Are there any experiences?
greets, Marv
Today i switched over to "nice" URLs via the given code for a .htaccess file in the dashboard. However it works on all pages except the sitemap link after i started the generating of the sitemap.xml file because now the link shows the "rendered" structure of that xml file. I think the following line of the mod_rewrite code is responsible for that, because it says "don't touch it if there is an existing file using that filename"
RewriteCond %{REQUEST_FILENAME} !-f
The Questions to me are:
1. Is that xml file generated on that position to be found by google, or is it just for "cut it out from here and get it to the upload site at google"?
2. If it is intended to be in my webroot, how do i get my sitemap site displayed correctly?
3. By the way, how's about extending the pretty URL with a /index.html? Is that useful? I have heard it would be better than only writing a path. Are there any experiences?
greets, Marv