Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • with regard to accessing the index.php file, try editing your .htaccess located in your root directory. try adding something like this:

    DirectoryIndex index.php index.html index.htm

    the webserver would prioritize from left to right.

    you have to edit wp-comments-post located at wp root directory.

    at the end of the file chage this part:

    $location = get_permalink($comment_post_ID);

    header(“Location: $location”);

    to this:

    $location = (empty($_POST[‘redirect_to’])) ? $_SERVER[“HTTP_REFERER”] : $_POST[‘redirect_to’];
    if ($is_IIS) {
    header(“Refresh: 0;url=$location”);
    } else {
    header(“Location: $location”);
    }

    this has been a problem since 1.2. i wonder why it wasnt corrected in strayhorn. anyways… hope it works ??

Viewing 2 replies - 1 through 2 (of 2 total)