Post Reply 
Redirecting URLs using variables
Feb. 14, 2013, 10:59 PM
Post: #1
Redirecting URLs using variables
I'm having trouble getting URLs to redirect when using replacement variables.
For example, on Youtube's user channel pages the default is to show only "featured" videos. Instead, I'd rather it redirect to the URL showing all videos (that you get by clicking "browse videos")

Sample URLs: The first URL is the default, the second shows all vids

http://www.youtube.com/user/0zMovies
http://www.youtube.com/user/0zMovies/videos?view=0

It redirects if you use a channel name:
Code:
www.youtube.com/user/0zMovies     $RDIR(http://www.youtube.com/user/0zMovies/videos?view=0)

But doesn't with a variable:
Code:
www.youtube.com/user/\1     $RDIR(http://www.youtube.com/user/\1/videos?view=0)
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
Redirecting URLs using variables - zoltan - Feb. 14, 2013 10:59 PM
RE: Redirecting URLs using variables - JJoe - Feb. 15, 2013, 03:29 AM
RE: Redirecting URLs using variables - zoltan - Feb. 15, 2013, 05:37 PM
RE: Redirecting URLs using variables - JJoe - Feb. 16, 2013, 05:33 AM
RE: Redirecting URLs using variables - zoltan - Feb. 17, 2013, 06:31 AM
RE: Redirecting URLs using variables - JJoe - Feb. 17, 2013, 07:37 PM
RE: Redirecting URLs using variables - zoltan - Feb. 18, 2013, 04:26 AM
RE: Redirecting URLs using variables - JJoe - Feb. 18, 2013, 04:13 PM

Forum Jump: