Hi Brains Trust,


Hoping someone on the list knows about this stuff.



I've moved our old site at www.sqldownunder.com to a WordPress site at
sqldownunder.com (long story). Most things are ok now. I added a DNS HTML
redirect from www to http://sqldownunder.com and that seems to get people
there.



One issue though is our RSS feed. It was
http://www.sqldownunder.com/SQLDownUnderMP3Feed.xml.



I set up a mime type mapping from xml to application/rss+xml in the
.htaccesss file and if I access it via
http://sqldownunder.com/SQLDownUnderMP3Feed.xml it works fine. If, however,
I access it via http://www.sqldownunder.com/SQLDownUnderMP3Feed.xml, it's
returned with the mime type text/html and fails. I've got the following in
the .htaccess file:



# BEGIN WordPress

AddType application/rss+xml xml

<IfModule mod_rewrite.c>

RewriteEngine On

RewriteCond %{HTTP_HOST} ^www.sqldownunder.com [NC]

RewriteRule ^(.*)$ http://sqldownunder.com/$1 [L,R=301,NC]

RewriteBase /

RewriteRule ^index\.php$ - [L]

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule . /index.php [L]

</IfModule>



# END WordPress





Anyone have any clues on this?



Regards,



Greg



Dr Greg Low



1300SQLSQL (1300 775 775) office | +61 419201410 mobile│ +61 3 8676 4913 fax

SQL Down Under | Web: www.sqldownunder.com |http://greglow.me

Reply via email to