Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

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?



  • Options
    R_JR_J Ex-Fanboy Munich Admin

    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/(.*)$$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.