Post Reply 
Redirecting URLs using variables
Feb. 15, 2013, 05:37 PM
Post: #3
RE: Redirecting URLs using variables
Both of those work when the user name is at the end of the URL, like in my example.
But I've found they do not redirect when the links to the user page have additional text on the end such as:
http://www.youtube.com/user/mesmerlotus?feature=watch
But I got it to work by adding a 2nd redirect:
Code:
www.youtube.com/user/\1\?feature=watch      $RDIR(http://www.youtube.com/user/\1/videos?view=0)
I suppose I could keep adding them for each new link style.

Several things I don't understand:
Why does the AND symbol separated by spaces cause the text after "user/" to be matched?

Why would filling the variable be in question at all? I thought it would only be triggered if text existed after "user/". If the text is there, how can it not be seen?
Since this goes in the Exceptions-U list, I'm confused about why you mentioned "Depending on where the code is." Lists don't search through html & css like a filter, do they? I thought it would only catch the URL if it were actually requested.
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: