I know this is an old thread, but hope someone finds this helpful.
Use a proper power source, one reason for SD-cards to wear out fast is that the RPi doesn’t receive enough power to actually perform the writes and therefore writes bad data which corrupts the card. Depending on which model it is it might need more power. Since I switched to better power supplies I haven’t had a dead SD-card for quite a while, so it seem to have an impact.
Use RPi-images that writes to
/tmpfs, or configure them to write temporary data to RAM to reduce wear on the SD-card.
Since it hasn’t been mentioned before in this thread, avoid powering off the device by removing power since this could cancel an ongoing write which potentially could corrupt the card. If you need to power it off, do it properly.