The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Remove duplicate content due to &order=desc in forumdisplay pages urls Details »» | |||||||||||||||||||||||||||
Remove duplicate content due to &order=desc in forumdisplay pages urls
Developer Last Online: Sep 2019
This modification I searched a lot about it and posted here in vbulletin.org but nobody seemed to know how.
Until I posted this thread the only forums who have pagination directly without "&order=desc" in forumdisplay urls was my forum and Digital point forum where I also asked and no body answered. 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>«</strong> $vbphrase[first]</a></td></if> <if condition="$show['prev']"><td class="alt1"><a class="smallfont" href="$address<if condition="$prevpage != 1">&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>"><</a></td></if> $pagenav <if condition="$show['next']"><td class="alt1"><a class="smallfont" href="$address&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>">></a></td></if> <if condition="$show['last']"><td class="alt1" nowrap="nowrap"><a class="smallfont" href="$address&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>»</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 --> pagenav_pagelink Replace existing code with : [UPDATED] Code:
<!-- 100fm6.com SEO --> <td class="alt1"><a class="smallfont" href="$address<if condition="$curpage != 1">&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 --> pagenav_pagelinkrel Replace existing code with : Code:
<!-- 100fm6.com SEO --> <td class="alt1"><a class="smallfont" href="$address<if condition="$curpage != 1">&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 --> yours http://www.nmisr.com/ If you like this mod do not forget to nominate and mark as installed Show Your Support
|
Comments |
#2
|
|||
|
|||
thank you for this mod i will try it thank you
|
#3
|
||||
|
||||
any body installed b4 this post must rebuild pagenave_pagelink
|
#4
|
||||
|
||||
Thanks!
|
#5
|
||||
|
||||
sound good... "more info well be nice"
|
#6
|
||||
|
||||
thank you
تسلم يا عبووود |
#7
|
||||
|
||||
Quote:
if You can not understand visit a forumdisplay page on this forum and another one on my forums see how paging goes 1 2 3 11 50 > last and so on see difference in urls |
#8
|
|||
|
|||
Thanks.
I was looking for something like this. Installed. |
#9
|
|||
|
|||
Any Demo for that.....
|
#10
|
|||
|
|||
Very Nice! Excellent mod
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|