mod_rewrite with ? in the original URL like YouTube
问题 Ok I want to simulate the YouTube URL and redirect it to my real URL. Reason being is I used a random string to make video ID's so they aren't guessable by sequence. I have the links as so http://www.mysite.com/watch?v=Dxdotx3iT1 and want to redirect to http://www.mysite.com/index.php?page=videos§ion=view&v=Dxdotx3iT1 Can't seem to figure out the mod rewrite. Also using a ? I believe tells it to do something. Any help would be appreciated. 回答1: You need to adjust your RewriteRule to