WordPress.org

Support

Support » How-To and Troubleshooting » Comments URL bugs

Comments URL bugs

  • I was wondering why my comments (/comments) and comments-feed (/comments/feed) urls weren’t doing anything, so I looked at what the .htaccess had for them, and found this:

    RewriteRule ^comments/feed/(feed|rdf|rss|rss2|atom)/?$ /index.php?&feed=$1&withcomments=1 [QSA,L]
    RewriteRule ^comments/(feed|rdf|rss|rss2|atom)/?$ /index.php?&feed=$1&withcomments=1 [QSA,L]
    RewriteRule ^comments/page/?([0-9]{1,})/?$ /index.php?&paged=$1 [QSA,L]

    If I’m to understand that correctly, this means that:

    /comments/feed/atom or /comments/atom
    /index.php?feed=atom&withcomments=1
    this should be a listing of the comments in the Atom format.
    A feed of comments, but it’s always in rss2 format, not the format specified.

    /comments/page/2
    /index.php?paged=2
    This should be the second page of the list of comments? It’s the second page of the list of posts, not comments.

    /comments/
    Ideally, I’d like to make this a paged list of the recent comments, (the equivalent of comments/page/1) but it doesn’t provide anything like that.

    Any ideas?

Viewing 1 replies (of 1 total)
  • Comment feeds do not currently support Atom format. This will hopefully be corrected in a future version of WordPress, especially now that Atom 1.0 has been formalized.

    Comments are not paged. There are plugins to do this, though.

Viewing 1 replies (of 1 total)
  • The topic ‘Comments URL bugs’ is closed to new replies.
Skip to toolbar