This post continues on from my previous one here. I broke it down so that it would not be so overwhelming for new comers to Clipshare to understand, please if you haven’t read the first part and want to know how to improve the SEO on your clipshare based video site please read part1 before continuing with this post.
It’s time to setup your channel detail pages
Step5 – the channel detail pages explained
In the clipshare siteadmin we can add a description for our channel, this is a great opportunity to add a lengthy, keyword rich relevant description that will provide both readers and search engines a guide to the videos which will be in this category (channel). So to do this we first need to create a channel specific header tpl file. In this case we will call it head_cat.tpl to first copy the head_seo.tpl file and rename to head_cat.tpl
Once copied, change;
<title>{$meta_title}</title>
<meta name="description" content="{$meta_description}" />
<meta name="keywords" content="{$meta_keywords}" />
To:
<title>{$answers[0].name} Videos | sitename</title>
<meta name="description" content="{$answers[0].descrip|truncate:160}" />
<meta name="keywords" content="{$answers[0].name|lower} videos, free {$answers[0].name|lower} videos, watch {$answers[0].name|lower} videos" />
So what this means is that each channel will have a different title, description and keywords.
For example if i had a Manchester United channel the above would translate to;
Title – Manchester United Videos | My Site name
Description – Watch all the latest manchester united football videos here with videos featuring micheal owen, alan shearer and blah blah blah blah….
Keywords – Manchester United videos, free manchester united videos, watch manchester united videos
next we need to edit the channels_detail.php page to call the new head_cat.tpl instead of it’s original head1.tpl. To do this open up channels_detail.php and change;
STemplate::display('head1.tpl');
To:
STemplate::display('head_cat.tpl');
Then upload.
So how are these generated? Well when you create a channel in the clipshare siteadmin, you are requested to enter a name for the chanel (title) and a channel description, the above code then uses that title and description to create unique page titles, description and keywords.
Adding unique content to your channels detail page
Step6 – Going that step further and adding unique content to your page
Before we’ve talked about adding unique page titles and descriptions, step6 takes your channel description and adds it straight onto the page creating some unique content for both the user and search engines. This step is optional and the following example will only work for theme’s in the Freshpack series – Allowed and Forbidden. If there is demand i’ll add the code to achieve the same result in the default themes from clipshare.
Open up channel_detail.tpl file in your editor and add;
<div class="mainBoxTitle">
<h1 class="mainBoxHeader">{$answers[0].name} Videos</h1>
</div>
<p class="catInfo">{$answers[0].descrip}</p>
</div>
What this does is add unique content to the channel_detail page itself via the descrip call which is the channel’s description, we also surround the channel name with h1 tags as it is the pages title.
If you would like some examples and css stylings for step6 let me know.
Lets index the tag pages with unique titles and descriptions
Step7 – How to index your tag pages correctly
In step7, which is optional – we will discuss how to create our tag pages with unique titles and descriptions. If you’ve decided not to index your tag pages then please do not do this step.
Create a new head_search.tpl from copying your head_seo.tpl file and change;
<title>{$meta_title}</title>
<meta name="description" content="{$meta_description}" />
<meta name="keywords" content="{$meta_keywords}" />
To:
<title>{$smarty.request.search_id|escape:'html'} Videos</title>
<meta name="description" content="A comprehensive and detailed list of {$smarty.request.search_id|escape:'html'} videos from sitename" />
<meta name="keywords" content="{$smarty.request.search_id|escape:'html'} videos, free {$smarty.request.search_id|escape:'html'} videos, amazing {$smarty.request.search_id|escape:'html'} videos, fake {$smarty.request.search_id|escape:'html'} videos" />
Remember the above it just an example, the
{$smarty.request.search_id|escape:'html'}
will display your specific tag, so for instance if your tag was funny then the title of the page would end up being – “funny videos”
Next we edit the search_results.php and change;
STemplate::display('head1.tpl');
To:
STemplate::display('head_search.tpl');
Save and upload.
Create a robots.txt file to stop indexing of your chosen pages
Step8 – A robots.txt file can stop indexing of many inner pages
Create a robots.txt file and upload it into your main directory with the following code:
Disallow: User-agent: * # disallow all files in these directories Disallow: /siteadmin/ Disallow: /cache/ Disallow: /include/ Disallow: /language/ Disallow: /tmp/ Disallow: /ajax/ Disallow: /classes/ Disallow: /templates/ Disallow: /users/ Disallow: /related/ # disallow all files ending with these extensions Disallow: /add_favour.php Disallow: /add_video.php Disallow: /captcha.php Disallow: /compose.php Disallow: /compose.php* Disallow: /confirm_email.php Disallow: /convert.php Disallow: /create_group.php Disallow: /feed_embed.php Disallow: /ffavour.php Disallow: /ffavour.php* Disallow: /friend_accept.php Disallow: /friends.php Disallow: /friends.php* Disallow: /fullscreen.php Disallow: /fvideos.php Disallow: /fvideos.php* Disallow: /inbox.php Disallow: /inbox.php* Disallow: /index.php Disallow: /invite_friends.php Disallow: /invite_members.php Disallow: /invite_signup.php Disallow: /login.php Disallow: /logout.php Disallow: /members.php Disallow: /members.php* Disallow: /more_tags.php Disallow: /msg.php Disallow: /my_favour.php Disallow: /my_favour.php* Disallow: /my_playlist.php Disallow: /my_playlist.php* Disallow: /my_profile.php Disallow: /my_vdo_edit.php Disallow: /my_video.php Disallow: /my_video.php* Disallow: /mymail.php Disallow: /nvplayer.swf* Disallow: /outbox.php Disallow: /outbox.php* Disallow: /pack_ops.php Disallow: /payment_ops.php Disallow: /payment.php Disallow: /pmt_success.php Disallow: /recent.php Disallow: /recoverpass.php Disallow: /renew_account.php Disallow: /share_video.php Disallow: /signup.php Disallow: /signup.php* Disallow: /terms.php Disallow: /test.php Disallow: /ufavour.php Disallow: /ufavour.php* Disallow: /ufriends.php Disallow: /uplaylist.php Disallow: /uplaylist.php* Disallow: /upload_success.php Disallow: /upload.php Disallow: /uprofile.php Disallow: /uvideos.php Disallow: /video.php Disallow: /view_video.php Disallow: /view_video.php* # disallow all files with ? in url Disallow:
The addition of the robots.txt essentially stops search engines from indexing two of the same pages, for instance view_video.php?viewkey=98909890 and /video/90/steven-gerards-goal/ are technically the same page, but we want the latter to be indexed and not the non-seo friendly edition.
Final tips and information
Make sure SEO url’s are turned on in the siteadmin
This guide is not an ideal fix as it creates new header files which may increase page loading times slightly, but it is a solution for the time being that anyone can apply
If you enjoyed this post why not comment below.





{ 2 trackbacks }
{ 0 comments… add one now }