SOME MORE INFORMATION:
I’m doing that because I want to change my blog domain name by keeping Facebook and Twitter’s counters.
I guess the only way to do that is to maintain the old link..
So I need the link to be the old one if the post date is Gen 2014 or before.