• I’ve used hand-written redirects in my .htaccess file in the past to shorten some select WordPress URLs. Recently, I’ve discovered that WordPress is re-writing .htaccess on a daily basis, eliminating any customizations I’ve made!

    How do I make it stop? If I just make .htaccess unwritable, will that have adverse effects?

    Many thanks in advance.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You have to keep your stuff out of the WordPress section of the .htaccess or else WordPress will overwrite it.

    Thread Starter mwsmedia

    (@mwsmedia)

    Ah, but it *is* out of that section. And it gets erased anyway. Any ideas why?

    I have never had that happen. Something definitely is not right. Any permalink plugins? You’re the WP code in the .htaccess is completely untouched right?

    You can make the .htaccess unwritable, it won’t affect anything adversely. You just won’t be able to use WP to automatically update permalinks if you want to make a change… which shouldn’t be a big deal.

    I would do that until you get to the bottom of why or in lieu of…

    Thread Starter mwsmedia

    (@mwsmedia)

    Hm… I have *a lot* of plugins, but I didn’t notice this happening until after the end of January or so. I guess I could narrow it down to what plugins updates have occurred since then (come to think of it, there’s been a WP update — 2.7.1 — since then…)

    Meanwhile, I’ll make .htaccess unwritable.

    If anyone else has experienced this, and narrows it down to a particular plugin, please speak up!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Frustrating: WordPress re-writes .htaccess!’ is closed to new replies.