vBulletin 4, the most powerful community software + vBSEO 3.5, the ultimate SEO solution = Your ultimate platform for 2010 and beyond. Click below to learn more.

Results 1 to 10 of 10

Force Forum Root as Homepage - expanded to other 'vB Powered Sections'

This is a discussion on Force Forum Root as Homepage - expanded to other 'vB Powered Sections' within the vBSEO Features Archive forums, part of the vBulletin Links & Resources category; This feature is pretty powerful.. removing all those nasty /index.php duplicate links from our forums. What would be nice is ...

  1. #1
    vBSEO Staff Ace Shattock's Avatar
    Real Name
    Ace Shattock
    Join Date
    Jul 2005
    Location
    New Zealand
    Posts
    3,713

    Force Forum Root as Homepage - expanded to other 'vB Powered Sections'

    This feature is pretty powerful.. removing all those nasty /index.php duplicate links from our forums.

    What would be nice is the ability to define other directories, at root/, /forum/, or below /forum/ level, that would also have their index.php links consolidated into / links.

    In case I'm not clear enough.. New Zealand Photo Gallery - New Zealand Boards and New Zealand Boards

    Note that the second one redirects itself to my forum homepage.
    Ace Shattock / Crawlability Inc.
    Sneek Preview Video of the new Control Panel

    vBSEO 3.5 RC2 (Final)- Released for your Evaluation


    My Personal Sites: New Zealand Forum | vBulletin Modifications and Styles | vBulletin Hosting
    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!

  2. #2
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    24,550
    Hi Ace,

    there is a new option that can be manually set in config file to change all "/folder/index.php" to "/folder/" on the rewritten pages
    PHP Code:
        define('VBSEO_FORCEHOMEPAGE_ROOT',  1); 
    Oleg Ignatiuk / Crawlability Inc.
    Sneek Preview Video of the new Control Panel

    vBSEO 3.5 RC2 (Final)- Released for your Evaluation

    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!

  3. #3
    vBSEO Staff Ace Shattock's Avatar
    Real Name
    Ace Shattock
    Join Date
    Jul 2005
    Location
    New Zealand
    Posts
    3,713
    Perfect!

    Now, my next suggestion involves an install service and several beautiful women...

    Ace Shattock / Crawlability Inc.
    Sneek Preview Video of the new Control Panel

    vBSEO 3.5 RC2 (Final)- Released for your Evaluation


    My Personal Sites: New Zealand Forum | vBulletin Modifications and Styles | vBulletin Hosting
    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!

  4. #4
    vBSEO Staff Ace Shattock's Avatar
    Real Name
    Ace Shattock
    Join Date
    Jul 2005
    Location
    New Zealand
    Posts
    3,713
    Quote Originally Posted by Oleg Ignatiuk View Post
    Hi Ace,

    there is a new option that can be manually set in config file to change all "/folder/index.php" to "/folder/" on the rewritten pages
    PHP Code:
        define('VBSEO_FORCEHOMEPAGE_ROOT',  1); 
    Hmmm.. I don't see that.

    I see
    PHP Code:
    define('VBSEO_HP_FORCEINDEXROOT',             1); 
    .. but as you can see, it is set to 1 already, and my Gallery (/photos/index.php) is still redirecting to Forum Home when the index.php part is used. :(
    Ace Shattock / Crawlability Inc.
    Sneek Preview Video of the new Control Panel

    vBSEO 3.5 RC2 (Final)- Released for your Evaluation


    My Personal Sites: New Zealand Forum | vBulletin Modifications and Styles | vBulletin Hosting
    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!

  5. #5
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    24,550
    It should be near the bottom of config (these are two different options).
    Oleg Ignatiuk / Crawlability Inc.
    Sneek Preview Video of the new Control Panel

    vBSEO 3.5 RC2 (Final)- Released for your Evaluation

    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!

  6. #6
    Senior Member BamaStangGuy's Avatar
    Real Name
    Brent Wilson
    Join Date
    Aug 2005
    Location
    Huntsville, Alabama
    Posts
    2,447
    I have it in mine
    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!

  7. #7
    vBSEO Staff Ace Shattock's Avatar
    Real Name
    Ace Shattock
    Join Date
    Jul 2005
    Location
    New Zealand
    Posts
    3,713
    Ahh yes.

    Mine ends in
    PHP Code:
        // ****** CUSTOM CHARACTER REPLACEMENTS ******
        // The following array e 
    ..so I am going to assume my connection died whilst downloading.

    I have enabled it but it's not doing what I thought it would..

    nzboards.com/photos/index.php still shows when looking at (for example) New Zealand Boards - New Zealand Photo Gallery - General Images , and still redirects to Forum Home.

    I want it to redirect to /photos/ (ie: Remove the index.php duplication).

    Doable?
    Ace Shattock / Crawlability Inc.
    Sneek Preview Video of the new Control Panel

    vBSEO 3.5 RC2 (Final)- Released for your Evaluation


    My Personal Sites: New Zealand Forum | vBulletin Modifications and Styles | vBulletin Hosting
    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!

  8. #8
    Senior Member
    Real Name
    Dhillon
    Join Date
    Apr 2006
    Posts
    327
    didnt work,
    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!

  9. #9
    vBSEO Staff Ace Shattock's Avatar
    Real Name
    Ace Shattock
    Join Date
    Jul 2005
    Location
    New Zealand
    Posts
    3,713
    Nope.

    Oleg? Help please?

    (It looks like it works now on NZB because I manually edited the navbar in PP vBGallery templates.)
    Ace Shattock / Crawlability Inc.
    Sneek Preview Video of the new Control Panel

    vBSEO 3.5 RC2 (Final)- Released for your Evaluation


    My Personal Sites: New Zealand Forum | vBulletin Modifications and Styles | vBulletin Hosting
    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!

  10. #10
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    24,550
    You can put the following into .htaccess in corresponding folder right after "RewriteEngine on" line:
    Code:
    RewriteCond %{THE_REQUEST} index\.php
    RewriteRule ^index\.php$ http://www.domain.com/folder/ [L,R=301]
    
    Oleg Ignatiuk / Crawlability Inc.
    Sneek Preview Video of the new Control Panel

    vBSEO 3.5 RC2 (Final)- Released for your Evaluation

    Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!

Similar Threads

  1. VBSEO crashing new server
    By MentaL in forum Troubleshooting
    Replies: 20
    Last Post: 12-11-2005, 06:55 PM