homepage Welcome to WebmasterWorld Guest from 54.167.249.155
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
Hiding Video Through mod rewrite
I have to hide my actual video link
sweetguyzzz




msg:3931763
 4:26 am on Jun 12, 2009 (gmt 0)

Hi

I am trying to make my video links hidden from users and also from google BOT to not crawl directly my video links

Now I am using the embed code for playing video like this
<embed height='240' width='320' src='www.example.com/videos/videoplayer.swf?videolink=videoname.flv'></embed>

but the google crawler crawl my this link www.example.com/videos/videoplayer.swf?videolink=videoname.flv and I do not want it to published in front users so is there any way through mod_rewrite to write my URL like

www.example.com/videos/player-videoname

these URLs are not typed in browser address bar but are present in page and called from page not through browser address bar request.

Waiting for answer please reply
Will be very thankful to the helpers

 

jdMorgan




msg:3932125
 3:04 pm on Jun 12, 2009 (gmt 0)

Again, it is the links on your pages that determine what Googlebot crawls.

Here is one method to address the problem of protecting videos:

  1. Modify your page-generation script to use the URLs you want users and search engines to 'see' in the on-page links.
  2. Modify your page-generation script to create a short-time or session cookie when the 'view video' page(s) on your site is visited.
  3. Change the link on your page to point to a 'video serving' script.
  4. Write the 'video serving' script to check the cookie set above, and serve the video only if the cookie is set by "including" the video as a file and outputting it to the visitor's browser.
  5. If the cookie is not set, generate a redirect to the 'view videos' page.
Jim
sweetguyzzz




msg:3932258
 5:37 pm on Jun 12, 2009 (gmt 0)

Ok I understand some of what you are saying but I have no idea about it that how it could be done

I think you said that the video link which is placed on page is actually supported to a real link and this link have conditions which is set in cookies like if the member is not registered so he or she can not watch this video

but in all of these things I can not understand how to forward link to the real link of video like my video is basically placed in the same folder where my VIDEOPLAYER.swf file is so the video link which is placed in <embed> tag is the
../folder/videoplayer.swf?videolink=video-loacation.flv
and I want it to be this
../folder/player-videoname (this can be seen by google bot or visitors and it can be placed in my embed tag and its basically have back hand to)
../folder/videoplayer.swf?videolink=video-loacation.flv

So can you please tell me the script which can do this and with explanation it will me more useful and helpful for me.....
I will be very thankful to you
Thanks in advance

jdMorgan




msg:3932273
 5:48 pm on Jun 12, 2009 (gmt 0)

This is not a simple subject, and would require hours (or possibly days) of work to "tell you the script." You will need to try searching on-line for existing scripts which you can purchase, spend some time researching and studying and then do it yourself, or hire a programmer to write a custom solution for you.

This forum is intended primarily for discussion [webmasterworld.com], and is not s 'free support desk' or a 'free code-writing service.' Everyone here is an un-paid volunteer, so when there is work to be done pertaining to your question or problem, you are expected to do most of it. The contributing members here will be happy to help with answers to specific, tightly-focused questions.

Jim

sweetguyzzz




msg:3932280
 5:55 pm on Jun 12, 2009 (gmt 0)

SO I am just asking that mod_rewrite has capability to do this work?

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved