I am having some trouble finding away so I can give out a short url which will forward you to a long url.
http://localhost:8080/music/modules.php?name=Music&op=artist&idartist=8 ==> http://localhost:8080/music/exampleartist
I haven't got an idea how to do this so any help will be appreciated.
Not sure if this is what you want: TinyURL
if you just want to redirect because of a new location for that content, or to shorten/change a uri you can use htaccess for a mod rewrite (google).
if you are accepting variables through a query string like (artist=8), you can have php get some info from a database like (exampleartist) and then do a header redirect (google)
I use this script. It was created to hide affiliate links but can do exactly what you want. It's VERY easy to use.
I also have one that's written in Perl, if you're interested.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)