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 4 of 4

Redirecting vbseo from root to subfolder?

This is a discussion on Redirecting vbseo from root to subfolder? within the General Discussion forums, part of the vBulletin SEO Discussion category; Not sure if this has come up, but I'm runnign a forum at the root folder, but now I'm considering ...

  1. #1
    Senior Member I, Brian's Avatar
    Join Date
    Sep 2005
    Location
    Scotland
    Posts
    117

    Redirecting vbseo from root to subfolder?

    Not sure if this has come up, but I'm runnign a forum at the root folder, but now I'm considering moving the forums to a subfolder so that the domain can be redeveloped into a portal with other features.

    However, I don't know of any simple way in which I can do this.

    Is there a simple rewrite rule that can 301 redirect vbseo threads from
    the root to subfolder?

    If not, I'm thinking that what I'll have to do is just manually redirect categories, or else simply leave the root install and leave a php redirect in the header to the subfolder.

    Any pointers and helpful suggestions most welcome.

  2. #2
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    I would suggest changing vBulletin's index.php to something like forums.php, and using index.php as your portal. Then, you won't have to worry about losing any pagerank/etc.

  3. #3
    Senior Member I, Brian's Avatar
    Join Date
    Sep 2005
    Location
    Scotland
    Posts
    117
    Thanks for the reply - because I'm planning to install a CMS the concern is that I'm going to end up with mod_rewrite conflicts and similar issues with running multiple software platforms from the root folder.

    I figured a redirect is easier in theory - but possibly not an option in practice.

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

    you can try to redirect all "not found" requests, assuming that those are requests for old forum URLs:
    Code:
    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !^forum/
    RewriteRule ^(.+)$ http://www.domain.com/forum/$1 [L,QSA]
    
    Oleg Ignatiuk / Crawlability Inc.
    Sneek Preview Video of the new Control Panel

    vBSEO 3.5 RC2 (Final)- Released for your Evaluation