Results 1 to 9 of 9

Reverse of moving from /forums/ to root

This is a discussion on Reverse of moving from /forums/ to root within the General Discussion forums, part of the vBSEO SEO Plugin category; Quick disclaimer: I'm still new to all this and I've been learning as I go. Sorry if this makes no ...

  1. #1
    Member
    Real Name
    Hiiragi
    Join Date
    Jun 2008
    Posts
    52
    Liked
    0 times

    Reverse of moving from /forums/ to root

    Quick disclaimer: I'm still new to all this and I've been learning as I go. Sorry if this makes no sense whatsoever.

    In order to avoid (possible, since I just put in a support ticket regarding this) license issues of moving to my root directory and rewriting forums.php to /forums/ would it be a bad idea to move my content page (in this case WordPress) to my /forums/ directory and do the root movement backwards?

    Basically rename the index.php and change vB options to point to forums.php and then in some way have vBSEO, through CRRs, have the WordPress index.php load instead? I suppose that would involde a 301 redirect to the /forums/ directory and then another rewrite to make it the clean http://www.mysite.com again.

    My forum is still pretty small so I'm just looking at this as an alternative. I've only been running vBSEO for about 2 weeks with decent settings on the new domain so I think I can still move things around and not suffer too much (it's not like I can search for my site on google and it be anywhere above the 10th page yet anyway). And if I do move to root instead of this (what seems like, and probably is, a) bad idea of mine, I could switch rewrites from forum titles to sections because I recently renamed a section and people started getting 404's from links. I might as well try and fix things for the long run while we're still small, right?

  2. #2
    Senior Member briansol's Avatar
    Real Name
    Brian
    Join Date
    Apr 2006
    Location
    Central CT, USA
    Posts
    6,981
    Liked
    8 times
    I'm a BIG proponent of leaving vb/vbseo in root, and faking everything else.
    chances are, the forum is your main 'application' that runs your site.

    if you want to add word press for content pages, install it in /blog or /articles and then the natural folder is also an 'seo' directory.

    for root, you can rename index.php to forums.php and set up a CRR for /forums. All other pages in the forum will NOT MOVE.
    Finally, you can set a custom htaccess rule for index.php to load blog/index.php.

    bingo, wordpress in 'root', forums in 'forums'

  3. #3
    Member
    Real Name
    Hiiragi
    Join Date
    Jun 2008
    Posts
    52
    Liked
    0 times
    That's pretty much what I eneded up doing (minus the blog part as I have yet to do that). This might not be the right place to ask, but is there a reason that the url show up as mysite.com/forums instead of /forums/? And if so, does that mean duplicate content? I used the line way you outlined in this thread for the rewrite.

    ===========

    One problem I'm having now is /forums and /forums/ giving me unknown locations...

    It seems that it's because the file isn't index.php. I'll try and search some and see why it's not recognizing the title.
    Last edited by Hiiragi; 02-12-2009 at 09:01 PM.

  4. #4
    Senior Member briansol's Avatar
    Real Name
    Brian
    Join Date
    Apr 2006
    Location
    Central CT, USA
    Posts
    6,981
    Liked
    8 times

  5. #5
    Member
    Real Name
    Hiiragi
    Join Date
    Jun 2008
    Posts
    52
    Liked
    0 times
    I probably don't understand why that would help me (mainly because I don't know what %{THE_REQUEST} does :X It's not a matter of the page not existing or being found, but a matter of "Unknown Location - <forums.php, board.php>" showing up where what's between the <> depending on my file name doesn't get recognized.

  6. #6
    Senior Member briansol's Avatar
    Real Name
    Brian
    Join Date
    Apr 2006
    Location
    Central CT, USA
    Posts
    6,981
    Liked
    8 times
    the link above shows how to make sure site.com/vb gets redirected to site.com/vb/.

    Did you change the setting in vb ACP from 'index' to 'forums' under board options?

  7. #7
    Member
    Real Name
    Hiiragi
    Join Date
    Jun 2008
    Posts
    52
    Liked
    0 times
    Ah... I knew I was missing some sort of intermediate step. Changed it from index to board because I ended up using board.php as my forum. The problem I think I was having earlier was forums.php was being rewritten to http://www.mysite.com/forums with only the .php being chopped off. I don't know why that was happening but now that it was renamed to board.php everything works like a charm.

    Thanks for your help

  8. #8
    Senior Member briansol's Avatar
    Real Name
    Brian
    Join Date
    Apr 2006
    Location
    Central CT, USA
    Posts
    6,981
    Liked
    8 times

  9. #9
    Member
    Real Name
    Hiiragi
    Join Date
    Jun 2008
    Posts
    52
    Liked
    0 times
    Quote Originally Posted by briansol View Post
    for root, you can rename index.php to forums.php and set up a CRR for /forums. All other pages in the forum will NOT MOVE.
    Finally, you can set a custom htaccess rule for index.php to load blog/index.php.

    bingo, wordpress in 'root', forums in 'forums'
    Eh, sorry to bump this, but I've been trying to get a subfolder like /blog/index.php to work as the just my index, but I can't seem to get it working. Either that, or is there a way to skip the /subdirectory/ with a rewrite rule to get index.php from that subdirectory?

Similar Threads

  1. moving to root
    By Cor van Noorloos in forum General Discussion
    Replies: 5
    Last Post: 02-09-2009, 05:05 PM
  2. Need urgent help - moving forums to root folder
    By Aunt Clara in forum Troubleshooting
    Replies: 5
    Last Post: 08-02-2006, 06:21 PM
  3. Moving sitemap folder to root (above /forums) causes issue
    By Ace Shattock in forum Troubleshooting
    Replies: 4
    Last Post: 12-20-2005, 05:18 AM
  4. Replies: 1
    Last Post: 08-15-2005, 03:30 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
  •