Elxis CMS Forum
Support => General => Topic started by: xmanhattan on October 16, 2012, 15:46:53
-
Hello all,
While checking the validity of links via w3c, I noticed that the sitemaps are being shown as errors.
for htaccess
<Files ~ "\.xml$">
Order allow,deny
deny from all
Satisfy All
</Files>
<FilesMatch "^(js|html|xml)\.*$">
Order deny,allow
Deny from all
Satisfy all
</FilesMatch>
for robots
Allow: /cache/rss20-greek.xml
Allow: /cache/rss20-english.xml
Is the code safe to be added to htaccess and robots txt files?
If not, what is the best way of fixing this?
-
Has anyone used this?