• Hi
    I used the popup-comment page for comments. But here’s the thing: When someone posts a comment inside the popup, it refreshes the wrong page. I would like it to refresh to for example: wp_comments_popup.php?p=2&c=1
    instead of what it does now: index.php?p=2
    does anyone know how to fix this?
    i’ve been looking at the wp_comments_post.php page and found this:
    $location = get_permalink($comment_post_ID);
    if ($is_IIS) {
    header(“Refresh: 0;url=$location”);
    } else {
    header(“Location: $location”);
    }
    i thinks it is to be done here somewere, but before i do something terribly wrong i thought i’d ask 😉
    thanks,
    amoen

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

The topic ‘wrong comment page AFTER posting’ is closed to new replies.