As we have just mentioned, extension cords are designed for temporary use. As such, there should be no need to bury them underground as long as you take all the necessary precautions of avoiding water, not overstretching them etc.