WordPress.org

Ready to get started?Download WordPress

Ideas

permalinks - and rewrite of .htaccess

  1. sukhameister
    Member

    Hello, I think I have a minor tweak that could help less technical bloggers. (I'm not so technical myself) Anyway, when one chooses another permalink other than the default, the .htaccess is modified to reflect the change. It replaces any previous modification. My server is set up with php4 something, and I have to put a line in the .htaccess so that it uses the php5 engine to achieve php5 functionality.

    You see the problem? When permalinks rewrites .htaccess, it complete rewrites .htaccess and removes my modification. Unless you know better, it takes a while to figure it out.

    I suggest offering the user that option to append .htaccess

    I checked the questions and did not see anything reflecting this particular issue.

    Thanks in advance

    Chuck

    Posted: 4 years ago #
  2. Chris_K
    Member

    When you add content to your .htaccess file don't put it in the
    WordPress section (see below). Put your stuff above or below that and it should be preserved.

    # BEGIN WordPress
    ...
    # END WordPress lines

    Posted: 4 years ago #
  3. Samuel Wood (Otto)
    Tech Ninja

    Yep. Already inmplemented.

    Posted: 4 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.

  • Rating

    12345
    0 Votes
  • Status

    This idea has been implemented