Title: RSS: .php -&gt; .xml?
Last modified: August 18, 2016

---

# RSS: .php -> .xml?

 *  [adri](https://wordpress.org/support/users/adri/)
 * (@adri)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/rss-php-gt-xml/)
 * I’ve only had WordPress installed for about…4 minutes. I’m coming to WP from 
   Movable Type – on that system I had an RSS feed set up as /index.xml. On WP it’s
   a .php file like everything else. Is there any way to get WP to generate a .xml?
   I already have readers who view my site through the /index.xml file, and it would
   be a pain to get everyone to switch.
    Thx.

Viewing 15 replies - 1 through 15 (of 20 total)

1 [2](https://wordpress.org/support/topic/rss-php-gt-xml/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/rss-php-gt-xml/page/2/?output_format=md)

 *  Anonymous
 * [21 years, 8 months ago](https://wordpress.org/support/topic/rss-php-gt-xml/#post-92359)
 * the simplest thing is going to be to rewrite requests to index.xml to the .php
   file
    I added the following to my wordpress rewrite rules in .htaccess `RewriteRule
   ^index\.xml /journal/wp-rss\.php [R=301,L]`
 *  [clay](https://wordpress.org/support/users/clay/)
 * (@clay)
 * [21 years, 8 months ago](https://wordpress.org/support/topic/rss-php-gt-xml/#post-92360)
 * hmm
    that was me `RewriteRule ^index\.xml /journal/wp-rss\.php [R=301,L]`
 *  [clay](https://wordpress.org/support/users/clay/)
 * (@clay)
 * [21 years, 8 months ago](https://wordpress.org/support/topic/rss-php-gt-xml/#post-92361)
 * Why does the forum always butcher the code I put?
 *  [clay](https://wordpress.org/support/users/clay/)
 * (@clay)
 * [21 years, 8 months ago](https://wordpress.org/support/topic/rss-php-gt-xml/#post-92362)
 * it should be back slashes where the funky encoding happened
 *  [clay](https://wordpress.org/support/users/clay/)
 * (@clay)
 * [21 years, 8 months ago](https://wordpress.org/support/topic/rss-php-gt-xml/#post-92380)
 * I should probably add that I assumed you had permalinks turned on and that you
   were using mod_rewrite
    A search around the forum will tell you how to do this
 *  [clay](https://wordpress.org/support/users/clay/)
 * (@clay)
 * [21 years, 8 months ago](https://wordpress.org/support/topic/rss-php-gt-xml/#post-92387)
 * ah.. thanks beel
    cept it should be RewriteRule ^index\.xml /journal/wp-rss\.
   php [R=301,L]
 *  Thread Starter [adri](https://wordpress.org/support/users/adri/)
 * (@adri)
 * [21 years, 8 months ago](https://wordpress.org/support/topic/rss-php-gt-xml/#post-92745)
 * Ah, thanks – got it working.
 *  [djenyns](https://wordpress.org/support/users/djenyns/)
 * (@djenyns)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/rss-php-gt-xml/#post-92988)
 * I’m going to try this.
 *  [djenyns](https://wordpress.org/support/users/djenyns/)
 * (@djenyns)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/rss-php-gt-xml/#post-92989)
 * I’m sorry I did this ….. I got it so I can rewrite the file in the perminlinks
   and now my whole blog is offline.
 * How do I undo this
    RewriteRule ^index\.xml /journal/wp-rss\.php [R=301,L]
 * that I typed into the perminiks box.
 *  [Avenir](https://wordpress.org/support/users/avenir/)
 * (@avenir)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/rss-php-gt-xml/#post-92990)
 * Well, first off, you shouldn’t type that into the Permalinks box. That’s a mod_rewrite
   rewrite rule and should be entered directly into your .htaccess file. You should
   probably delete your .htaccess file, re-enter the permalink structure that you
   were using, remake the .htaccess file with the rules that WordPress generates(
   or have WordPress insert the rules for you by CHMOD’ing the .htaccess to something
   writeable by the server), and then add in that rewrite rule manually.
 *  [djenyns](https://wordpress.org/support/users/djenyns/)
 * (@djenyns)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/rss-php-gt-xml/#post-92991)
 * My Yahoo IM is mrsil96_com
    Can you please help me fix this? I can’t find the.
   htaccess file and I can even see the blog online.
 *  [djenyns](https://wordpress.org/support/users/djenyns/)
 * (@djenyns)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/rss-php-gt-xml/#post-92992)
 * Can someone help me fix this?
 *  [Avenir](https://wordpress.org/support/users/avenir/)
 * (@avenir)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/rss-php-gt-xml/#post-92993)
 * So you didn’t even update the .htaccess file when you put that rewrite rule into
   the Permalinks box? Well then, that is another reason why your site isn’t working
   at the moment.
 * To access your .htaccess, you’ll need to access your server with an FTP client
   first, and make sure that the FTP client is configured to show hidden files. 
   This can usually be set in the preferences or options of the client, so look 
   around. Once you do that, the .htaccess you want to look for is in the root of
   your WordPress install, or in the root of your server (if you’re using the index-
   in-different-directory trick). If there’s nothing there even though you’ve enabled
   hidden files with your FTP client, then your server doesn’t have a .htaccess 
   yet, so you can just create one.
 * Either way, you’ll want to either open up the .htaccess from your server or a
   new file in a plain text editor. Then enter in a Permalink structure following
   the rules on the Permalinks options page. Click the ‘Update’ button and then 
   a bunch of text is generated in a box. Copy that to the file in your text editor
   and save it. If you’re using a new file, save the file as `.htaccess`, that is,
   a file with no name, but an extension of .htaccess. Then upload that to your 
   server. CHMOD it to something writeable by the server using your FTP client so
   that when you make further changes to the Permalinks or when you write new Pages,
   the structure will update itself automatically.
 *  [djenyns](https://wordpress.org/support/users/djenyns/)
 * (@djenyns)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/rss-php-gt-xml/#post-92994)
 * I can’t access the admin the blog is competely down.
 * [http://www.systemtradingblog.com](http://www.systemtradingblog.com)
 * Can you IM me?
 *  [djenyns](https://wordpress.org/support/users/djenyns/)
 * (@djenyns)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/rss-php-gt-xml/#post-92995)
 * I am using WS_FTP LE. How do I configure to find the hidden file?
    what do I 
   put in it? How do I get this blog back up?
 * IM Yahoo…. mrsil96_com

Viewing 15 replies - 1 through 15 (of 20 total)

1 [2](https://wordpress.org/support/topic/rss-php-gt-xml/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/rss-php-gt-xml/page/2/?output_format=md)

The topic ‘RSS: .php -> .xml?’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 20 replies
 * 6 participants
 * Last reply from: [James Huff](https://wordpress.org/support/users/macmanx/)
 * Last activity: [21 years, 2 months ago](https://wordpress.org/support/topic/rss-php-gt-xml/page/2/#post-93000)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
