Title: Permalink &#8211; Comments feed
Last modified: August 19, 2016

---

# Permalink – Comments feed

 *  [ericthibeault](https://wordpress.org/support/users/ericthibeault/)
 * (@ericthibeault)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/permalink-comments-feed/)
 * Hi there,
 * I didn’t find in the doc what is the path of the comments feed when I use permalinks.
   With wordpress default hierarchy the path of the comments feed is wp-commentsrss2.
   php, but i don’t know what to use with the permalink hierarchy.
 * For the rss2 and atom feeds I simply use the /feed/rss2/ and /feed/atom/.
 * Thanks

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

 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/permalink-comments-feed/#post-709038)
 * example.com/comments/feed
 * displayed by:
    `<?php bloginfo('comments_rss2_url'); ?>`
 *  Thread Starter [ericthibeault](https://wordpress.org/support/users/ericthibeault/)
 * (@ericthibeault)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/permalink-comments-feed/#post-709039)
 * Thanks moshu,
 * It seems to work (the link) but it seems that there’s a bug. Do you know what
   can be the problem?
 * I didn’t touch the comments feed’s page since I installed WordPress.
 *     ```
       XML Parsing Error: junk after document element
       Location: https://www.example.com/it/is-instructions/comments/feed/
       Line Number 4, Column 10:			</div><?xml version="1.0" encoding="UTF-8"?>
       ------------------------------^
       ```
   
 * Thanks
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/permalink-comments-feed/#post-709040)
 * That’s not “bug”. That’s bad code in your blog, as the error message says: junk…
 *  Thread Starter [ericthibeault](https://wordpress.org/support/users/ericthibeault/)
 * (@ericthibeault)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/permalink-comments-feed/#post-709047)
 * Why then – when I simply put /feed/rss2/ on the single post – it shows “comments
   for… (the post title)”. It makes me think that the comment template file is ok.
 * Also the wp-commentsrss2.php file only contains:
 *     ```
       <?php
   
       if (empty($wp)) {
       	require_once('./wp-config.php');
       	wp('feed=rss2&withcomments=1');
       }
   
       require (ABSPATH . WPINC . '/feed-rss2-comments.php');
   
       ?>
       ```
   
 * How then can it contains bad code?
 * Thanks

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

The topic ‘Permalink – Comments feed’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [ericthibeault](https://wordpress.org/support/users/ericthibeault/)
 * Last activity: [18 years, 2 months ago](https://wordpress.org/support/topic/permalink-comments-feed/#post-709047)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
