Title: Comments redirect
Last modified: August 19, 2016

---

# Comments redirect

 *  Resolved [Gautam Thapar](https://wordpress.org/support/users/gautamanizer/)
 * (@gautamanizer)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/comments-redirect/)
 * How to make the user or anyone after leaving a comment to a post being redirected
   back to that comment ?
 * My blog – [http://www.hyipinvestigation.com](http://www.hyipinvestigation.com)
 * Currently after posting a comment I am taken back to the top of the post.

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

 *  [jkovis](https://wordpress.org/support/users/jkovis/)
 * (@jkovis)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/comments-redirect/#post-2039941)
 * Each comments `<li>` tag has `id="li-comment-<?php comment_id(); ">`
 * Remove the “li-comment-” part and it will work.
 * Note: I don’t know exactly what is inside the `<?php ?>` tags, but keep whatever
   it is and remove the li-comment-
 *  Thread Starter [Gautam Thapar](https://wordpress.org/support/users/gautamanizer/)
 * (@gautamanizer)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/comments-redirect/#post-2039951)
 * Thanks, I tried what you say but nothing happened, I stay at the top and not 
   redirected back to the comment.
 *  Thread Starter [Gautam Thapar](https://wordpress.org/support/users/gautamanizer/)
 * (@gautamanizer)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/comments-redirect/#post-2040005)
 * Anyone else have any idea about this ?
 *  [jkovis](https://wordpress.org/support/users/jkovis/)
 * (@jkovis)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/comments-redirect/#post-2040078)
 * I just tried to take another look at your site but it’s not loading right now.
 *  Thread Starter [Gautam Thapar](https://wordpress.org/support/users/gautamanizer/)
 * (@gautamanizer)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/comments-redirect/#post-2040080)
 * try now, it is working fine.
 *  [jkovis](https://wordpress.org/support/users/jkovis/)
 * (@jkovis)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/comments-redirect/#post-2040086)
 * Whoops, it looks like I told you to remove the wrong part…remove just the `li-`
   part, leaving `comment-<?php comment_id(); ?>`
 * After leaving a comment you are redirected to [http://yoursiteurl.com/#comment-####](http://yoursiteurl.com/#comment-####)
   where #### is the comment id.
 *  Thread Starter [Gautam Thapar](https://wordpress.org/support/users/gautamanizer/)
 * (@gautamanizer)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/comments-redirect/#post-2040087)
 * thanks, it worked but it takes me to the top portion of the comments section 
   and not to the comment just posted.
 *  [jkovis](https://wordpress.org/support/users/jkovis/)
 * (@jkovis)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/comments-redirect/#post-2040091)
 * Find style.css in your theme and change:
 * line 1078 from:
 *     ```
       .comment-body{
           float: left;
           padding: 8px;
       }
       ```
   
 * to:
 *     ```
       .comment-body{
           /*float: left;/**/
           padding: 8px 8px 25px 8px;
       }
       ```
   
 * There are some other CSS styles for .comment-body, but leave them as they are.
 *  Thread Starter [Gautam Thapar](https://wordpress.org/support/users/gautamanizer/)
 * (@gautamanizer)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/comments-redirect/#post-2040092)
 * Yeah now it is working perfectly fine, thank you so much 😀
 *  [jamminjames](https://wordpress.org/support/users/jamminjames/)
 * (@jamminjames)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/comments-redirect/#post-2040161)
 * Is it possible to get this plugin to work with the Disqus comment system? I have
   it installed, and tried commenting, but nothing happens.
 * Or is there an alternative that works with Disqus?

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

The topic ‘Comments redirect’ is closed to new replies.

## Tags

 * [Comments](https://wordpress.org/support/topic-tag/comments/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 10 replies
 * 3 participants
 * Last reply from: [jamminjames](https://wordpress.org/support/users/jamminjames/)
 * Last activity: [14 years, 2 months ago](https://wordpress.org/support/topic/comments-redirect/#post-2040161)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
