Change the active community error

Hello Folks,

If I have an instance of open already open and I click on a hyperlink to another document I get the following error  ---  "The link you have followed refers to different community than the one that you are log in to. To follow this link and log on to....."

Please see attached screen shot for further details.

Immediate response to this would be greatly appreciated. Thanks!