Can't change .php to .xml with .htaccess


My have use Pligg

and use modules sitemap

How to install modules :
1.Unzip de folder.
2.Upload the sitemap.php and sitemap.xsl to your root.
3.Open .htaccess files, find ## Modules and add this line above it: RewriteRule ^sitemap.xml/?$ sitemap.php [L] .
I noticed if you copy/paste that line into your .htaccess it doesnt work, so you might have to write it yourself.

i’m add code : RewriteRule ^sitemap.xml/?$ sitemap.php [L] to file htaccsess but it’s not work in links :

Please help fix error ?


RewriteRule ^sitemap.xml/?$ sitemap.php [L]