Back to vBulletin 3.6 Template Modifications

SEO mod.: remove &order=desc from vbulletin 3.6.x urls
Mod Version: 1.00, by abdobasha2004

This modification is in the archives.
vB Version: 3.6.x Rating: (1 vote - 5.00 average) Installs: 1
Released: 03 Sep 2009 Last Update: Never Downloads: 0
Not Supported Template Edits Re-usable Code Translations  

This modification I searched a lot about it and posted here in vbulletin.org but nobody seemed to know how.
Since I managed to know how I would like to share:
First : value of this mod. :
1- prevent duplicate content detected in Google webmaster tools.
2- gives single url for each forumdisplay page
3- SEO value : remove Duplicate urls for search engines to determine one url to index
4- higher page rank you might get for right internal linking
5- Internal linking now goes along urls in sitemap generated by vbseo sitemap generator.

Second : How to :
Find Template : :
pagenav
Replace existing code with :
Code:
<!-- 100fm6.com SEO  -->
<div class="pagenav" align="$stylevar[right]">
<table class="tborder" cellpadding="3" cellspacing="$stylevar[cellspacing]" border="0">
<tr>
	<td class="vbmenu_control" style="font-weight:normal"><phrase 1="$pagenumber" 2="$totalpages">$vbphrase[page_x_of_y]</phrase></td>
	<if condition="$show['first']"><td class="alt1" nowrap="nowrap"><a class="smallfont" href="$address<if condition="$anchor">#$anchor</if>" title="$vbphrase[first_page] - <phrase 1="$firstnumbers[first]" 2="$firstnumbers[last]" 3="$total">$vbphrase[results_x_to_y_of_z]</phrase>"><strong>&laquo;</strong> $vbphrase[first]</a></td></if>
	<if condition="$show['prev']"><td class="alt1"><a class="smallfont" href="$address<if condition="$prevpage != 1">&amp;page=$prevpage</if><if condition="$anchor">#$anchor</if>" title="$vbphrase[prev_page] - <phrase 1="$prevnumbers[first]" 2="$prevnumbers[last]" 3="$total">$vbphrase[results_x_to_y_of_z]</phrase>">&lt;</a></td></if>
	$pagenav
	<if condition="$show['next']"><td class="alt1"><a class="smallfont" href="$address&amp;page=$nextpage<if condition="$anchor">#$anchor</if>" title="$vbphrase[next_page] - <phrase 1="$nextnumbers[first]" 2="$nextnumbers[last]" 3="$total">$vbphrase[results_x_to_y_of_z]</phrase>">&gt;</a></td></if>
	<if condition="$show['last']"><td class="alt1" nowrap="nowrap"><a class="smallfont" href="$address&amp;page=$totalpages<if condition="$anchor">#$anchor</if>" title="$vbphrase[last_page] - <phrase 1="$lastnumbers[first]" 2="$lastnumbers[last]" 3="$total">$vbphrase[results_x_to_y_of_z]</phrase>">$vbphrase[last] <strong>&raquo;</strong></a></td></if>
	<if condition="$show['popups']"><td class="vbmenu_control" title="$address"><a name="PageNav"></a></td></if>
</tr>
</table>
</div>
<!-- /100fm6.com SEO  -->
Find template :
pagenav_pagelink
Replace existing code with : [UPDATED]
Code:
<!-- 100fm6.com SEO  -->
<td class="alt1"><a class="smallfont" href="$address<if condition="$curpage != 1">&amp;page=$curpage</if><if condition="$anchor">#$anchor</if>" title="<phrase 1="$pagenumbers[first]" 2="$pagenumbers[last]" 3="$total">$vbphrase[show_results_x_to_y_of_z]</phrase>">$curpage</a></td>
<!-- /100fm6.com SEO  -->
Find Template :
pagenav_pagelinkrel
Replace existing code with :
Code:
<!-- 100fm6.com SEO  -->
<td class="alt1"><a class="smallfont" href="$address<if condition="$curpage != 1">&amp;page=$curpage</if><if condition="$anchor">#$anchor</if>" title="<phrase 1="$pagenumbers[first]" 2="$pagenumbers[last]" 3="$total">$vbphrase[show_results_x_to_y_of_z]</phrase>"><!--$relpage-->$curpage</a></td>
<!-- 100fm6.com SEO  -->
thats it
yours
If you like this mod do not forget to nominate and mark as installed

Download

No files for download.

Similar Mods

Forum Display Enhancements Remove duplicate content due to &order=desc in forumdisplay pages urls vBulletin 3.8 Template Modifications

vblts.ru supports vBulletin®, 2022-2024