Title: wrong comment page AFTER posting
Last modified: February 7, 2017

---

# wrong comment page AFTER posting

 *  [amoen](https://wordpress.org/support/users/amoen/)
 * (@amoen)
 * [21 years, 7 months ago](https://wordpress.org/support/topic/wrong-comment-page-after-posting/)
 * 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)

 *  Thread Starter [amoen](https://wordpress.org/support/users/amoen/)
 * (@amoen)
 * [21 years, 7 months ago](https://wordpress.org/support/topic/wrong-comment-page-after-posting/#post-107556)
 * sorry folks!
    already found the solution in [this thread… ](http://wordpress.org/support/3/15583)
   couldn’t find it before, must have been because of my impatience…
 *  [Beel](https://wordpress.org/support/users/beel/)
 * (@beel)
 * [21 years, 7 months ago](https://wordpress.org/support/topic/wrong-comment-page-after-posting/#post-107572)
 * 🙂

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

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [Beel](https://wordpress.org/support/users/beel/)
 * Last activity: [21 years, 7 months ago](https://wordpress.org/support/topic/wrong-comment-page-after-posting/#post-107572)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
