How to redirect to a certain page after logout from any link Does anyone know how to redirect to a certain page like mysite.com/message-board-page/23
from any link, for example from mysite.com/node/add/message-board/23 or mysite.com/message-board-page/23

Currently I am doing like this, but it just works for any link that has $arg = 3

$arg = arg(3);
  ....
  href="/user/logout?destination=message-board-page/'.$arg.'"

Any help would be appreciated!
If i am correct you want the user to to redirect to a certain page say test-page-3 from any page or url after logout.
Enable the Trigger Module. In configuration go to Actions, -- there in Create an advanced action Select Redirect to URL and press Create. Then label it as you want it and in URL add the page URL you want the user to redirect. 
Then go to Structures and Select Triggers,  here select USER Tab in Top Right corner.
Then in Trigger: After a user has logged out , Select the action the action u have created.

Hope that helps and tick if u find it useful.