Forum.html doesn't work

phpBB3 SEO Advanced mod Rewrite support forum.
This mods performs URL rewriting for phpBB, injecting forums and topic titles in their URLs.

Moderator: Moderators

Forum.html doesn't work

Postby frechdaxx » Sun Jan 20, 2008 6:42 pm

Hey, I uncommented RewriteRule ^forum\.html$ /index.php [QSA,L,NC] to use forum.html as the index, but when I access the url I get redirected to the forum root..Don't know what I do wrong

Edit: I also wondering why every index link points to the root and not the index.php

See: www.roqbar.de

Foren Übersicht means index..
frechdaxx
 
Posts: 20
Joined: Tue Sep 04, 2007 7:58 pm

Advertisement

Postby SeO » Mon Jan 21, 2008 12:09 am

install wrote:=> By Default, this mod will get rid of index.php for phpBB's index.
You can change this in phpbb_seo/phpbb_seo_class.php if you prefer.
Look for :

'index' => ''

And replace with :

'index' => 'forum'

or whatever you may prefer.
This is mostly useful if you're running a portal in the folder where phpBB is installed.


The full line is :
Code: Select all
      $this->seo_static = array( 'forum' => 'forum', 'topic' => 'topic', 'post' => 'post', 'user' => 'member', 'group' => 'group', 'index' => '', 'global_announce' => 'announces', 'leaders' => 'the-team', 'usermsg' => 'messages', 'pagination' => 'page', 'gz_ext' => '.gz' );


If you use something different than forum.html, you'll have to update the .htaccess.
SeO
Admin
Admin
 
Posts: 6334
Joined: Wed Mar 15, 2006 9:41 pm

Postby frechdaxx » Mon Jan 21, 2008 12:58 am

try www.roqbar.de/forum.html . This has the same effect like accessing the index.php
frechdaxx
 
Posts: 20
Joined: Tue Sep 04, 2007 7:58 pm

Postby dcz » Mon Jan 21, 2008 7:50 am

Well, this is if you do not replace :

Code: Select all
'index' => ''


with :
Code: Select all
'index' => 'forum'


in this line of phpbb_seo_class.php :
Code: Select all
      $this->seo_static = array( 'forum' => 'forum', 'topic' => 'topic', 'post' => 'post', 'user' => 'member', 'group' => 'group', 'index' => '', 'global_announce' => 'announces', 'leaders' => 'the-team', 'usermsg' => 'messages', 'pagination' => 'page', 'gz_ext' => '.gz' );



Read the install !

;)
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21325
Joined: Fri Apr 28, 2006 9:03 pm

Postby frechdaxx » Mon Jan 21, 2008 12:33 pm

dcz wrote:Read the install !

;)


Sorry :oops: This change wasn't necessary in the old version, so I didn't think about reading the install to fix this. Anyway, thanks for your help ;)
frechdaxx
 
Posts: 20
Joined: Tue Sep 04, 2007 7:58 pm


Return to Advanced SEO URL

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 4 guests