htaccess, added rules disappearing (4 posts)

  1. frankp
    Posted 9 years ago #

    I added to my htaccess file as per http://no-www.org/ to redirect from http://www.website.com to website.com

    All went well, but it seems that periodically WP rewrites the htaccess file to only include the default WP lines.

    I added the lines within the block of wordpress lines which may be part of the problem?

    So my htaccess file looks like the solution offered on this page.

    Can anyone shed some light on why WP intermittently rewrites the htaccess file, whether the problem is including new lines within the WP block and if there is an alternative working solution?

    Many, many thanks.

  2. drmike
    Posted 9 years ago #

    It shouldn't be. Are you modifying the permalink settings at all?

  3. frankp
    Posted 9 years ago #

    I just use a standard permalink structure... I don't mess with the htaccess permalink lines if that's what you mean..?

  4. frankp
    Posted 9 years ago #

    it's really odd - I pdated my htaccess last night and today it's been changed again.

Topic Closed

This topic has been closed to new replies.

About this Topic