Enable pinned posts to be redirected to another link

Hey guy, happy holidays!

I was wondering if it is possible to have a pinned post redirect to another link rather than the actual post itself?

Thanks!

Comments

  • If I were a user of your forum, something like that would be confusing for me. They view count and the comment count for both would be different/other thatn the user expect.

    Why don't you pin the discussion that would be the target of your redirection?

    That said, you can do it "manually" with a htaccess redirect. Read abour Apache RewriteRules somewhere on the net. You would end up with a line similar (don't know if it is already working that way) to this that you have to add to your .htaccess file:
    RewriteRule ^/discussion/OldID/(.*)$ http://yourforum.com/discussion/NewID/$1 [R=301,L]

    You certainly have to change the domain and NewID/OldID

    But really: I think that this is not elegant.

Sign In or Register to comment.