1.11M Members

mod_rewrite question

 
0
 

Hello, i have a question about mod_rewrite.
I have the following url: www.example.com/listen.php?title=U2_with_or_without_you&youtube_video_id=hTgnDLWeeaM

Now, i want to rewrite it like this:

www.example.com/U2_with_or_without_you->hTgnDLWeeaM

Now, my question is, since i can't use the caracters - or _ as separators between the get parameters, it is "safe" to use -> ? Is it standard? I don't want to interfere with other websites, if the link will be bookmarked on facebook, or added as link in a youtube description, or anything else...

What do you say?

 
0
 

No, it's not safe to use angle brackets in links because they might interfere with HTML coding and they definitely will in a lot of websites programmed by lesser geniuses.

 
0
 

I see.
Do you have in mind something else?

 
0
 

Just out of curiosity, why do you need the id in the URL still?
I'm not sure about the tilde. Apache seems to use it to indicate user directories.

 
0
 

is use the id in order to embed a specific youtube video via jw player
so if i have the following id in the url: hTgnDLWeeaM
the player will embed this video: http://youtube.com/watch?v=hTgnDLWeeaM
i need it in the Url...

 
0
 
You
This article has been dead for over six months: Start a new discussion instead
Post:
Start New Discussion
View similar articles that have also been tagged: