The gland is located just inside the rectum and right below the bladder, directly at the root of the penis.