Results 1 to 12 of 12
Like Tree6Likes
  • 1 Post By Mert Gökçeimam
  • 1 Post By Brian Cummiskey
  • 2 Post By Andrés Durán Hewitt
  • 1 Post By Brian Cummiskey

Help Redirecting Custom Urls with vBSEO.

This is a discussion on Help Redirecting Custom Urls with vBSEO. within the General Discussion forums, part of the vBulletin SEO Discussion category; Hi, I need help redirecting custom URLS with vBSEO . Example site.com/1 to site.com/2 How do I go about doing ...

  1. #1
    Senior Member profanitytalker's Avatar
    Real Name
    profanitytalker
    Join Date
    Sep 2007
    Posts
    113
    Liked
    1 times

    Help Redirecting Custom Urls with vBSEO.

    Hi,

    I need help redirecting custom URLS with vBSEO.

    Example
    site.com/1 to site.com/2

    How do I go about doing this utilizing the vBSEO redirecting feature?

    Thanks.

  2. #2
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    23,100
    Liked
    622 times
    Blog Entries
    4
    Hello ,

    You can use vBSEO built in Custom Redirect Module to achieve this
    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

  3. #3
    Senior Member profanitytalker's Avatar
    Real Name
    profanitytalker
    Join Date
    Sep 2007
    Posts
    113
    Liked
    1 times
    Quote Originally Posted by Mert Gökçeimam View Post
    Hello ,

    You can use vBSEO built in Custom Redirect Module to achieve this
    Thanks Mert.

    I know I can do this, but the problem is I don't know how. The instructions are a little confusing. Can you provide an example code to which I can just copy and paste?

  4. #4
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    "1" and "2" are very generic and any rule for it will just redirect EVERYTHING to '2'.

  5. #5
    vBSEO Staff Andrés Durán Hewitt's Avatar
    Real Name
    Andrés Durán
    Join Date
    Jul 2009
    Location
    Costa Rica
    Posts
    3,393
    Liked
    411 times
    Blog Entries
    1
    Hello,

    The syntax is pretty easy to follow compared to common PCRE (Perl Compatible Regular Expressions). In a line there are two sides, and both of them are regex (regular expressions). The first one is the one that will 'catch' any request that does match with the patterns on it, and the second one is the resulting string of the matching pattern.

    An example would be:

    Quote Originally Posted by Andrés Durán Hewitt
    Hey guys,

    I wanna redirect this URL:

    http://www.vbseo.com/members/chuta/

    to:

    http://www.vbseo.com/members/andres-duran-hewitt/

    How do I do that?

    Quote Originally Posted by Oleg Ignatiuk
    Hello,

    It is quite simple you can use the following Custom Redirect:

    '^members/chuta/$' => 'members/andres-duran-hewitt/'
    It is a simple example, but you can build also Custom Redirects using some patterns. Learn more at: Syntax for Custom Rewrite Rules
    Andrés Durán / Crawlability Inc.
    ˇvBSEO 3.6.0 GOLD Liberado!
    Inaugurando el NUEVO vBSEO Sitemap Generator 3.0. - ˇAHORA disponible para Clientes de vBSEO!

    Síguenos en: Facebook | Síguenos en: Twitter


  6. #6
    Senior Member profanitytalker's Avatar
    Real Name
    profanitytalker
    Join Date
    Sep 2007
    Posts
    113
    Liked
    1 times
    Thanks for replying.

    Though I still can't seem to find the answer. According to the guide given, I need an existing "page" already implemented within the software to redirect a url.

    What if I want to just direct a non existent page to one of my forums?


    Example...

    Code:
    site.com/nonexistentpage to site.com/forums
    Code:
    '^noneexistentpage' => 'forums'
    The above doesn't seem to be working for me.

  7. #7
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    a nonexistant page should 404, and hit a 404 page......

  8. #8
    Senior Member profanitytalker's Avatar
    Real Name
    profanitytalker
    Join Date
    Sep 2007
    Posts
    113
    Liked
    1 times
    Quote Originally Posted by Brian Cummiskey View Post
    a nonexistant page should 404, and hit a 404 page......
    Hey Brian

    Is there anyway to redirect a nonexisting page to an existing page rather than 404 page?
    I'm trying to create memorable urls.

    Example:
    site.com/nonexistentpage will redirect to "site.com/targettedforum


    Code:
    '^noneexistentpage' => 'targettedforum'

  9. #9
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    In that case, just use a custom redirect as you have above.

  10. #10
    Senior Member profanitytalker's Avatar
    Real Name
    profanitytalker
    Join Date
    Sep 2007
    Posts
    113
    Liked
    1 times
    Quote Originally Posted by Brian Cummiskey View Post
    In that case, just use a custom redirect as you have above.
    BRIAN THANK YOU! It worked!

    I was using it in the "Custom Rewrite" section.

    Much appreciated help!

  11. #11
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    Quote Originally Posted by Mert Gökçeimam View Post
    Hello ,

    You can use vBSEO built in Custom Redirect Module to achieve this
    Just sayin'

    glad you got it in the right place now

  12. #12
    vBSEO Staff Andrés Durán Hewitt's Avatar
    Real Name
    Andrés Durán
    Join Date
    Jul 2009
    Location
    Costa Rica
    Posts
    3,393
    Liked
    411 times
    Blog Entries
    1
    Quote Originally Posted by profanitytalker View Post
    I was using it in the "Custom Rewrite" section.
    It happens often here
    Andrés Durán / Crawlability Inc.
    ˇvBSEO 3.6.0 GOLD Liberado!
    Inaugurando el NUEVO vBSEO Sitemap Generator 3.0. - ˇAHORA disponible para Clientes de vBSEO!

    Síguenos en: Facebook | Síguenos en: Twitter


Similar Threads

  1. phpbb with custom urls -> vbulletin + vbseo - need help!
    By Atm0sphere in forum Custom Rewrite Rules
    Replies: 1
    Last Post: 05-05-2009, 06:50 AM
  2. vBSEO NOT Redirecting Category Level Archive URLs?
    By incrediblehelp in forum URL Rewrite Settings
    Replies: 6
    Last Post: 04-30-2009, 06:03 PM
  3. Replies: 2
    Last Post: 01-22-2007, 02:20 PM
  4. Redirecting Custom Rewrites outside forum folder
    By vissa in forum Bug Reporting
    Replies: 7
    Last Post: 03-10-2006, 05:55 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
  •