What is the Difference between PHP, HTML and JavaScript Redirection types?

  1. mymagicview profile image73
    mymagicviewposted 5 years ago

    What is the Difference between PHP, HTML and JavaScript Redirection types?

    I was on one affiliate website. To protect an affiliate link, they said me to select one of these redirection types. What is the difference between PHP, HTML and JavaScript redirection types? and which redirection type should I choose?

  2. wtaylorjr2001 profile image77
    wtaylorjr2001posted 5 years ago

    PHP redirects are server side only. The request is sent to the server and the server redirects the request to a helper application such as php, nodejs, tomcat, or whatever. The helper application creates a response and returns it to the server with another helper application instance, another url, etc. This works regardless of client side computation

    Javascript redirects work in javascript functions and objects. It works only if javascript is enabled.

    HTML redirects work in html using the meta tag, html-equiv and content attributes. I think all browsers support it.

 
working