1

I have over 10k videos hosted on my server, and I'm using lighttpd to switch the video URLs every 2 hours because of hotlinking protection. This means that all video URLs in video sitemap is only valid for 2 hours.

I have not much experiences of programming, and this is the source i found:

http://forum.adultscriptpro.com/viewtopic.php?id=588

After reading some comments on this question, It is possible to do that by cronjob to generate new sitemap every 2 hours.

But my another big question is, is it really important to having a video sitemap for a video website? Or i can just submit a normal sitemap.xml instead of the video sitemap?

Any suggestion or advice? Thanks!

  • 1
    If the URL is frequently changing, sitemaps aren't useful for you. – John Conde Mar 6 '14 at 0:58
  • hm... If i using CDN or Wowza, can solve this problem? – Love Mar 6 '14 at 1:03
  • How would a CDN solve this problem? – John Conde Mar 6 '14 at 1:03
  • I don't know. So, which mean video sitemap only for those website with static video URL? And not for website with CDN, wowza, lighttpd..etc? Am i correct? – Love Mar 6 '14 at 1:08
  • 1
    If the URLs of your videos keep changing, regardless of source, they aren't good candidates for sitemaps. By the time the search engines read the sitemap those videos are gone. Is there any reason why the video URLs keep changing? – John Conde Mar 6 '14 at 1:16
1

As John Conde says in the comments:

If the URLs of your videos keep changing, regardless of source, they aren't good candidates for sitemaps. By the time the search engines read the sitemap those videos are gone.

It sounds like your pages have URLs that are not changing, but your URLs for the video content is changing frequently. In that case a regular sitemap sounds like an appropriate solution.

1

If you want to prevent leeching, a better method would be to block referrers.

You can set up your server so that the video is only served when it has your site as the 'Referer' header. Or use a blacklist and only block sites as/when they become a problem.

That way your video URLs stay static and you can put them in the sitemap.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.