To attract hedgehogs to your garden, create wildlife-friendly environments with hedgehog highways, avoid hazards, establish wild corners, ensure safe water access, supplement diets responsibly, and eliminate harmful chemicals, promoting a supportive ecosystem for these vulnerable creatures.