1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to cookie someone to redirect to a site? Possible?

Discussion in 'Black Hat SEO' started by cdn_craigs, Mar 8, 2016.

  1. cdn_craigs

    cdn_craigs Jr. VIP Jr. VIP

    Joined:
    Jul 16, 2011
    Messages:
    1,367
    Likes Received:
    386
    Occupation:
    PAY PER CALL GURU at your service...
    Location:
    Canada
    Home Page:
    hi guys

    not sure if this is possible. I drive people to ME.EXAMPLE.com and dont buy anything, but later if they go back to EXAMPLE.com on their own - is there a way to redirect them to ME.EXAMPLE.com ?

    Not sure if this is possible?

    Thanks
     
  2. roadhamster

    roadhamster Regular Member

    Joined:
    Mar 12, 2012
    Messages:
    335
    Likes Received:
    242
    Yes it's possible. You can use a php script for that, I think that also javascript can do this, but not sure. If they go to me.example.com, set a cookie with some info, when they revisit the example.com domain, read the cookie info, if they visited the me.exaple.com, redirect them to me.example.com. Cookies can be shared between subdomains.
    Check W3schools, PHP on cookies
     
    Last edited: Mar 8, 2016