I have a page on my site called map-xml.php which is an RSS feed of housing properties. To enable me to submit this to Google's Data Feeds it needs to have an .xml file extension.
So how would I go about writing a rewrite rule in htaccess which would make map-xml.xml work?
Thanks!
RewriteRule ^(.*)/map-xml.xml$ /$1/map-xml.php [L]
Should do the trick.
加载中,请稍侯......
精彩评论