if not in a community redirect to the correct path