Can I do this and if so how please ? Mod_Rewrite an url to a different url

Discussion in 'Apache' started by w4vy, Aug 28, 2008.

  1. #1
    Hi I was just wondereing if I could get some information regarding :-

    I use anonym.to on my server to anonymize external links, only it makes the urls look like http://anonym.to/?http://external-link.com

    Is there a way I can use Mod_Rewrite so just the external link shows in the address bar ?

    so basicaly http://anonym.to/?http://external-link.com

    changes to http://external-link.com like it would be if I didn't use anonym.to

    Thanks in advance

    w4vy
     
    w4vy, Aug 28, 2008 IP
  2. nimhost

    nimhost Active Member

    Messages:
    235
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    58
    #2
    you should make your own php code to redirect any external link on your site :)
     
    nimhost, Aug 28, 2008 IP
  3. w4vy

    w4vy Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    ANychance you can help me make one then plz or point me in the right direction ?
     
    w4vy, Aug 29, 2008 IP
  4. freerollers

    freerollers Peon

    Messages:
    185
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    not possible
     
    freerollers, Aug 29, 2008 IP
  5. nimhost

    nimhost Active Member

    Messages:
    235
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    58
    #5
    use google with keyword redirect url php script
     
    nimhost, Aug 29, 2008 IP
  6. The Universes

    The Universes Peon

    Messages:
    187
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Its not possible to do this with mod_rewrite unless you make some changes to how you point to external URLs. The easiest way, as others have said, is to simply use php to make those changes.
     
    The Universes, Aug 29, 2008 IP
  7. Whitey

    Whitey Active Member

    Messages:
    1,386
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    80
    #7
    It's not possible unless you own the redirecting site.
     
    Whitey, Aug 30, 2008 IP
  8. w4vy

    w4vy Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    what are these changes you talk about please and also I have googled around for those keywords but from what i'm reading that's not what I want to do. I just want the anonym.to hidden so the urls look better.

    Regards, w4vy
     
    w4vy, Aug 30, 2008 IP
  9. nimhost

    nimhost Active Member

    Messages:
    235
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    58
    #9
    ^

    if you want that way then the answer is CAN'T
     
    nimhost, Aug 30, 2008 IP