[#5 cBB Portal] Incompatibility with SEO Ultimate MOD


User avatar
IvanPF
Administrator
 
Posts: 2010
Joined: Fri Jun 17, 2011 12:15 am
Location: España (Spain)
 Thu Sep 13, 2012 5:08 pm • via Web
MOD: cBB Portal v1.0.1

Error: The mod produces an error with the index page if the MOD "SEO Ultimate" is installed and the portal is set as the main page.

Solution:
1. Open /phpbb_seo/phpbb_seo_class.php
2. Find:
Code: Select all
   var   $seo_ext = array( 'forum' => '.html', 'topic' => '.html', 'post' => '.html', 'user' => '.html', 'group' => '.html',  'index' => '', 'global_announce' => '/', 'leaders' => '.html', 'atopic' => '.html', 'utopic' => '.html', 'npost' => '.html', 'urpost' => '.html', 'pagination' => '.html', 'gz_ext' => '');
   var   $seo_static = array( 'forum' => 'forum', 'topic' => 'topic', 'post' => 'post', 'user' => 'member', 'group' => 'group', 'index' => '', 'global_announce' => 'announces', 'leaders' => 'the-team', 'atopic' => 'active-topics', 'utopic' => 'unanswered', 'npost' => 'newposts', 'urpost' => 'unreadposts', 'pagination' => 'page', 'gz_ext' => '.gz' );


3. Replace with:
Code: Select all
   var   $seo_ext = array( 'forum' => '.html', 'topic' => '.html', 'post' => '.html','user' => '.html', 'group' => '.html',  'index' => '.html', 'global_announce' => '/', 'leaders' => '.html', 'atopic' => '.html', 'utopic' => '.html', 'npost' => '.html', 'urpost' => '.html', 'pagination' => '.html', 'gz_ext' => '');
   var   $seo_static = array( 'forum' => 'forum', 'topic' => 'topic', 'post' => 'post', 'user' => 'member', 'group' => 'group', 'index' => 'forum', 'global_announce' => 'announces', 'leaders' => 'the-team', 'atopic' => 'active-topics', 'utopic' => 'unanswered', 'npost' => 'newposts', 'urpost' => 'unreadposts', 'pagination' => 'page', 'gz_ext' => '.gz' );


4. Open /.htaccess
5. Find:
Code: Select all
# RewriteRule ^phpbb3/pruebas/forum.html$ /phpbb3/pruebas/index.php [QSA,L,NC]


6. Replace with:
Code: Select all
RewriteRule ^phpbb3/pruebas/forum.html$ /phpbb3/pruebas/index.php [QSA,L,NC]

Who is online

Users browsing this forum: No registered users and 0 guests