{"id":8699187,"date":"2017-01-25T22:19:30","date_gmt":"2017-01-25T22:19:30","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/auto-change\/"},"modified":"2017-01-25T22:19:30","modified_gmt":"2017-01-25T22:19:30","slug":"auto-change","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/auto-change\/","title":{"rendered":"Auto change"},"content":{"rendered":"<p>Hey there,<\/p>\n<p>First of all, thanks for this great plugin. Second of all, i have a big question: is there any way to automatically change all of the links that start with &#8220;http:\/\/affiliate.random.org&#8221; from my website to a certain friendly url?<\/p>\n<p>Example:<br \/>\nI imported a product feed and the &#8220;add to cart&#8221; standard button takes the user to the affiliate url which is very long and not user-friendly. Is there any way that i can change automatically the url? Keep in mind that the url is different for each product.<\/p>\n<p>Thanks,<br \/>\nVictor<\/p>\n","protected":false},"template":"","class_list":["post-8699187","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/8699187","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/8699187\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=8699187"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}