Title: Error on affiliate link
Last modified: July 15, 2021

---

# Error on affiliate link

 *  Resolved [ronwisely](https://wordpress.org/support/users/ronwisely/)
 * (@ronwisely)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/error-on-affiliate-link/)
 * Hello team,
    I am getting errors on the aff. link [https://www.screencast.com/t/5iHIoidutEf](https://www.screencast.com/t/5iHIoidutEf)
   [https://www.screencast.com/t/AjHVb6SN4ppW](https://www.screencast.com/t/AjHVb6SN4ppW).
   When I refresh that aff. the link again on the error page then redirects me to
   the client website. This error is not always I get, When I try from a new device
   or sometimes a new page after 1-2days Or you can say randomly I get this error.
   I complain to the hosting team they said it’s not a hosting error. Any suggest
   because this script is created by the Yoast team so I am connecting you. Earlier
   it was working fine

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Md Mazedul Islam Khan](https://wordpress.org/support/users/mazedulislamkhan/)
 * (@mazedulislamkhan)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/error-on-affiliate-link/#post-14662762)
 * Can you please share the exact script that we have created or a link to our site
   where the relevant script appears so that we could understand the issue better?
 *  Thread Starter [ronwisely](https://wordpress.org/support/users/ronwisely/)
 * (@ronwisely)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/error-on-affiliate-link/#post-14662888)
 * thanks for your reply mazedul
    [https://gist.github.com/jdevalk/5622742](https://gist.github.com/jdevalk/5622742)
   this scrip is created by Joost de Valk
 *  [Md Mazedul Islam Khan](https://wordpress.org/support/users/mazedulislamkhan/)
 * (@mazedulislamkhan)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/error-on-affiliate-link/#post-14663112)
 * Thanks for sharing the relevant script link here with us. The script you’re referring
   to here shall work. If not, we are unable to offer support for it as the forum
   here is only specific to issues Yoast SEO. So, we recommend you to submit your
   issue directly to the relevant Gist so either Joost himself or anyone else familiar
   with the issue might help you over there.
 *  [devnihil](https://wordpress.org/support/users/devnihil/)
 * (@devnihil)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/error-on-affiliate-link/#post-14685562)
 * We are going ahead and marking this issue as resolved due to inactivity. If you
   require any further assistance please create a new issue.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Error on affiliate link’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-seo/assets/icon-256x256.gif?rev=3419908)
 * [Yoast SEO - Advanced SEO with real-time guidance and built-in AI](https://wordpress.org/plugins/wordpress-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-seo/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [devnihil](https://wordpress.org/support/users/devnihil/)
 * Last activity: [4 years, 9 months ago](https://wordpress.org/support/topic/error-on-affiliate-link/#post-14685562)
 * Status: resolved