MyBB Community Forums

Full Version: Pass from a URL Shortening site on index only?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello
I found this code somewhere:

<meta content='0;url=http://YourAdfly/AdfocLink.com' http-equiv='refresh'/>

Once, I put the page on my index, It redirects it to my adf.ly or adfoclink.com link, they pass it, i get paid. then they redirect to forum...

So, My questions are:

  1. How do I redirect my index page to adf.ly link only once!!. When he closes the tab, He have to then pass the link again, if on same tab, then not
  2. Where do I put the code I gave
That code will do it forever, so once he passes the index page, goes to your ad site, and then comes back it'll do the same thing over and over again.

You'd place this code inside your theme's templates, ungrouped templates, and in the "headerinclude" template.
thank but how apkmania.co did it?