Embed code redirection

Seek help running and customizing Nuevoplayer Please do not post bug reports, or feature requests here.

Embed code redirection

Postby dargre » Wed Sep 07, 2011 3:46 pm

It may happen that after Nuevoplayer update your old embed code is different than new embed code.
Then if you remove old Nuevoplayer installation or old embed code was not working because of already reported Adobe Flash Player plugin update - your player will not work on websites it was embedded once.

However semi experienced webmaster should easily build REWRITE RULE for .htaccess file, so old embed code URL is redirected to new player.

Here's example of such rule for some old player configuration.
Let's say that your old player file was located in "nvlab/player" directory and fle "econfig.php" in "nvlab" directory,
new player file and econfig.php file is located now in "nuevo" directory.

The rules to put in .htaccess file will be:
Code: Select all
RewriteRule ^nvlab/econfig.php?(.*) http://www.yourdomain.com/nuevo/econfig.php?%{QUERY_STRING} [L]
RewriteRule ^nvlab/player/nvplayer.swf?(.*) http://www.yourdomain.com/nuevo/player.swf?%{QUERY_STRING} [L]

Of course your old embed code can be different, this is only direction how to do redirection.
Thanks.
Thank you,
Nuevolab Team
dargre
 
Posts: 331
Joined: Mon Sep 07, 2009 3:47 am

Return to Troubleshooting & 'How Do I' Questions

Who is online

Users browsing this forum: No registered users and 0 guests

cron