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

Blank referrer showing up in single meta??

Discussion in 'Black Hat SEO' started by stoaf88, Jan 11, 2009.

  1. stoaf88

    stoaf88 Regular Member

    Joined:
    Nov 1, 2008
    Messages:
    243
    Likes Received:
    35
    I am using a plain meta refresh so it should show the referrer. Here is the code:

    Code:
    <META http-equiv="refresh" content="0;URL=http://www.afflink.com">
    Anyway I have gone to the pages a few times and when I check my cpa accounts it shows as no referrer.

    What am I doing wrong? I want the referrer to show.
     
  2. zone69

    zone69 Junior Member

    Joined:
    Nov 24, 2008
    Messages:
    196
    Likes Received:
    1,290
    In most cases the META REFRESH will blank the referrer. Are you trying to not blank the referrer?
     
  3. stoaf88

    stoaf88 Regular Member

    Joined:
    Nov 1, 2008
    Messages:
    243
    Likes Received:
    35
    I want the referrer to show.

    I thought only a double meta will blank referrer.
     
  4. gimme4free

    gimme4free Executive VIP Jr. VIP Premium Member

    Joined:
    Oct 22, 2008
    Messages:
    1,919
    Likes Received:
    1,941
    Home Page:
    This is what a meta refresh does, it blsanks the referrer.

    A double meta refresh =
    metarefresh.php --> check.php

    metarefresh.php Meta Refreshes to check.php

    check.php makes sure that the referring URL is blank and then Meta Refreshes to the link that you choose to link to.

    If you want to show the referrer then use a simple PHP header redirect like the following:

    PHP:
    <?php
    header
    ('Location: http://www.afflink.com/');
    ?>
     
    • Thanks Thanks x 1
  5. stoaf88

    stoaf88 Regular Member

    Joined:
    Nov 1, 2008
    Messages:
    243
    Likes Received:
    35
    @gimmie4free

    I am using a single refresh not a double meta, so it should show referrer.

    What is the code for a php header redirect?
     
  6. zone69

    zone69 Junior Member

    Joined:
    Nov 24, 2008
    Messages:
    196
    Likes Received:
    1,290
    the second meta refresh is just to check that the referrer is indeed blank. Its the 1st one that blanks the referrer.

    gimme4free has provided a php header redirect above already. Another option is to use javascript which passes the referrer as well.
     
  7. gimme4free

    gimme4free Executive VIP Jr. VIP Premium Member

    Joined:
    Oct 22, 2008
    Messages:
    1,919
    Likes Received:
    1,941
    Home Page:
    A single refresh still refreshes. A double meta refresh is just an additional security check to make sure that the first meta refresh worked and blanked the referring URL.
     
  8. stoaf88

    stoaf88 Regular Member

    Joined:
    Nov 1, 2008
    Messages:
    243
    Likes Received:
    35
    Ok guys thanks for the code will give it a try.

    Gave you a thanks gimmie4free
     
  9. gimme4free

    gimme4free Executive VIP Jr. VIP Premium Member

    Joined:
    Oct 22, 2008
    Messages:
    1,919
    Likes Received:
    1,941
    Home Page:
    Also, I would recommend the PHP redirect before javascript as if the user has javascript turned off then it will not link them to the final page. Bad method as it will lose you visitors for no extra work either way.
     
  10. zone69

    zone69 Junior Member

    Joined:
    Nov 24, 2008
    Messages:
    196
    Likes Received:
    1,290
    agreed, php is better to use. based on my webstats you will lose 2% of all users if you use javascript since about 2% of people have javascript disabled.
     
  11. l0cke

    l0cke Regular Member

    Joined:
    Dec 7, 2008
    Messages:
    212
    Likes Received:
    70
    Occupation:
    Designer, Marketer, Real Estate Sales, Author
    Location:
    TX, US
    Home Page:
    or use an xss sploit.

    l0cke
     
  12. gimme4free

    gimme4free Executive VIP Jr. VIP Premium Member

    Joined:
    Oct 22, 2008
    Messages:
    1,919
    Likes Received:
    1,941
    Home Page:
    Im confused, why would you need to use an XSS Exploit to do a redirect? Seems like something is being well over-complicated here.
     
  13. stoaf88

    stoaf88 Regular Member

    Joined:
    Nov 1, 2008
    Messages:
    243
    Likes Received:
    35
    Hmmmm

    The php redirect showed the wrong referrer.

    I sent the link to my domain to an email account, then clicked that link. Stats in clickbooth showed email account as referrer instead of my domain.

    So the php showed the wrong referrer and the meta refresh shows no referrer.

    What should I do to just show my domain as the referrer when using a redirect?
     
  14. gimme4free

    gimme4free Executive VIP Jr. VIP Premium Member

    Joined:
    Oct 22, 2008
    Messages:
    1,919
    Likes Received:
    1,941
    Home Page:
    You said you wanted to show the referring URL, this is what it is doing.

    If you want to show the domain as the referring URL I think you need to do a meta refresh to a php redirect, I may be wrong though. If this does not work link to a https:// then to your site's php redirect then to the aff link
     
  15. stoaf88

    stoaf88 Regular Member

    Joined:
    Nov 1, 2008
    Messages:
    243
    Likes Received:
    35
    ok so say i email someone the link and i want to show my domain name as the referrer.

    So i email the person a meta refresh that will then redirect to the php redirect that sends them to my affiliate link?
     
  16. gimme4free

    gimme4free Executive VIP Jr. VIP Premium Member

    Joined:
    Oct 22, 2008
    Messages:
    1,919
    Likes Received:
    1,941
    Home Page:
    That may work, I have not tested it though
     
  17. zone69

    zone69 Junior Member

    Joined:
    Nov 24, 2008
    Messages:
    196
    Likes Received:
    1,290
    If the request is coming from a different domain and you use the php redirect which in effect is a HTTP 302 redirect, the referrer will just pass through from where the request originated from.

    It sounds like you want to fake the referrer since you are coming from email and you want to make it look like its coming from your domain. In that case the only reliable way is to use javascript.

    I posted an example of this here: http://www.blackhatworld.com/blackh...o-no-referrer-check-your-site.html#post432557

    In that example there is a BH site and a WH site but both can be one domain if you wish.

    Hope that helps.
     
  18. stoaf88

    stoaf88 Regular Member

    Joined:
    Nov 1, 2008
    Messages:
    243
    Likes Received:
    35
    Thanks for all the replies, I think I am just going to use my original meta refresh, all this other stuff is too confusing.

    I am not planning on running up too much on 1 network or 1 offer anyway.
     
  19. sharingan

    sharingan Registered Member

    Joined:
    Jan 29, 2009
    Messages:
    66
    Likes Received:
    16
    Home Page:
    Excuse me for being dumb, help please...

    1. Are non-incentivized offers only "legally" accepted using PPC and email? (or any offers being said by the advertiser) If you use your domain as your landing page, is the offer being incentivized already?

    2. Are you using double meta refresh on all offers in your own domain?

    Hope to clear things out before I set up my site.

    Thanks