Time2Dine.co.nz is Online Restaurant Booking
 
 New Zealand Restaurants Forum
Restaurant Forum | Contact Time2Dine | Book Online & Save | About Time2Dine

Go Back   New Zealand Restaurants & Food Forum > Search Engine Optimisation > SEO vBulletin
Register

Reply
 
LinkBack Thread Tools
  #1  
Old 19th Jan 06, 03:41 PM
T2DMan's Avatar
Administrator
 
Join Date: Apr 2004
Location: Auckland, New Zealand
Posts: 7,833
T2DMan is on a distinguished road
Default Reviewpost SEO

vBulletin Reviewpost SEO version 2.8.2 (current version is 3.1.1) - In the course of my SEO'ing of vBulletin, I get to SEO the associated packages.

Make sure that you have the spider friendly url's option on:
Settings - Edit options - Global options
option: Use Spider-friendly URLs?

Issues -

  • all the titles are around the wrong way corrected
  • and the meta descriptions are all the same - same as the default vBulletin meta description. corrected
  • and the html could do with some better validating - a number of errors, but not really worth correcting - I have greped to find a few in the code like <img 's not closed />, plus other issues
  • There is no firstwords section.
  • The h1 is set as the main forum - should be each pages info - not fixed
  • with the spider friendly url's, there are a number of duplicate url's

    like

    showcat.php/cat/10/page/1

    should be showcat.php/cat/10/



    and

    /showproduct.php/product/3/cat/8

    which is also

    /showproduct.php/product/3

reviews/admin-inc.php

find:
Code:
<title>{$Globals['galleryname']} - {$titlereplace} - Powered by ReviewPost
replace with:
Code:
<title>{$titlereplace} - {$Globals['galleryname']} - Powered by ReviewPost
reviewpost classifieds
/reviews/pp-inc.php

replace:
Code:
$theader = str_replace( "<head>","<head><title>{$Globals['galleryname']} - {$titlereplace} - Powered by ReviewPost Classifieds</title>", $theader);

 		 print "$theader $contentmeta $nocachetag $headtags $javapopup $headslide";

Code:
$head="<head><title>{$titlereplace} - {$Globals['galleryname']} - Powered by ReviewPost Classifieds</title>";
		$head.="
<meta name=description content='See {$titlereplace} on our {$Globals['galleryname']}' />
$contentmeta
$nocachetag
$javapopup";
		$theader = str_replace( "<head>",$head, $theader);

			print "$theader  $headtags  $headslide";

Add in the following plugin:
Code:
<?xml version="1.0" encoding="ISO-8859-1"?>

<plugins>
	<plugin active="1" product="vbulletin">
		<title>Reviewpost SEO</title>
		<hookname>parse_templates</hookname>
	 <phpcode><![CDATA[if(strstr($HTTP_SERVER_VARS['SCRIPT_NAME'],"showcat.php" ) or strstr($HTTP_SERVER_VARS['SCRIPT_NAME'],"showproduct.php" )) $reviewpost=true;]]></phpcode>
	</plugin>
</plugins>

and update the headinclude template to be the following:
Code:
<if condition="THIS_SCRIPT=='member' or $reviewpost"><else />

Last edited by T2DMan; 19th Jan 06 at 10:45 PM.
Reply With Quote
  #2  
Old 19th Jan 06, 10:44 PM
T2DMan's Avatar
Administrator
 
Join Date: Apr 2004
Location: Auckland, New Zealand
Posts: 7,833
T2DMan is on a distinguished road
Default Duplicate url's

Find in showcat.php

Code:
 	 if ( $Globals['spider'] == "yes" ) $tplink[$tpfound] = "{$Globals['maindir']}/showproduct.php/product/{$tpphoto[$tpfound]}/cat/{$tpcat[$tpfound]}";
		else $tplink[$tpfound] = "{$Globals['maindir']}/showproduct.php?product={$tpphoto[$tpfound]}&amp;cat={$tpcat[$tpfound]}";
the categories are not needed, and just cause duplication of the url's

replace with

Code:
 	 if ( $Globals['spider'] == "yes" ) $tplink[$tpfound] = "{$Globals['maindir']}/showproduct.php/product/{$tpphoto[$tpfound]}";
		else $tplink[$tpfound] = "{$Globals['maindir']}/showproduct.php?product={$tpphoto[$tpfound]}";


index.php- the /index.php is not needed

replace
Code:
$childnav = "<span class=\"small\"><a href=\"{$Globals['maindir']}/index.php\">{$Globals['pp_lang']['home']}</a> $childnav</span>";
with
Code:
$childnav = "<span class=\"small\"><a href=\"{$Globals['maindir']}/\">{$Globals['pp_lang']['home']}</a> $childnav</span>";
pp_inc.php - pagination duplicate when page one

replace
Code:
 				 if ( $Globals['spider'] == "yes" )
					 $childnav = strip_empty("> <a href=\"{$Globals['maindir']}/showcat.php/cat/$parid/page/$page\">$tusername</a> $childnav");
					else
					 $childnav = strip_empty("> <a href=\"{$Globals['maindir']}/showcat.php?cat=$parid&amp;page=$page\">$tusername</a> $childnav");
with
Code:
 				 if ( $Globals['spider'] == "yes" ) {
					 if($page<>1) $xpage="/page/$page"; else $xpage="";
		 			$childnav = strip_empty("> <a href=\"{$Globals['maindir']}/showcat.php/cat/$parid{$xpage}\">$tusername</a> $childnav");
						
					 } else {
					 if($page<>1) $xpage="&amp;page=$page"; else $xpage="";
		 			$childnav = strip_empty("> <a href=\"{$Globals['maindir']}/showcat.php?cat=$parid{$xpage}\">$tusername</a> $childnav");

showproduct.php

change
Code:
 $childnav = "<span class=\"small\"><a href=\"{$Globals['maindir']}/index.php\">{$Globals['pp_lang']['home']}</a> $childnav</span>";
to

Code:
 $childnav = "<span class=\"small\"><a href=\"{$Globals['maindir']}/\">{$Globals['pp_lang']['home']}</a> $childnav</span>";
showcat.php

change
Code:
$childnav = "<a href=\"{$Globals['maindir']}/index.php\">{$Globals['pp_lang']['home']}</a> $childnav";
to
Code:
$childnav = "<a href=\"{$Globals['maindir']}/\">{$Globals['pp_lang']['home']}</a> $childnav";
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Zen Cart SEO T2DMan osCommerce SEO 5 22nd Jan 10 05:55 AM
Photopost SEO T2DMan SEO vBulletin 10 16th Mar 07 02:55 PM
SEO vBPortal T2DMan SEO vBulletin 1 14th Jul 06 02:13 PM
Clients fail to follow SEO recommendations T2DMan Google 0 7th Oct 05 06:10 AM
SEO vBulletin T2DMan SEO vBulletin 0 15th Feb 05 02:33 PM



Powered by: vBulletin Copyright ©2000 -2010, Jelsoft Enterprises Limited.
Search Engine Friendly URLs by vBSEO 3.2.0
© 2010 Time2Dine