Permalinks, htaccess and 500 errors — I crashed my system
-
I am a newbie to WordPress, and in an attempt to fix a problem, I think I started a chain of events that has now led to a 500, internal error. I hope to recreate the situation so that you guys can help. I’ve checked other boards, and I am getting such mixed answers I thought I’d put it all in one place.
1) The comments weren’t showing up. I could see the number of comments per post, but the link to the comments page (post page) didn’t show the comments or a place to put them.
2) So I changed the permalink via admin -> options to resemble the only way I could view comments: when the link was sent through email (thanks Subscribe2 plugin!) “?=%postnum%”
3) This change causes a 500 error. When I check the server log, it says:
RewriteRule: cannot compile regular expression ‘^?=category/(.+)/feed/(feed|rdf|rss|rss2|atom)/?$’\n
4) So Now I’m in an EVIL cycle: to solve the 500 error, I delete the .htaccess file and put a new (blank) one there. Then the site comes back up, and as I go to admin->options, permalinks, that same faulty permalink is there, and then the system crashes again, without giving me a chance to change it. So I go to copy a start a new .htaccess, and start the cycle over.
I think if I can clear the SQL or cache of that faulty permalink structure, then it won’t come back up when I put in a new .htaccess. Obviously that data is being saved somewhere else. But how do I do that?
And once I get the system back up and running, how do I fix the comments so they work.
I’m running version 1.5.
Thanks for the help!
- The topic ‘Permalinks, htaccess and 500 errors — I crashed my system’ is closed to new replies.