Results 1 to 5 of 5

Forum files in web root but rewritten to /forum/?

This is a discussion on Forum files in web root but rewritten to /forum/? within the General Discussion forums, part of the vBSEO SEO Plugin category; I'm trying to have my vB installation in the web root / but make it look like it's located in ...

  1. #1
    Junior Member
    Real Name
    Per Eskilsson
    Join Date
    Feb 2007
    Location
    Sweden
    Posts
    7
    Liked
    0 times

    Forum files in web root but rewritten to /forum/?

    I'm trying to have my vB installation in the web root / but make it look like it's located in a /forum/ directory.

    /showforum.php?f=xxx is for example rewritten to /forums/my-forum/
    /members.php becomes /forum/members/ and so on. This works quite well, with one exception, typing /forum/ seems to make an 301 redirect to /, instead of just showing the forum home-page. I want it to stay at /forum/ in the location field, not redirecting me to /.

    Does anybody understand my problem?

    If I get this to work, I will be able to have my forum at /forum/, the blog at /blogs/, the groups at /groups/, memberlist at /memberlist/ and so on.

    I hope someone of you has some input to my issue.

  2. #2
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,741
    Liked
    168 times
    Please try to define this custom rewrite rule in vBSEO CP:
    Code:
    '^index\.php$' => 'forums/'

  3. #3
    Junior Member
    Real Name
    Per Eskilsson
    Join Date
    Feb 2007
    Location
    Sweden
    Posts
    7
    Liked
    0 times
    Thanks Oleg!

    It works great!

  4. #4
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,741
    Liked
    168 times
    Great, you are welcome!

  5. #5
    Senior Member
    Real Name
    Samo
    Join Date
    Jan 2006
    Location
    Slovenia
    Posts
    118
    Liked
    0 times
    Byggahus: sorry to stole your theme

    Oleg: what about ibproarcade is there any chance to setup CRR`s like this www.domain.com/games/1111.html but files are under www.domain.com/forum/games/?

Similar Threads

  1. Moving my forum from root to /forum/
    By Rocket 442 in forum General Discussion
    Replies: 1
    Last Post: 12-22-2007, 07:27 PM
  2. Replies: 3
    Last Post: 11-23-2007, 04:25 AM
  3. Replies: 22
    Last Post: 10-27-2007, 09:34 AM
  4. Forum installation in /forum directory or / (root)
    By Future in forum General Discussion
    Replies: 1
    Last Post: 11-22-2006, 07:40 PM
  5. Part of URL not rewritten on forum display
    By dutchbb in forum Bug Reporting
    Replies: 5
    Last Post: 08-29-2006, 03:06 PM

Posting Permissions

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