Results 1 to 6 of 6

CRR Tool

This is a discussion on CRR Tool within the Bug Reporting forums, part of the vBSEO SEO Plugin category; I thought I read that this was fixed, however, it will not let me activate the calendar re-write. When I ...

  1. #1
    Senior Member
    Real Name
    CommanderTalk.com
    Join Date
    Jun 2007
    Location
    Arizona
    Posts
    372
    Liked
    2 times

    CRR Tool

    I thought I read that this was fixed, however, it will not let me activate the calendar re-write. When I attempt to remove the commenting and then save...it just reverts back and has the info commented out?
    CommanderTalk.com --> www.commandertalk.com

  2. #2
    Senior Member
    Real Name
    Ceri May
    Join Date
    Jul 2009
    Location
    United Kingdom
    Posts
    1,726
    Liked
    15 times
    Blog Entries
    1
    Hey are there extra \backslashes present in the CRR box maybe? if so delete these also then save... If you are not sure which ones to keep and which to delete post your CRR's here and I will fix it for you.

    Ceri

  3. #3
    Senior Member
    Real Name
    CommanderTalk.com
    Join Date
    Jun 2007
    Location
    Arizona
    Posts
    372
    Liked
    2 times
    Here is what I have, I must be doing something wrong:
    Code:
    //==========================================================================
    // 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&month=.+?)?$\' => \'calendar/week-$1/\'
    CommanderTalk.com --> www.commandertalk.com

  4. #4
    Senior Member
    Real Name
    Ceri May
    Join Date
    Jul 2009
    Location
    United Kingdom
    Posts
    1,726
    Liked
    15 times
    Blog Entries
    1
    Hi Try this :

    Code:
    //==========================================================================
    // 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&month=.+?)?$' => 'calendar/week-$1/'

  5. #5
    Senior Member
    Real Name
    CommanderTalk.com
    Join Date
    Jun 2007
    Location
    Arizona
    Posts
    372
    Liked
    2 times
    WOW must be nice to know what you are doing

    Guess I have this wrong as well...
    Code:
    //==========================================================================
    // Sample Custom 301 Redirect: calendar dropdown redirect (Remove the \'//\' in front of the rule to enable).
    // Note: Enable this redirect when using the sample CRRs provided for calendar rewriting above.
    //==========================================================================
    'calendar\?(.+)\' => \'calendar.php?$1\'
    CommanderTalk.com --> www.commandertalk.com

  6. #6
    Senior Member
    Real Name
    Ceri May
    Join Date
    Jul 2009
    Location
    United Kingdom
    Posts
    1,726
    Liked
    15 times
    Blog Entries
    1
    Yeah it should be...

    Code:
    //==========================================================================
    // Sample Custom 301 Redirect: calendar dropdown redirect (Remove the '//' in front of the rule to enable).
    // Note: Enable this redirect when using the sample CRRs provided for calendar rewriting above.
    //==========================================================================
    'calendar?(.+)' => 'calendar.php?$1'
    No I just knew what the bug was in that things were being exsacped that didn't need to be...

Posting Permissions

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