Results 1 to 2 of 2

Custom Redirects Error

This is a discussion on Custom Redirects Error within the General Discussion forums, part of the vBulletin SEO Discussion category; Code: //========================================================================== // Sample Custom 301 Redirect: calendar dropdown redirect (Remove the '//' in front of the rule to enable). ...

  1. #1
    Senior Member Array
    Real Name
    Arkidas
    Join Date
    Feb 2008
    Posts
    254
    Liked
    1 times

    Custom Redirects Error

    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'
    't28' => 't115'
    The following code works but it seems to affect any thread number that begins with 28 instead of just thread 28. What do I need to do ti limit it to t28 only but not t280 or t284 etc?

  2. #2
    vBSEO.com Webmaster Array Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    23,463
    Liked
    721 times
    Blog Entries
    4
    You should use
    Code:
    '^t28$' => 't115'
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

Similar Threads

  1. Custom redirects option
    By Brandon_R in forum vBSEO Features Archive
    Replies: 2
    Last Post: 11-19-2008, 07:49 PM
  2. Setting up custom redirects
    By Big-K in forum General Discussion
    Replies: 3
    Last Post: 10-06-2008, 10:47 PM
  3. How do I do these Custom Redirects?
    By Nikke23 in forum Custom Rewrite Rules
    Replies: 8
    Last Post: 10-05-2007, 04:57 PM
  4. Custom 301 Redirects
    By petertdavis in forum URL Rewrite Settings
    Replies: 2
    Last Post: 02-20-2007, 05:07 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
  •