WordPress.org

Ready to get started?Download WordPress

Forums

Comments URL bugs (2 posts)

  1. IsaacSchlueter
    Member
    Posted 8 years ago #

    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?

  2. skippy
    Member
    Posted 8 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic