WordPress.org

Ready to get started?Download WordPress

Forums

Redirection
htaccess will not publish/update (7 posts)

  1. jglodek
    Member
    Posted 3 years ago #

    When pressing save in the Apache console, program gets stuck.

  2. navimeister
    Member
    Posted 3 years ago #

    I have the same problem. It seems like the plugin can't write the .htaccess. I see "SAVING HTACCESS" message with green background, but nothing happens after that and .htaccess is unchanged. Any solutions?

  3. katinkaspirituality
    Member
    Posted 3 years ago #

    I have the same problem. Using WP 3.0.1 - have been resorting to manually editing my Htaccess file, which is what this plugin is supposed to make unnecessary.

  4. petskratt
    Member
    Posted 3 years ago #

    there is a bug - most probably a forgotten line from some debugging session - that prevents .htaccess redirection from being configured

    edit /modules/htaccess.php, find the line 268 that has die("SAVING HTACCESS"); and comment it out (or delete), so the result should be like that:

    function save ($filename, $name)
    {
      // die("SAVING HTACCESS");
      $text = $this->generate ($name);

    that used to be bug #871 on old tracker... so thanks to whoever fixed it first :-)

  5. philbertdezwart
    Member
    Posted 3 years ago #

    Thanks! It took me a while before I found this post, but this fixed it.

    Please note that after performing this code fix, you have to delete and recreate all your redirects for them to work.

  6. philbertdezwart
    Member
    Posted 3 years ago #

    btw, it is /models/htaccess.php, not /modules/htaccess.php

  7. John Godley
    Member
    Plugin Author

    Posted 3 years ago #

    Now fixed in version 2.2.3

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic