Should I disable Virtual Memory on SSD in OS X Yosemite?
For how to do that, I recommend this excellent sophisticated answer: How can I move virtual memory swap files to a different drive or partition?

But keep in mind that your SSD does NOT wear out as bad as most youngsters tell you. In fact, I experience HDs breaking a lot more often than SSDs. Besides, your computer only swaps if it's really necessary as it comes with enormous memory access speed penalties. And even if it was: I'd prefer keeping the swap on the SSD rather than moving it to a slow HD. 

But always keep in mind: Storage media are expendable parts.