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

Dynamic URL Enquiry..

Discussion in 'Cloaking and Content Generators' started by zackm, Jun 6, 2015.

  1. zackm

    zackm Junior Member

    Joined:
    Dec 11, 2010
    Messages:
    146
    Likes Received:
    26
    Hi, I have a question for technical people here:

    How do I create a dynamic URL? Via index file or via htaccess?

    Example,

    1) User visits www.mywebsite.com/abdkjfalsdf

    2) But this URL doesn't actually exist

    3) Therefore, user will get redirected but I still want www.mywebsite.com/abdkjfalsdf to be the referral URL

    4) It can be redirected to a static page but the referral URL has to be the site that user types in. In this case, www.mywebsite.com/abdkjfalsdf


    Is there a way to do it?
     
  2. hidedora

    hidedora Regular Member

    Joined:
    Sep 21, 2011
    Messages:
    213
    Likes Received:
    35
    Probably it can be done with an http referer parameter if you make a php script that does that. What benefit would you have from that?
     
  3. shuttershades

    shuttershades Junior Member

    Joined:
    Oct 26, 2013
    Messages:
    119
    Likes Received:
    37
    Home Page:
    I have done that with WP plugin...is 404 redirect.
     
  4. PJones69

    PJones69 BANNED BANNED

    Joined:
    May 11, 2015
    Messages:
    13
    Likes Received:
    3
    redirect all 404's to a PHP script which loads up the correct page.

    It can be done with htacess.
     
  5. zackm

    zackm Junior Member

    Joined:
    Dec 11, 2010
    Messages:
    146
    Likes Received:
    26
    How about the referrer? Do u have a sample PHP file for this?

    I'm not looking for a redirect but rather a dynamic URL which will be the referrer..
     
  6. zackm

    zackm Junior Member

    Joined:
    Dec 11, 2010
    Messages:
    146
    Likes Received:
    26
    Hi hideora,

    I don't want my aff manager to know my source of traffic and keywords used. But at the same time, I want to track the keywords performance myself.

    So, each keyword will have a unique URL.

    The current setup I have is setting up the unique URLs one by one as static pages.

    I was wondering if this can be done dynamically or there would be millions of files in future if I were to expand on the keywords.

    Thanks..
     
  7. zackm

    zackm Junior Member

    Joined:
    Dec 11, 2010
    Messages:
    146
    Likes Received:
    26
    Anybody else? Somebody?

    Nobody?
     
  8. TrafficWizard

    TrafficWizard Junior Member

    Joined:
    Aug 22, 2014
    Messages:
    161
    Likes Received:
    28
    Home Page:
    htaccess rewrite url !

    I used custom htaccess to redirect for dynamic url's to better index page and mask links to search engines. Tho I used It as BH methdod, site is running for 7 months and still no bans from G (I have made few modifications to hide/generate/redirect a lof of shit on my site to make it traffic effecient :))) )

    If you want part of htaccess PM with description wount give all out but can help you with small code snipper :)
     
  9. bigBozz

    bigBozz Newbie

    Joined:
    Jun 9, 2015
    Messages:
    24
    Likes Received:
    2
    Probably something like this...

    PHP:
    <?php 
    header
    ("Location: /myaffilate-section?some-affiliate-url-var-name=" $_SERVER['REQUEST_URI']);
    ?>
    Replace /myaffilate-section?some-affiliate-url-var-name= with the url you want to go to.

    $_SERVER['REQUEST_URI'] will contain the /abdkjfalsdf string.
     
  10. zackm

    zackm Junior Member

    Joined:
    Dec 11, 2010
    Messages:
    146
    Likes Received:
    26
    Hey thanks but I don't really get this.. Where will the default page be located at?

     
  11. zackm

    zackm Junior Member

    Joined:
    Dec 11, 2010
    Messages:
    146
    Likes Received:
    26
    Anybody? Somebody?

    Here is basic idea what I'm trying to achieve.

    User types http://myURL.com/abcde

    myURL.com/abcde --> http://my2ndURL.com/blankreferer/?http://myURL.com/zgo/abcde


    If user types http://myURL.com/gsdfgsdf

    myURL.com/gsdfgsdf --> http://my2ndURL.com/blankreferer/?http://myURL.com/zgo/gsdfgsdf


    They will all lead to the same page:

    http://my2ndURL.com/blankreferer/?http://myURL.com/zgo/gsdfgsdf --> http://affiliatewebsite.com
    http://my2ndURL.com/blankreferer/?http://myURL.com/zgo/abcde --> http://affiliatewebsite.com


    I would like to know how to do the redirect in htaccess and also what would be inside the /zgo directory? Example index php file or what?


    Thanks..
     
  12. qcp860

    qcp860 Jr. VIP Jr. VIP

    Joined:
    Dec 16, 2008
    Messages:
    256
    Likes Received:
    82
    Gender:
    Male
    Occupation:
    marketing
    Location:
    PA
    Home Page:
    Using a cloaking and any of the better trackers can do this for you. With the scenario you mentioned you could detect an empty referrer (type-in traffic) or just use the cloaker's servers.

    The flow is cloaked domain --> p202 link (with referrer blanking) --> offer

    Where "p202" is Prosper202, a popular opensource tracking tool. You can equally use iMobiTrax, CPVLab, etc.