Hướng dẫn Rich Video Snippets cho Drupal sites

Hướng dẫn Rich Video Snippets cho Drupal sites

This guide shows you how to easily enable rich video snippets for your Drupal site using Wistia.

Why Rich Video Snippets?

Rich video snippets can make the search engine results more appealing for your website pages that contain video. This increases the chance of potential visitors clicking through from the search engine to your or your clients’ website. More visitors in general means more revenue, so enabling the ability for rich video snippets on a website could potentially result in more revenue for its owner. 

If you don’t learn how to enable rich snippets on your Drupal website you will not learn an important part of how to take full advantage of a sites’ visitor and revenue potential. If you’re building websites for clients that want to maximize revenue potential and you don’t learn how to do tthat chances are your client will look for a competitor who can. Most of us may not realize this, but rich video snippets for Drupal sites are a huge opportunity for website owners and Drupal site builders.

What are Rich Video Snippets?

Rich snippets provide webmasters with the ability to add useful information to their search engine result snippet.
The purpose of the rich snippet is to present users with more information about the content that exists on a page, so that they can better decide which result is most relevant for their query.
If you provide search engines with the proper information you increase the chance of having a search result like in the example below. Note there’s an image grabbing your attention when the rich video snippet is shown.
 
Regular Search Engine Result:
Regular snippet on SERP
 
Search Engine Result with Rich Video Snippet:
Rich Video Snippet on SERP

How to enable Rich Video Snippets in Drupal

There are several ways to enable rich video snippets on a website. In this tutorial I’ll show you a way that only requires two basic steps. As a small company we don’t have the resources to do the video hosting ourselves so we’re using a third party video hosting provider to host our videos. In our case Wistia provides us with the tools we need to easily enable the ablility for video snippets to apear for our Drupal sites. On the Drupal side all we need to do is add a line of text to your robots.txt file and add a bit of embed code to the page. It’s really easy. Wistia provides you with both. You can learn about where to get that information from the Wistia site in the video below. You’ll need a Wistia account to apply this method, so register one for free if you haven’t got one yet. 

Step by step Drupal implementation

So let me show you how that works in Drupal. I’m using a clean Drupal 7 installation in the example - basically the same steps apply to older and newer Drupal versions.
 

Step 1 - enable the Robotstxt module.

Enabling Robotstxt module in Drupal

Go to the module’s configuration page at example.com/admin/config/search/robotstxt and add the line of text you got from Wistia in there. Now go back to the Wistia site and verify this domain.

Make sure to double check if search engines have access to your robots.txt file, as this is key to having the rich video snippets show up in the search engines. Also make sure to empty the cache if you’re using caching mechanisms like Varnish.

Step 2 - Add the SEO embed code

We’ll add the SEO embed code to the site so your video is shown to the user and the search engine bots can read the snippet. The easiest way is to paste the embed code in the node’s body field. You could create a separate field for the embed code if you like. Whatever you choose to do - make sure your text format is set to Full HTML. 

Enjoy your work*

That’s it, you’re done. The possibility for pretty search engine video result snippets to apear in search engines is now activated. Remember that search engines decide on a query to query basis if the rich snippet is shown. Enabling the technical ability on your site is one thing, having them appear for every query is a different game.

Test your work*

You can test if the rich snippet information is correctly provided by using tools like Bings markup validator or Googles structured data testing tool. It could take a while before the rich video snippet information shows up as it takes a while for a search engine to read your updated robots.txt file.

* = optional but recommended steps

the Wistia side of things

Have a look at the video below to watch a video tutorial about the Wistia side of things.

Is there a module for that?

Not yet, but Media Wistia module could use your help to integrate more of Wistia’s API with Drupal.

Video SEO Resources

In the section below you can find links to several tools and important resources regarding rich video snippets.

Creating an Online Video Strategy
 
An SEO's Guide to Video Hosting and Embedding
 
Wistia on video SEO
 
Rich Snippet testing tools

More from you?

If you happen to know more great resources about Drupal and Video SEO or happen to be knowledgable in this area yourself? - please share below. Thanks in advance!

Bạn thấy bài viết này như thế nào?: 
No votes yet
Ảnh của Tommy Tran

Tommy owner Express Magazine

Drupal Developer having 9+ year experience, implementation and having strong knowledge of technical specifications, workflow development. Ability to perform effectively and efficiently in team and individually. Always enthusiastic and interseted to study new technologies

  • Skype ID: tthanhthuy

Tìm kiếm bất động sản

 

Advertisement

 

jobsora

Dich vu khu trung tphcm

Dich vu diet chuot tphcm

Dich vu diet con trung

Quảng Cáo Bài Viết

 
Microsoft thắt chặt cấp phép bản quyền Windows 8?

Microsoft thắt chặt cấp phép bản quyền Windows 8?

Một loạt các slide trình diễn bị rò rỉ trên mạng đã tiết lộ thông tin về OEM Activation mới trên Windows 8 được thiết kế để gây khó khăn cho việc kích hoạt bản quyền bất hợp pháp trong hệ điều hành mới của Microsoft.

Màn hình webcam bi nguoc

Sửa lỗi webcam bị ngược trên máy tính chạy hệ điều hành Windows

Có rất nhiều câu hỏi về Webcam máy vi tính bị ngược, nguyên nhân do đâu? Lỗi Webcam bị ngược là khi bạn sử dung camera để quay lại màn hình máy tính

Tìm hiểu về mô hình kinh doanh của Amazon.com

Tìm hiểu về mô hình kinh doanh của Amazon.com

Khi biết tốc độ phát triển của Internet là 2300%/năm vào những năm đầu thập kỷ 90, mặc dù không có kinh nghiệm về bán hàng cũng như không nhiều hiểu biết về Internet nhưng Jeff Bezos –

Tomdesgin.vn

 

Drupal Services