Sign up FREE & get 250 points
 More options
Points2Shop Forums » Referral Talk » How to create your own short url in php
Created: 2011-03-17 23:51:17
UK diamond
Points2shop is my specialty
Total posts: 1200
Total Earnings: $832.3
Many people use url shortening tools not realising they are not very well liked by both search engines and users. I have always done my own using php and here is exactly how to do it for those who are unsure how to create their own short urls using php

make a file in notepad and name it for example "join.php"

enter the code on this page

and save

simply replace username with your own username and it will redirect all users who visit to p2s as your referral
US (GA) platinum
Half way there
Total posts: 723
Date of Birth: 1997-03-30
Total Earnings: $210.01
Very nice. Sticky anyone?
US (NE) gold
Senior Poster
Total posts: 152
Date of Birth: 1969-11-23
Total Earnings: $17.38
This looks cool, im going to try it out.
UK elite
Why stop now?
Total posts: 899
what is it, i dont understand?
US (CA) elite
Points2shop is my specialty
Total posts: 1063
Date of Birth: 1992-11-18
Total Earnings: $574.53
just looked it up so weebly users can do it too (i got a unpublished error when i tried the php file and uploading it) though it requires a new page...

make a html thing only and put ehhh seems to have been deleted after post.. so nvm

the code can b found here


sorry if codes aren't allowed here ill take it down if its not.. dont use the forums to much but it is a nice thing to know =]

DivenPatel, it redirects the user clicking on the link without saying w/e it is lol so you can make it look like something else and not a ref link and without shortening the link using something like

You are not logged in.

Chat History

will load when you scroll to the bottom