katieinshoes
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: site down after .htaccess being createdActually, nevermind (I think, I hope!). I looked at the code the plugin author had in his earlier post (https://boren.nu/archives/2004/10/08/alternative-rewrite-rules/) and tried replacing all the rewrite rules in my .htaccess with that. It worked! Beautifully!
Now I’ll need to edit out where the rewrite rules are rewritten in both in the permalink option and I think also the page entry files so the nice, short version doesn’t get rewritten. Thanks for pointing me in the right direction.
Forum: Fixing WordPress
In reply to: site down after .htaccess being createdMing: Thanks.
I tried that plugin and I get a bizarro T_VARIABLE error on all my pages when it’s activated. I tried editing the plugin several different ways and still got the error. Go figure.
Any other ideas?
Forum: Fixing WordPress
In reply to: site down after .htaccess being createdI have the same problem!
It seems that this part is what screws things up for me:
<IfModule mod_rewrite.c>
When wordpress rewrites my htaccess file, it adds those in, and then nothing within that folder is reachable. I’m guessing the server just doesn’t understand what those parts mean, so it screws up. If I manually delete that out (and the corresponding closing tags), everything is fine again.
Before, I used to remove the line in wp-admin/options-permalinks.php that saves the rewritten rules so that WP would just leave the file alone. Now that I’m adding pages and need the rewrite rules to be rewritten as I add pages, this isn’t going to work anymore.
I really don’t know much PHP. Could anyone suggest a way to get WP to *not* add in the “<IfModule mod_rewrite.c>” line (the “# BEGIN WordPress” line is fine) on rewrites for those of us with cranky servers?