Anonymous
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]
hmm
that was me
RewriteRule ^index\.xml /journal/wp-rss\.php [R=301,L]
Why does the forum always butcher the code I put?
it should be back slashes where the funky encoding happened
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
ah.. thanks beel
cept it should be
RewriteRule ^index\.xml /journal/wp-rss\.php [R=301,L]
Thread Starter
adri
(@adri)
Ah, thanks – got it working.
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.
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.
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.
Can someone help me fix this?
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.
I can’t access the admin the blog is competely down.
http://www.systemtradingblog.com
Can you IM me?
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