Page 1 of 2 1 2 LastLast
Results 1 to 15 of 22
Like Tree1Likes

[How-to] Use vBSEO's Forum Slugs - Custom Sub-Forum URLs

This is a discussion on [How-to] Use vBSEO's Forum Slugs - Custom Sub-Forum URLs within the Member Articles forums, part of the Focus on Members category; Forum Slugs With vBSEO 's forum slugs you can specify how you want the name of any sub-forum to appear ...

  1. #1
    Senior Member
    Real Name
    Michael Biddle
    Join Date
    Jan 2007
    Location
    Southern California
    Posts
    7,097
    Liked
    5 times

    [How-to] Use vBSEO's Forum Slugs - Custom Sub-Forum URLs

    Forum Slugs

    With vBSEO's forum slugs you can specify how you want the name of any sub-forum to appear in your URLs.


    Why would I need a feature like this?

    You could use this feature for a few reasons.

    1. Want a shorter URL even though you have a longer forum name.
    2. Avoid duplicate forum titles (PS3 Games->Releases and XBOX Games->Releases would both link to yourdomain.com/releases/topic-name-thread_id.html, which would cause an issue)

    To fix this, you can set a new name for your forum without changing the actual forum name.

    vBSEO 3.3.2 and lower
    The format is 'forum_id' => 'new-name-for-forum'

    To set this setting, you will need to manually open your configuration file from ./includes/config_vbseo.php

    Find:

    PHP Code:
    $vbseo_forum_slugs = array(
        ); 
    Change to:

    PHP Code:
    $vbseo_forum_slugs = array(
    '1' => 'forum-title',
    '2' => 'another-forum-title'
        
    ); 
    -------------
    vBSEO 3.5+
    On vb4/vbseo 3.5, slugs have moved to within the Control Panel it self instead of a code edit.

    You can simply use
    Code:
    1 => 'forum-title'
    in the CP box (note, no quotes around the forumID side anymore)
    Last edited by Brian Cummiskey; 04-15-2010 at 05:04 PM. Reason: vb4
    The Forum Hosting - Forum Hosting from the Forum Experts

  2. #2
    Senior Member f4vn's Avatar
    Real Name
    Lam AJ
    Join Date
    Nov 2007
    Posts
    107
    Liked
    5 times
    I try this but it doesn`t work for me.
    PHP Code:
    $vbseo_forum_slugs = array(
    250 => 'bikini-girls'
        
    ); 
    Code:
    http://www.free4vn.org/f250/

  3. #3
    Senior Member
    Real Name
    Michael Biddle
    Join Date
    Jan 2007
    Location
    Southern California
    Posts
    7,097
    Liked
    5 times
    Please open a ticket with AdminCP, FTP, and your vbseocp.php password.
    The Forum Hosting - Forum Hosting from the Forum Experts

  4. #4
    Senior Member f4vn's Avatar
    Real Name
    Lam AJ
    Join Date
    Nov 2007
    Posts
    107
    Liked
    5 times
    I opened the ticket.Please check it !

    Thanks,

  5. #5
    Junior Member
    Join Date
    Nov 2005
    Posts
    18
    Liked
    0 times
    With vbSEO 3.5 and vB4.0 which section in the CP would you need to put this in?

    Custom Rewrite Rules?



    TY,
    John

  6. #6
    Senior Member
    Real Name
    Michael Biddle
    Join Date
    Jan 2007
    Location
    Southern California
    Posts
    7,097
    Liked
    5 times
    General Settings->vBSEO Options->Advanced Settings
    The Forum Hosting - Forum Hosting from the Forum Experts

  7. #7
    Junior Member
    Real Name
    Neil Ghuman
    Join Date
    Jul 2011
    Location
    Seattle, Washington, USA
    Posts
    21
    Liked
    1 times
    Hey guys, need some help on my forum slugs. Nice word for that by the way. Forum is Canadian Motorcycle Talk Forum. I have entered this in the control panel and hit save:

    2 => 'introduce-yourself'
    6 => 'motorcycles-for-sale'
    12 => 'atv-for-sale'
    13 => 'cruiser-for-sale'
    14 => 'dirt-bike-for-sale'
    15 => 'harley-for-sale'
    16 => 'scooter-for-sale'
    17 => 'sport-bike-for-sale'

    But nothing changes. Ideas? Thank you.

  8. #8
    Junior Member
    Real Name
    Neil Ghuman
    Join Date
    Jul 2011
    Location
    Seattle, Washington, USA
    Posts
    21
    Liked
    1 times
    One more thing I wanted to add. I want the urls to also change here in the sitemap. Any help is appreciated. I must of missed a setting or something I am thinking.

  9. #9
    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 ,

    Forum Slugs only work when you don't have id in forum rewrite rules. If you have id in your rewrite rules Slugs will not work.
    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

  10. #10
    Junior Member
    Real Name
    Neil Ghuman
    Join Date
    Jul 2011
    Location
    Seattle, Washington, USA
    Posts
    21
    Liked
    1 times

    Exclamation How do I remove the ID so the rest of this works

    Hi Mert,

    Thanks for the reply. Now the question, how do I remove the ID so the rest of this works? When I installed VBSEO, it automatically changed things to the ID's by default. Your help is appreciated. Thank you.

    Neil Ghuman
    www.motorcycletalk.ca

  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
    You will need to alter the preset or go into the advanced settings tab of the forum url group and edit ALL of the forum urls accordingly.

    Note, this is not recommended for established sites as all your urls will change.

  12. #12
    Junior Member
    Real Name
    Neil Ghuman
    Join Date
    Jul 2011
    Location
    Seattle, Washington, USA
    Posts
    21
    Liked
    1 times
    Forum is brand new with 0 posts. Have a look. Motorcycle Talk Forum

    I
    did some major changes to my liking, tested stuff out and it works awesome. Thanks for your help Brian. You guys rock at VBSEO.

    Over and out.

  13. #13
    Senior Member
    Real Name
    2345
    Join Date
    Sep 2008
    Posts
    125
    Liked
    0 times
    what happenes with forum urls that are already listed in google ? do they 301 redirect the the slug url ?

    edit. it doesnt it gives error doesnt exist. so why whould someone use those ?

  14. #14
    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

  15. #15
    Senior Member
    Real Name
    2345
    Join Date
    Sep 2008
    Posts
    125
    Liked
    0 times
    ok, i still dont understand why to use the slug and not to edit the forum name ? whats the benefit. does is it add to SEO having Forum name and forum.html (slug stuff) instead of Forum name and forum-name.html ?

Page 1 of 2 1 2 LastLast

Similar Threads

  1. vBSEO Slugs - Custom Forum Titles
    By Adult SEO in forum General Discussion
    Replies: 28
    Last Post: 06-24-2010, 10:45 AM
  2. Trying to use Slugs to Rename a Forum - Problems :(
    By Snookieboy in forum Troubleshooting
    Replies: 6
    Last Post: 06-13-2008, 11:27 AM
  3. Forum Slugs
    By StarBuG in forum Bug Reporting
    Replies: 6
    Last Post: 11-14-2007, 06:18 AM

Posting Permissions

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