{"id":26858,"date":"2013-12-21T02:28:56","date_gmt":"2013-12-21T02:28:56","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/woocommerce-cloak-affiliate-links\/"},"modified":"2025-09-15T13:22:57","modified_gmt":"2025-09-15T13:22:57","slug":"woocommerce-cloak-affiliate-links","status":"publish","type":"plugin","link":"https:\/\/kab.wordpress.org\/plugins\/woocommerce-cloak-affiliate-links\/","author":654565,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.37","stable_tag":"1.0.37","tested":"6.7.5","requires":"4.7.0","requires_php":"","requires_plugins":null,"header_name":"Cloak Affiliate Links for WooCommerce","header_author":"datafeedr.com","header_description":"","assets_banners_color":"","last_updated":"2025-09-15 13:22:57","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/www.datafeedr.com","header_author_uri":"http:\/\/www.datafeedr.com","rating":4.3,"author_block_rating":0,"active_installs":2000,"downloads":52818,"num_ratings":12,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"datafeedr.com","date":"2013-12-21 19:58:35"},"1.0.1":{"tag":"1.0.1","author":"datafeedr.com","date":"2014-02-01 17:07:19"},"1.0.10":{"tag":"1.0.10","author":"datafeedr.com","date":"2017-11-06 13:57:36"},"1.0.11":{"tag":"1.0.11","author":"datafeedr.com","date":"2017-11-30 19:28:45"},"1.0.12":{"tag":"1.0.12","author":"datafeedr.com","date":"2018-01-17 17:32:00"},"1.0.13":{"tag":"1.0.13","author":"datafeedr.com","date":"2018-03-13 14:20:23"},"1.0.14":{"tag":"1.0.14","author":"datafeedr.com","date":"2018-03-14 15:24:10"},"1.0.15":{"tag":"1.0.15","author":"datafeedr.com","date":"2018-07-30 14:03:24"},"1.0.16":{"tag":"1.0.16","author":"datafeedr.com","date":"2018-12-07 14:51:13"},"1.0.17":{"tag":"1.0.17","author":"datafeedr.com","date":"2019-02-19 16:13:34"},"1.0.18":{"tag":"1.0.18","author":"datafeedr.com","date":"2019-04-23 12:54:39"},"1.0.19":{"tag":"1.0.19","author":"datafeedr.com","date":"2019-05-06 17:03:27"},"1.0.2":{"tag":"1.0.2","author":"datafeedr.com","date":"2014-02-19 16:41:05"},"1.0.20":{"tag":"1.0.20","author":"datafeedr.com","date":"2019-08-20 15:24:56"},"1.0.21":{"tag":"1.0.21","author":"datafeedr.com","date":"2019-11-12 14:34:16"},"1.0.22":{"tag":"1.0.22","author":"datafeedr.com","date":"2020-03-11 14:36:55"},"1.0.23":{"tag":"1.0.23","author":"datafeedr.com","date":"2020-07-27 13:26:06"},"1.0.24":{"tag":"1.0.24","author":"datafeedr.com","date":"2020-09-30 18:34:59"},"1.0.25":{"tag":"1.0.25","author":"datafeedr.com","date":"2020-12-01 16:43:59"},"1.0.26":{"tag":"1.0.26","author":"datafeedr.com","date":"2021-03-08 19:24:18"},"1.0.27":{"tag":"1.0.27","author":"datafeedr.com","date":"2021-07-13 14:06:20"},"1.0.28":{"tag":"1.0.28","author":"datafeedr.com","date":"2021-07-13 14:07:51"},"1.0.29":{"tag":"1.0.29","author":"datafeedr.com","date":"2022-10-28 13:21:51"},"1.0.3":{"tag":"1.0.3","author":"datafeedr.com","date":"2014-04-16 17:02:27"},"1.0.30":{"tag":"1.0.30","author":"datafeedr.com","date":"2022-10-28 13:58:42"},"1.0.31":{"tag":"1.0.31","author":"datafeedr.com","date":"2023-04-20 17:54:25"},"1.0.32":{"tag":"1.0.32","author":"datafeedr.com","date":"2023-05-02 14:57:20"},"1.0.33":{"tag":"1.0.33","author":"datafeedr.com","date":"2023-11-10 15:12:04"},"1.0.34":{"tag":"1.0.34","author":"datafeedr.com","date":"2024-03-18 21:09:22"},"1.0.35":{"tag":"1.0.35","author":"datafeedr.com","date":"2024-07-05 18:07:46"},"1.0.36":{"tag":"1.0.36","author":"datafeedr.com","date":"2024-12-30 15:40:48"},"1.0.37":{"tag":"1.0.37","author":"datafeedr.com","date":"2025-09-15 13:22:57"},"1.0.4":{"tag":"1.0.4","author":"datafeedr.com","date":"2014-07-17 16:08:30"},"1.0.5":{"tag":"1.0.5","author":"datafeedr.com","date":"2016-12-14 14:22:03"},"1.0.6":{"tag":"1.0.6","author":"datafeedr.com","date":"2017-02-16 15:49:32"},"1.0.7":{"tag":"1.0.7","author":"datafeedr.com","date":"2017-03-20 19:14:21"},"1.0.8":{"tag":"1.0.8","author":"datafeedr.com","date":"2017-04-18 12:54:36"},"1.0.9":{"tag":"1.0.9","author":"datafeedr.com","date":"2017-06-02 15:41:03"}},"upgrade_notice":{"":"<p><em>None<\/em><\/p>"},"ratings":{"1":0,"2":2,"3":1,"4":0,"5":9},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.0.10","1.0.11","1.0.12","1.0.13","1.0.14","1.0.15","1.0.16","1.0.17","1.0.18","1.0.19","1.0.2","1.0.20","1.0.21","1.0.22","1.0.23","1.0.24","1.0.25","1.0.26","1.0.27","1.0.28","1.0.29","1.0.3","1.0.30","1.0.31","1.0.32","1.0.33","1.0.34","1.0.35","1.0.36","1.0.37","1.0.4","1.0.5","1.0.6","1.0.7","1.0.8","1.0.9"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3361814,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2901930,"resolution":"2","location":"assets","locale":""}},"screenshots":{"1":"Settings","2":"Permalinks"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[5362,559,1920,557,727],"plugin_category":[35,45],"plugin_contributors":[79403],"plugin_business_model":[],"class_list":["post-26858","plugin","type-plugin","status-publish","hentry","plugin_tags-affiliate-links","plugin_tags-cloak","plugin_tags-external","plugin_tags-mask","plugin_tags-redirect","plugin_category-advertising","plugin_category-ecommerce","plugin_contributors-datafeedrcom","plugin_committers-datafeedrcom"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/woocommerce-cloak-affiliate-links.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/woocommerce-cloak-affiliate-links\/assets\/screenshot-1.png?rev=3361814","caption":"R\u00e9glages"},{"src":"https:\/\/ps.w.org\/woocommerce-cloak-affiliate-links\/assets\/screenshot-2.png?rev=2901930","caption":"Izdayen ime\u0263lalen"}],"raw_content":"<!--section=description-->\n<p>The <em>Cloak Affiliate Links for WooCommerce<\/em> plugin allows you to mask all external links in your WooCommerce store.<\/p>\n\n<p>For example, change this...\n    merchant.com\/index.php?aff_id=123&amp;product_id=456<\/p>\n\n<p>... into this:\n    yoursite.com\/go\/123<\/p>\n\n<p>Configure the status code for the redirect to either 301, 302 or 307.<\/p>\n\n<p>The plugin also adds a \"Disallow\" to your robots.txt file to prevent bots from following those external links.<\/p>\n\n<!--section=installation-->\n<p>This section describes how to install the plugin and get it working.<\/p>\n\n<ol>\n<li>Upload the <code>woocommerce-cloak-affiliate-links<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the <em>Cloak Affiliate Links for WooCommerce<\/em> plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Configure the plugin by going to Settings &gt; WC Cloak Links.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='what%20redirect%20status%20should%20i%20use%2C%20301%2C%20302%20or%20307%3F'><h3>What redirect status should I use, 301, 302 or 307?<\/h3><\/dt>\n<dd><p>There's a lot of debate about this.  I would suggest Googling this and seeing which works best for you.  The default status is 302.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.37 - 2025\/09\/15<\/h4>\n\n<ul>\n<li>Changed plugin name to comply with WooCommerce's trademark.<\/li>\n<\/ul>\n\n<h4>1.0.36 - 2024\/12\/30<\/h4>\n\n<ul>\n<li>Fixed CSRF issue<\/li>\n<\/ul>\n\n<h4>1.0.35 - 2024\/07\/05<\/h4>\n\n<ul>\n<li>Updated \"tested up to\" value<\/li>\n<\/ul>\n\n<h4>1.0.34 - 2024\/03\/18<\/h4>\n\n<ul>\n<li>Updated permalink saving.<\/li>\n<\/ul>\n\n<h4>1.0.33 - 2023\/11\/10<\/h4>\n\n<ul>\n<li>Updated \"tested up to\" value<\/li>\n<li>Declared WooCommerce HPOS compatibility<\/li>\n<\/ul>\n\n<h4>1.0.32 - 2023\/05\/02<\/h4>\n\n<ul>\n<li>Added 2 public properties to <code>Wccal<\/code> class.<\/li>\n<\/ul>\n\n<h4>1.0.31 - 2023\/04\/20<\/h4>\n\n<ul>\n<li>Updated \"tested up to\" values.<\/li>\n<\/ul>\n\n<h4>1.0.30 - 2022\/10\/28<\/h4>\n\n<ul>\n<li>Updated \"tested up to\" values.<\/li>\n<\/ul>\n\n<h4>1.0.29 - 2021\/08\/09<\/h4>\n\n<ul>\n<li>Added <code>wccal_product_url_permalink<\/code> filter.<\/li>\n<li>Added <code>wccal_product_url_qs<\/code> filter.<\/li>\n<\/ul>\n\n<h4>1.0.28 - 2021\/07\/13<\/h4>\n\n<ul>\n<li>Forgot one small change in last update.<\/li>\n<\/ul>\n\n<h4>1.0.27 - 2021\/07\/13<\/h4>\n\n<ul>\n<li>Updated to support WordPress 5.8.<\/li>\n<li>Updated to support WooCommerce 5.5.<\/li>\n<\/ul>\n\n<h4>1.0.26 - 2020\/03\/08<\/h4>\n\n<ul>\n<li>Updated to support WordPress 5.7.<\/li>\n<\/ul>\n\n<h4>1.0.25 - 2020\/12\/01<\/h4>\n\n<ul>\n<li>Updated to support WordPress 5.6.<\/li>\n<\/ul>\n\n<h4>1.0.24 - 2020\/09\/30<\/h4>\n\n<ul>\n<li>Updated to support WooCommerce 4.5.<\/li>\n<\/ul>\n\n<h4>1.0.23 - 2020\/07\/27<\/h4>\n\n<ul>\n<li>Updated to support WooCommerce 4.3.<\/li>\n<\/ul>\n\n<h4>1.0.22 - 2020\/03\/11<\/h4>\n\n<ul>\n<li>Updated to support WooCommerce 4.0.<\/li>\n<\/ul>\n\n<h4>1.0.21 - 2019\/11\/12<\/h4>\n\n<ul>\n<li>Updated readme.<\/li>\n<\/ul>\n\n<h4>1.0.20 - 2019\/08\/20<\/h4>\n\n<ul>\n<li>Updated for WooCommerce 3.7<\/li>\n<\/ul>\n\n<h4>1.0.19 - 2019\/05\/06<\/h4>\n\n<ul>\n<li>Updated readme.<\/li>\n<\/ul>\n\n<h4>1.0.18 - 2019\/04\/23<\/h4>\n\n<ul>\n<li>Updated readme.<\/li>\n<\/ul>\n\n<h4>1.0.17 - 2019\/02\/19<\/h4>\n\n<ul>\n<li>Updated readme.<\/li>\n<\/ul>\n\n<h4>1.0.16 - 2018\/12\/07<\/h4>\n\n<ul>\n<li>Updated readme.<\/li>\n<\/ul>\n\n<h4>1.0.15 - 2018\/07\/30<\/h4>\n\n<ul>\n<li>Disables cloaking of URLs during WooCommerce Product Exporting.<\/li>\n<\/ul>\n\n<h4>1.0.14 - 2018\/03\/14<\/h4>\n\n<ul>\n<li>Declared required and supported WooCommerce version.<\/li>\n<\/ul>\n\n<h4>1.0.13 - 2018\/03\/13<\/h4>\n\n<ul>\n<li>Updated readme file.<\/li>\n<\/ul>\n\n<h4>1.0.12 - 2018\/01\/17<\/h4>\n\n<ul>\n<li>Added README file for GitHub.<\/li>\n<\/ul>\n\n<h4>1.0.11 - 2017\/11\/30<\/h4>\n\n<ul>\n<li>Fixed compatibility issue with WooZone.<\/li>\n<\/ul>\n\n<h4>1.0.10 - 2017\/09\/29<\/h4>\n\n<ul>\n<li>Fixed woocommerce_product_class() so that Wccal_Product_External is returned when the admin-ajax.php is requested from the frontend.<\/li>\n<\/ul>\n\n<h4>1.0.9 - 2017\/05\/01<\/h4>\n\n<ul>\n<li>Changed <code>woocommerce_clean()<\/code> to <code>wc_clean()<\/code>.<\/li>\n<\/ul>\n\n<h4>1.0.8 - 2017\/04\/18<\/h4>\n\n<ul>\n<li>Fixed bug introduced with WooCommerce 3.0+ where affiliate link was being rewritten on product edit page in the WordPress Admin Area.<\/li>\n<\/ul>\n\n<h4>1.0.7 - 2017\/03\/20<\/h4>\n\n<ul>\n<li>Changed <code>get_site_url()<\/code> to <code>home_url()<\/code> to fix <a href=\"https:\/\/wordpress.org\/support\/topic\/im-getting-404-on-all-the-cloaked-links\/#post-8936140\">this error<\/a>.<\/li>\n<\/ul>\n\n<h4>1.0.6 - 2017\/02\/16<\/h4>\n\n<ul>\n<li>Added <code>$context<\/code> argument to <code>get_product_url()<\/code> method to support changes in WooCommerce 2.7.<\/li>\n<\/ul>\n\n<h4>1.0.5<\/h4>\n\n<ul>\n<li>Just updating readme.<\/li>\n<\/ul>\n\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>Added user_trailingslashit() function to returned redirect URL. (#9588)<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Updated 'tested up to' tag.<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Added \"static\" to static methods to meet Strict Standards.<\/li>\n<li>Updated plugin information.<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Changed author name to \"datafeedr.com\"<\/li>\n<li>Flushed rewrite rules on plugin activation\/deactivation.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"Cloak your WooCommerce external &amp; affiliate links.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/kab.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/26858","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kab.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/kab.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/kab.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=26858"}],"author":[{"embeddable":true,"href":"https:\/\/kab.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/datafeedrcom"}],"wp:attachment":[{"href":"https:\/\/kab.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=26858"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/kab.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=26858"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/kab.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=26858"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/kab.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=26858"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/kab.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=26858"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/kab.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=26858"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}