Page 2 of 2 FirstFirst 1 2
Results 16 to 22 of 22

From 3.8.x to VB4 and latest vbseo 3.5.1 (Feedback please)

This is a discussion on From 3.8.x to VB4 and latest vbseo 3.5.1 (Feedback please) within the General Discussion forums, part of the vBSEO SEO Plugin category; I moved it to root now, CMS work but I get errors when I try to enter a forum, e.g. ...

  1. #16
    Senior Member
    Join Date
    Oct 2005
    Location
    Phuket, Thailand
    Posts
    194
    Liked
    0 times
    I moved it to root now, CMS work but I get errors when I try to enter a forum, e.g. general...

    Warning: include(./forums.inf) [function.include]: failed to open stream: No such file or directory in /home/phuket/public_html/general/common.inc on line 207

    Warning: include() [function.include]: Failed opening './forums.inf' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/phuket/public_html/general/common.inc on line 207

    Warning: include(./header.inc) [function.include]: failed to open stream: No such file or directory in /home/phuket/public_html/general/index.php3 on line 74

    Warning: include() [function.include]: Failed opening './header.inc' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/phuket/public_html/general/index.php3 on line 74

    Notice: Undefined variable: default_table_header_color in /home/phuket/public_html/general/index.php3 on line 84
    >
    Notice: Undefined variable: lAvailableForums in /home/phuket/public_html/general/index.php3 on line 84

    Notice: Undefined variable: default_table_body_color_1 in /home/phuket/public_html/general/index.php3 on line 90
    >
    Notice: Undefined variable: lNoActiveForums in /home/phuket/public_html/general/index.php3 on line 126

    Warning: include(./footer.inc) [function.include]: failed to open stream: No such file or directory in /home/phuket/public_html/general/index.php3 on line 146

    Warning: include() [function.include]: Failed opening './footer.inc' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/phuket/public_html/general/index.php3 on line 146

  2. #17
    Senior Member
    Join Date
    Oct 2005
    Location
    Phuket, Thailand
    Posts
    194
    Liked
    0 times
    While CMS, Blogs and Forum look ok on surface, when I enter General forum, it tries to access domain.com/general, it should be domain.com/forums/general/.

    It worked fine when it was in forums folder, so how to fix it?!

  3. #18
    Senior Member
    Join Date
    Oct 2005
    Location
    Phuket, Thailand
    Posts
    194
    Liked
    0 times
    I have reading around more here. Now I understand I dont keep my old path to the threads, but the .htaccess in forums/ folder redirect old threads to the new structure. So far so fine.

    But when I added that .htaccess file, "'^forum\.php$' => 'forum/'" CRR will not work.

    So now old threads from Google works, but people who follow links to my forum folder will have problem. (Where most ppl linked too)

    General is still not working tho, but most other forums seems to be fine.

  4. #19
    Senior Member
    Join Date
    Oct 2005
    Location
    Phuket, Thailand
    Posts
    194
    Liked
    0 times
    *** SOLVED ***

    Everything seems to work fine now, the general forum problem solved itself when I removed .htaccess from forums folder.

    The best solution is to actually change all forum rewrite options in vbseo cp. Not so easy when some texts here recommend htaccess file in forums folder. htaccess had been fine if it didnt broke my general forum for some unknown reasons.

    Cheers!

  5. #20
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    You can't have a CRR (or any 'fake' folder) pointing to the place of a real folder. Thus, the CRR to forum/ conflicted with the forum directory.

  6. #21
    Senior Member
    Real Name
    Ceri May
    Join Date
    Jul 2009
    Location
    United Kingdom
    Posts
    1,726
    Liked
    15 times
    Blog Entries
    1
    Your two options are either customize all of the rewrite rules to have /forum/ at the begining of them so you keep the same structure OR

    delete the old /forum/ folder then add

    Code:
    '^forum/(.+)$' => '$1'
    into the custom redirect box... OR delete the old /forum/ folder then add

    Code:
    RewriteRule ^forum/(.+)$ http://domain.com/$1 [L,R=301]
    Right bellow the RewriteEngine On .htaccess file. Making sure to change domain.com to your domain.

  7. #22
    Senior Member
    Join Date
    Oct 2005
    Location
    Phuket, Thailand
    Posts
    194
    Liked
    0 times
    Thanks for all the help and feedback.

    If I get performance problems I may look into htaccess again, as I understand my solution gives little bit more overhead compared to htaccess solution. I still dont understand why only one of my forums (General) showed a directory listing, with files I cant even recognise, while rest of my forum worked fine. I dont have any general folder on my website.

    I am indeed happy to have it up and working with a structure I like.

Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. Latest Threads with VbSEO
    By feverinlove in forum General Discussion
    Replies: 6
    Last Post: 06-21-2010, 09:38 AM
  2. Analytics does not work with latest vbseo 3.5
    By abroad in forum Bug Reporting
    Replies: 17
    Last Post: 12-18-2009, 04:44 PM
  3. about latest vbseo download
    By amroawad in forum General Discussion
    Replies: 3
    Last Post: 01-21-2008, 02:08 PM
  4. Latest addition to VBSEO
    By BubbleHead in forum Introduce Yourself
    Replies: 6
    Last Post: 12-03-2007, 01:39 AM
  5. VB3.6.0 - Does vbSEO support the latest VB
    By ESAD in forum Pre-Sales Questions
    Replies: 10
    Last Post: 08-08-2006, 12:02 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
  •