Page 1 of 3 1 2 3 LastLast
Results 1 to 15 of 33

vBSEO Re-Write

This is a discussion on vBSEO Re-Write within the Troubleshooting forums, part of the vBSEO SEO Plugin category; Where do i add this code please, as it does not go away when added vBSEO -Integration Obviously you have ...

  1. #1
    Member
    Real Name
    jaderollie
    Join Date
    Sep 2008
    Posts
    63
    Liked
    0 times

    vBSEO Re-Write

    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'

  2. #2
    Senior Member
    Real Name
    Michael Biddle
    Join Date
    Jan 2007
    Location
    Southern California
    Posts
    7,097
    Liked
    5 times
    Add that into your Custom Rewrite Rules (CRRs) in your vbseocp.php.
    The Forum Hosting - Forum Hosting from the Forum Experts

  3. #3
    Member
    Real Name
    jaderollie
    Join Date
    Sep 2008
    Posts
    63
    Liked
    0 times
    Thank you ill try thanks

    no its a massive lot of writing in there, so where do i paste it please??

  4. #4
    Senior Member
    Real Name
    Michael Biddle
    Join Date
    Jan 2007
    Location
    Southern California
    Posts
    7,097
    Liked
    5 times
    Not a problem
    The Forum Hosting - Forum Hosting from the Forum Experts

  5. #5
    Member
    Real Name
    jaderollie
    Join Date
    Sep 2008
    Posts
    63
    Liked
    0 times
    Quote Originally Posted by Michael Biddle View Post
    Not a problem
    haha you must of posted as i edited

    its a massive list of writing in there, so where do i actually paste it please??
    is there a line i can look for to paste under please?

  6. #6
    Senior Member
    Real Name
    Michael Biddle
    Join Date
    Jan 2007
    Location
    Southern California
    Posts
    7,097
    Liked
    5 times
    Paste it anywhere in that box on a new line.
    The Forum Hosting - Forum Hosting from the Forum Experts

  7. #7
    Member
    Real Name
    jaderollie
    Join Date
    Sep 2008
    Posts
    63
    Liked
    0 times
    i did , and nothing happened, that line of words is still there :(
    i am posting it in the FTP File section, so that is right/??
    or do i need to wait for it to update??

  8. #8
    Senior Member
    Real Name
    Michael Biddle
    Join Date
    Jan 2007
    Location
    Southern California
    Posts
    7,097
    Liked
    5 times
    You are posting it through your web browser. You need to go to yoursite.com/vbseocp.php, scroll down to the Custom Rewrite Rule section, and add them there.
    The Forum Hosting - Forum Hosting from the Forum Experts

  9. #9
    Member
    Real Name
    jaderollie
    Join Date
    Sep 2008
    Posts
    63
    Liked
    0 times
    ok its posted thanks, i even think its been done once before
    the writing is still there though in the video section, do you think it needs time to warm up before going??
    this is how it looks anyway, so is that right???

    //================================================== ========================
    // 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/'
    '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/'

  10. #10
    Senior Member
    Real Name
    Michael Biddle
    Join Date
    Jan 2007
    Location
    Southern California
    Posts
    7,097
    Liked
    5 times
    You have double rules at the bottom. Remove one of the sets.
    The Forum Hosting - Forum Hosting from the Forum Experts

  11. #11
    Member
    Real Name
    jaderollie
    Join Date
    Sep 2008
    Posts
    63
    Liked
    0 times
    ok, but thats my point, one rule was already there, and still the writing in my video section is there, and not gone

  12. #12
    Senior Member
    Real Name
    Michael Biddle
    Join Date
    Jan 2007
    Location
    Southern California
    Posts
    7,097
    Liked
    5 times
    Please give me four real URLs of that script to the different places.
    The Forum Hosting - Forum Hosting from the Forum Experts

  13. #13

  14. #14
    Senior Member
    Real Name
    Michael Biddle
    Join Date
    Jan 2007
    Location
    Southern California
    Posts
    7,097
    Liked
    5 times
    It looks like you have a CRR defined for video already. Please move all CRR's that are related to the video and link to it please.
    The Forum Hosting - Forum Hosting from the Forum Experts

  15. #15
    Member
    Real Name
    jaderollie
    Join Date
    Sep 2008
    Posts
    63
    Liked
    0 times
    how do i do that?
    sorry you are with a basic user new to this

Page 1 of 3 1 2 3 LastLast

Similar Threads

  1. How do I NOT have vbseo re-write links in posts?
    By PocoDiablo in forum General Discussion
    Replies: 2
    Last Post: 03-06-2009, 10:51 AM
  2. vBSEO 3.3.0PR2 & ISAPI Re-Write Rules
    By 1QuickSI in forum Troubleshooting
    Replies: 8
    Last Post: 02-19-2009, 10:27 AM
  3. Replies: 8
    Last Post: 01-29-2008, 03:33 PM
  4. vBSEO No re-write tags ...
    By Greg Watson in forum vBSEO Features Archive
    Replies: 0
    Last Post: 10-10-2005, 06:44 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •