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
    120
    Liked
    1 times

    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
    Liked
    12 times
    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
    120
    Liked
    1 times
    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
    25,689
    Liked
    157 times
    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.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


Posting Permissions

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