The MU forums have moved to WordPress.org

Permalink for Individual Comments (5 posts)

  1. rahulsood81
    Member
    Posted 7 years ago #

    Hi,
    I want a permalink structure for Individual Comments, e.g. Comment_ID of 456 should be displayed as
    http://www.example.com/456
    or
    http://www.example.com/cat/post_name/456
    Can anybody tell me how to achieve it.

  2. drmike
    Member
    Posted 7 years ago #

    I don't think either one of those will work because that's the structure of a post without a title while using the pretty permalinks.

  3. rahulsood81
    Member
    Posted 7 years ago #

    Can U tell me how to add a new query variable for Comments.
    I am also OK with a new permalink like
    http://www.example.com/comments/456
    Basically, I want a new permalink - Just for Comments (One permalink for every Comment)
    Can U advise me how to edit the classes.php or query.php or .htaccess to achieve it

  4. SteveAtty
    Member
    Posted 7 years ago #

    Personally I'd suggest that if you aren't up to working out how to hack the code then you'd probably be better off not doing it

  5. lunabyte
    Member
    Posted 7 years ago #

    I'd have to agree. You'll do more damage than good.

    If you don't understand the code, don't [try to] hack it.

About this Topic

  • Started 7 years ago by rahulsood81
  • Latest reply from lunabyte