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

How to Redirect a URL?

Discussion in 'Programming' started by harryptx, Jun 17, 2017.

  1. harryptx

    harryptx Registered Member

    Joined:
    Nov 12, 2016
    Messages:
    76
    Likes Received:
    2
    I have two blogs about web design and hosting, now I am wanting to create a page like these pages

    Code:
    https://forumweb.hosting/top-quality-best-web-hosting.html
    http://www.webhostingsecretrevealed.net/choose-the-right-web-hosting/
    the design for my page is going to be complete, just a small problem is I want to create a redirection for my url like this

    for example, when I click on the link

    /go/unidenhosting
    /go/hostbastic
    ...

    then it will be redirected to targeted site.

    What methods do I need to do to have that?


    Thanks in advance.
     
  2. LostLife

    LostLife Regular Member

    Joined:
    May 12, 2017
    Messages:
    210
    Likes Received:
    259
    Gender:
    Male
    Occupation:
    Software Engineer
    As far as i understand u want url shortening on ur website url. Do want something like below:
    You click a link (example:www.mysite.com/go/othersite),
    It will go to another website and which is dynamic link and it gets that redirect website link from the database.
    Do u want something like this?
    If u do u can find lots of php url shortener script on google. Just search "php url shortner script" on google.
     
  3. 55trillion

    55trillion Junior Member

    Joined:
    Sep 27, 2015
    Messages:
    114
    Likes Received:
    22
    Occupation:
    Financial Trader
    Location:
    India
    <a href=" "> :cool: