Phpbb Guestbook Pagination - Not Redirecting

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

Moderator: Moderators

Phpbb Guestbook Pagination - Not Redirecting

Postby saintlantis » Sat Jun 18, 2011 2:58 am

Hello,

I'm using this mod,

http://www.phpbb.com/customise/db/mod/p ... estbook_2/

Here is the problem:

When the comments are more than 10 it will be on the next page but the every time i click the next page, i get this error, "The requested URL /member/xxxxx/page10.html was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."

I have no idea what to do.

Thanks.
saintlantis
 
Posts: 3
Joined: Sat Jun 18, 2011 2:40 am

Advertisement

Re: Phpbb Guestbook Pagination - Not Redirecting

Postby dcz » Sat Jun 18, 2011 11:35 am

Try to add :
Code: Select all
      // profile guestbook
      $this->seo_stop_vars[] = 'gbmode=';
      // profile guestbook

before :
Code: Select all
      // Let's make sure that settings are consistent
      $this->check_config();

in phpbb_seo/includes/setup_phpbb_seo.php

++
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: 21406
Joined: Fri Apr 28, 2006 9:03 pm

Re: Phpbb Guestbook Pagination - Not Redirecting

Postby saintlantis » Sat Jun 18, 2011 6:51 pm

dcz wrote:Try to add :
Code: Select all
      // profile guestbook
      $this->seo_stop_vars[] = 'gbmode=';
      // profile guestbook

before :
Code: Select all
      // Let's make sure that settings are consistent
      $this->check_config();

in phpbb_seo/includes/setup_phpbb_seo.php

++


I tried this but the same error was found although the URL have changed.
Code: Select all
/member/xxxxx/page10.html?gbmode=display


How about in the .htaccess?

Thanks for your fast response.
saintlantis
 
Posts: 3
Joined: Sat Jun 18, 2011 2:40 am

Re: Phpbb Guestbook Pagination - Not Redirecting

Postby dcz » Sun Jun 19, 2011 6:41 pm

Try changing :
Code: Select all
# PROFILES THROUGH USERNAME
RewriteRule ^membre/([^/]+)/?$ memberlist.php?mode=viewprofile&un=$1 [QSA,L,NC]

to :
Code: Select all
# PROFILES THROUGH USERNAME
RewriteRule ^membre/([^/]+)/?(page([0-9]+)\.html)?$ memberlist.php?mode=viewprofile&un=$1&start=$3 [QSA,L,NC]


And don't forget to thoroughly read the DIY part of the install.xml file concerning username in profile without id.

++
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: 21406
Joined: Fri Apr 28, 2006 9:03 pm

Re: Phpbb Guestbook Pagination - Not Redirecting

Postby saintlantis » Mon Jun 20, 2011 5:18 am

Thanks it works.

This is the result when i clicked the page 2,

Code: Select all
/member/xxxxx/page10.html?gbmode=display


Is there a way to remove ?gbmode=display from the link?

I only want to show,

Code: Select all
/member/xxxxx/page10.html


Thanks again.
saintlantis
 
Posts: 3
Joined: Sat Jun 18, 2011 2:40 am

Re: Phpbb Guestbook Pagination - Not Redirecting

Postby tomi » Fri Feb 17, 2012 2:19 pm

Hello, I have problem with this on phpBB 3.0.8 premod.
My .htaccess
Code: Select all
# PROFILES ALL MODES WITH ID
RewriteRule ^(member|[a-z0-9_-]*-u)([0-9]+)\.html$ memberlist.php?mode=viewprofile&u=$2 [QSA,L,NC]

http://portal.com/forum/admin-u2-10.html?gbmode=display
=> The Forum does not exist

Thanks
tomi
 
Posts: 2
Joined: Fri Feb 17, 2012 2:03 pm

Re: Phpbb Guestbook Pagination - Not Redirecting

Postby tomi » Sun Feb 26, 2012 5:11 pm

EDIT: Fixed
tomi
 
Posts: 2
Joined: Fri Feb 17, 2012 2:03 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