Where do i add this code please, as it does not go away when added
vBSEO-Integration Obviously you have installed vBSEO, but the video-directory isn't integrated in vBSEO yet.
To rewrite the links of the video-directory, add in your vBSEO-control center in "user definded rewrite rules" what follows:
'video.php?do=viewdetails&categoryid=(d+)&category title=(.*)&videoid=(d+)&videotitle=(.*)'=>'videos/$2-$1/$4-$3.html' 'video.php?do=viewcategory&categoryid=(d+)&categor ytitle=(.*)&page=(d+)'=>'videos/$2-$1/$3/' 'video.php?do=viewcategory&categoryid=(d+)&categor ytitle=(.*)'=>'videos/$2-$1/' 'video.php'=>'videos/'
After you have done that, this remark will disappear.
heres where im adding it :-
Custom Rewrite Rules Define Custom Rewrite Rules BETA
You can apply vBSEO's Rewrite Engine to URLs not modified by the default feature set. Define your own rules using a regular expression format:
'video.php?do=viewdetails&categoryid=(d+)&category title=(.*)&videoid=(d+)&videotitle=(.*)'=>'videos/$2-$1/$4-$3.html' 'video.php?do=viewcategory&categoryid=(d+)&categor ytitle=(.*)&page=(d+)'=>'videos/$2-$1/$3/' 'video.php?do=viewcategory&categoryid=(d+)&categor ytitle=(.*)'=>'videos/$2-$1/' 'video.php'=>'videos/' //================================================== ======================== // Sample Custom Rewrite Rule: showgroup.php as forumleaders.html (Remove the '//' in front of the rule to enable). //================================================== ======================== //'^showgroups\.php$' => 'forumleaders.html' //================================================== ======================== // Sample Custom Rewrite Rules: calendar as static pages (Remove the '//' in front of the rules to enable). // Note: Enable the calendar dropdown redirect rule within the Custom 301 Redirects section below. //================================================== ======================== //'calendar\.php$' => 'calendar/' //'^calendar\.php\?c=1$' => 'calendar/' //'^calendar\.php\?(c=1&)?do=(display.+?)(&year=)?$' => 'calendar/$2/[NF]' //'calendar\.php\?(c=1&)?nojs=1' => 'calendar/nojs/[NF]' //'calendar\.php\?(c=1&)?do=(display.+?)&nojs=1' => 'calendar/$2/nojs/[NF]' //'calendar\.php\?(c=1&)?week=(\d+)&nojs=1' => 'calendar/week-$2/nojs/[NF]' //'calendar\.php\?(c=1&)?month=(\d+)&year=(\d+)&nojs =1' => 'calendar/$3/$2/nojs/[NF]' //'^calendar\.php\?do=getinfo&(c=1&)?day=(\d+)-(\d+)-(\d+)(&c=1)?$' => 'calendar/$2/$3/$4/' //'^calendar\.php\?do=getinfo&e=(\d+)(&day=[0-9\-]+)?(&c=1)?$' => 'calendar/event-$1/' //'^calendar\.php\?(s=&)?(c=1&)?(week=&)?month=(\d+) &year=(\d+)(&c=1)?(&do=displaymonth)?$' => 'calendar/$5/$4/' //'^calendar\.php\?c=1&week=(\d+)(&do=displayweek&mo nth=.+?)?$' => 'calendar/week-$1/' 'video.php?do=viewdetails&categoryid=(d+)&category title=(.*)&videoid=(d+)&videotitle=(.*)'=>'videos/$2-$1/$4-$3.html' 'video.php?do=viewcategory&categoryid=(d+)&categor ytitle=(.*)&page=(d+)'=>'videos/$2-$1/$3/' 'video.php?do=viewcategory&categoryid=(d+)&categor ytitle=(.*)'=>'videos/$2-$1/' 'video.php'=>'videos/'
Both parts (left & right) are regular expressions: the first part is the original URL, while the second one is the rewritten URL using the matched pattern of the first part. NOTE: The vBSEO Team will NOT provide "official" support for the regular expressions you enter when using this feature. Please use this feature ONLY if you know what you are doing. For further help, please visit the vBSEO forums at vBSEO - vBulletin SEO.
NOTE: Lines can be commented out by preceding them with two forward slashes (//). If any of your rewrite rules contain errors they will be automatically commented out when you click 'Save Settings'.
Examples:
'article\.php\?id=(\d+)'=>'showarticle-$1.html'
'browse\.php\?page=(\d+)'=>'listing-$1.htm'


LinkBack URL
About LinkBacks





Reply With Quote


