Created by: Axelnsk
This is actually the deprecated code from WordPress SEO, with some small improvements added to it.