|
|
#1
| ||||
| ||||
|
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 -
find: Code: <title>{$Globals['galleryname']} - {$titlereplace} - Powered by ReviewPost
Code: <title>{$titlereplace} - {$Globals['galleryname']} - Powered by ReviewPost
/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 11:45 PM. |
|
#2
| ||||
| ||||
|
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]}&cat={$tpcat[$tpfound]}";
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>";
Code: $childnav = "<span class=\"small\"><a href=\"{$Globals['maindir']}/\">{$Globals['pp_lang']['home']}</a> $childnav</span>";
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&page=$page\">$tusername</a> $childnav");
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="&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>";
Code: $childnav = "<span class=\"small\"><a href=\"{$Globals['maindir']}/\">{$Globals['pp_lang']['home']}</a> $childnav</span>";
change Code: $childnav = "<a href=\"{$Globals['maindir']}/index.php\">{$Globals['pp_lang']['home']}</a> $childnav";
Code: $childnav = "<a href=\"{$Globals['maindir']}/\">{$Globals['pp_lang']['home']}</a> $childnav";
|
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |
| | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Zen Cart SEO | T2DMan | osCommerce SEO | 6 | 10th Aug 10 07:10 PM |
| Photopost SEO | T2DMan | SEO vBulletin | 10 | 16th Mar 07 03:55 PM |
| SEO vBPortal | T2DMan | SEO vBulletin | 1 | 14th Jul 06 03:13 PM |
| Clients fail to follow SEO recommendations | T2DMan | 0 | 7th Oct 05 07:10 AM | |
| SEO vBulletin | T2DMan | SEO vBulletin | 0 | 15th Feb 05 03:33 PM |