Support » Plugins » Additional Permalinking

  • Resolved Anraiki

    (@anraiki)


    I am making a edit to my site to separate my comments from my blogs, but each blog will have their own individual comment page.

    Thus the links will go as:

    %category%/%post-title%/comments/%comment-page%.html

    which should turn into:
    http://example.com/index.php ? name=%post-title% & cp = 1

    Can someone point me to the right direction on how to do this?
    I tried editing my htacess file with the following:
    RewriteRule ^([^/]+)/([^/]+)/comments/([^/]+)?$ /index.php?name=$2&cp=$3 [L]

    but nothing seems to work :\

Viewing 2 replies - 1 through 2 (of 2 total)
  • There is no such permalink structure tag as you put there:
    %comment-page%

    Since the comments are tied to the post’s ID# I don’t see how can you “separate” them.
    (when you say “blog” you mean post, right?)

    Yes, I meant post.

    %comment-page% is my custom field.

    I am just trying to rewrite the url to look like:

    Category/Post-Title/Comment/1.html

    Where it look like this:
    %category%/%post-title%/comments/%comment-page%.html

    Thus separating the Post’s Comment to:
    Comments -> Category/Post-Title/Comment/1.html
    Post -> Category/Post-Title.html

    I already have one part of it done though.

    Which is
    Post -> Category/Post-Title.html

    and the Ugly:

    Comment -> Category/Post-Title.html?cp=1

    So my GOAL is to turn the UGLY to become PRETTY.

    Before: Category/Post-Title.html?cp=1
    After: Category/Post-Title/Comment/1.html

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Additional Permalinking’ is closed to new replies.