how to mask redirects?

by csrpj
3 replies
i have URL that redirect to my affiliate link.

so mysite.com redirects to affiliatesite.com/?ref=myusername

but i want my site to redirect to affiliatesite.com without the "?ref=myusername" shown.

is there a way to do this?
#mask #redirects
  • Profile picture of the author tpw
    You can either use htaccess on your website, if you are hosted on a Unix/Linux server with the apache server installed. Just find a good tutorial on htaccess and it will come together for you.

    If you have cPanelX, you could just use the Redirect function to build your redirects.

    If you know PHP, then you can use:

    header ("Location: http://YourNewUrl.com");
    Signature
    Bill Platt, Oklahoma USA, PlattPublishing.com
    Publish Coloring Books for Profit (WSOTD 7-30-2015)
    {{ DiscussionBoard.errors[2248980].message }}

Trending Topics