1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Best way to hide URL

Discussion in 'HTML & Website Design' started by jasonsc, Jun 5, 2007.

  1. #1
    Hello,

    I was wondering what is the best way to display a site of someone alse and have your url in browser? For example I work with an affiliate program and I want people to bookmark my URL, not theirs and also try to make it look like it is still my site (affiliate site is co-branded).

    Now I use frams with one frame set on top and I make size of this frame only 1 pix, and than their site displays in main window. Is this good option, or is there any better alternative?

    Reps given for all legitimate answers.
     
    jasonsc, Jun 5, 2007 IP
  2. Wicked Sushi

    Wicked Sushi Peon

    Messages:
    45
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Yeah, it sounds like doing the frame thing would be the best option for you.
     
    Wicked Sushi, Jun 5, 2007 IP
    jasonsc likes this.
  3. NITRO23456

    NITRO23456 Well-Known Member

    Messages:
    516
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    110
    #3
    For what you are trying to achieve I would suggest using frames as well
     
    NITRO23456, Jun 5, 2007 IP
    jasonsc likes this.
  4. sunnysea

    sunnysea Peon

    Messages:
    229
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Most of the merchants don't allow frames. I used that few years ago, they send me warning about that.
     
    sunnysea, Jun 5, 2007 IP
    jasonsc likes this.
  5. Katy

    Katy Moderator Staff

    Messages:
    3,490
    Likes Received:
    513
    Best Answers:
    7
    Trophy Points:
    355
    #5
    You could simply rewrite the URL with mod_rewrite. ;)

    So that if someone clicks on alien.com they see human.com in the URL bar.

    Google for some tutorials.
     
    Katy, Jun 5, 2007 IP
    jasonsc likes this.
  6. b-directory

    b-directory Peon

    Messages:
    66
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #6
    This is now blocked in some newer browsers due to the use of this in phishing sites. It is frowned upon.
     
    b-directory, Jun 5, 2007 IP
    jasonsc likes this.
  7. Katy

    Katy Moderator Staff

    Messages:
    3,490
    Likes Received:
    513
    Best Answers:
    7
    Trophy Points:
    355
    #7
    I'm using that on my site and it works perfectly in all browsers, both new and old. :p
     
    Katy, Jun 5, 2007 IP
  8. BLaZeR

    BLaZeR Peon

    Messages:
    1,567
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Use a php code in a php file.
    Rename site.com to the site you want the php file to redirect to.
     
    BLaZeR, Jun 6, 2007 IP
    jasonsc likes this.
  9. selbourne

    selbourne Peon

    Messages:
    465
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Note ...that i had tried doing this with one affiliate program. Later I realised that no registrations were registered against my name. It was then that the affilate informed me that their program could not track my affilate id if it was put in frames.
    The solutions would really depend on how their back end would have been developed.
    So you could use FRAMES, IFRAMES, POP-UPs
     
    selbourne, Jun 6, 2007 IP
    jasonsc likes this.
  10. jasonsc

    jasonsc Well-Known Member

    Messages:
    1,696
    Likes Received:
    56
    Best Answers:
    0
    Trophy Points:
    165
    #10
    Thanks for your help, I guess I'll go with frames, sice it is simple and it worked for me in the past.

    Reps given to everyone.
     
    jasonsc, Jun 6, 2007 IP