how to redirect url through my site

Discussion in 'Blogging' started by mega_mind, Dec 21, 2011.

  1. mega_mind

    mega_mind Junior Member

    Joined:
    Jul 27, 2011
    Messages:
    111
    Likes Received:
    32
    Hi everybody : i have a wordpress blog and i want to redirect url to other site through me site
    example i want to redirect www* example * com / othersite
    to
    www* othersite * com

    pls help me
     
  2. GimmeMoney

    GimmeMoney Regular Member

    Joined:
    Apr 19, 2009
    Messages:
    401
    Likes Received:
    511
    Create a file called goto.php in your sites root folder and paste the following code into it:
    Code:
    [COLOR=#339933]<[/COLOR]html[COLOR=#339933]>[/COLOR]     [COLOR=#339933]<[/COLOR]head[COLOR=#339933]>[/COLOR]     [COLOR=#339933]<[/COLOR]meta http[COLOR=#339933]-[/COLOR]equiv[COLOR=#339933]=[/COLOR][COLOR=#0000ff]"refresh"[/COLOR] content[COLOR=#339933]=[/COLOR][COLOR=#0000ff]"0;url=http://othersite.com"[/COLOR] [COLOR=#339933]/>[/COLOR]     [COLOR=#339933]</[/COLOR]head[COLOR=#339933]>[/COLOR] [COLOR=#339933]</[/COLOR]html[COLOR=#339933]>[/COLOR]
    
    
    Replace the url in the code with the one you want to redirect to.
     
    • Thanks Thanks x 1
  3. mega_mind

    mega_mind Junior Member

    Joined:
    Jul 27, 2011
    Messages:
    111
    Likes Received:
    32
    thank you "GimmeMoney" very much but can i use this method with many sites isn't there any auto method because i don't want to do that every time :(
     
  4. shiloskitty

    shiloskitty Newbie

    Joined:
    Jun 4, 2008
    Messages:
    34
    Likes Received:
    11
    I don't know about you, but I have HostGator, and in my c panel I can set up any domain, or sub domain as a redirect. Takes about 10 sec.
     
  5. [mcr]

    [mcr] Junior Member

    Joined:
    Sep 19, 2009
    Messages:
    116
    Likes Received:
    0
    This shouldn't be hard. Please post more details about how and where the first site is hosted.
     
  6. 1337WuLF

    1337WuLF Senior Member Premium Member

    Joined:
    Jan 3, 2011
    Messages:
    974
    Likes Received:
    395
    Occupation:
    IM
    Location:
    On a rock in space
    Yea this should work fine.

    GimmeMoney's method takes less than a minute to do and is probably the most effective method. :)
     
  7. whothefisalex

    whothefisalex Regular Member

    Joined:
    Nov 24, 2011
    Messages:
    225
    Likes Received:
    35
    why dosent this work in my godaddy hosting account
     
    • Thanks Thanks x 1