Hi Guys
Don't know if you can help and I know it is not PT related so I may get a slapped wrist!
I have software that emulates YouTube and I want to convert (if possible) a URL e.g. http://www.example.com/wp-content/plugins/beauty/?site=Example+Site to an actual video URL such as mp4 etc.
Any ideas would be appreciated.
By the way the software is on the same site as my PT files.
Regards
Delboy
(Edit: examplified)
Hi Delboy,
You could pop a re-write rule into your top level .htaccess I would have thought. Most media players actually ignore file extensions and inspect the data stream for format detection however you may need to take care the extension you use in the rewrite does match the format; but it would be something like this:
RewriteRule ^videos/(.*).mp4$ wp-content/plugins/beauty/?site=$1 [L]
So the above would rewrite
/videos/Example+Site.mp4
into
/wp-content/plugins/beauty/?site=Example+Site
Hope this points you in the right direction!
Cheers,
David.
--
PriceTapestry.com