phpBB SEO
Boards
Directory  
SEO  
Downloads
  phpBB SEO : Search Engine Optimization, Directory, Forums  
Index
Forums
Annuaire
Référencement
Télécharger
 
  Search Rechercher
    Register
Username :  Password :  Log me on automatically each visit  
S'enregistrer  
 
   
pagination in viewforum doesnt work

 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB3 SEO TooLKit  » phpBB SEO Premod
::  
Author Message
TomaS
PR2
PR2


Joined: 08 Jun 2007
Posts: 226

pagination in viewforum doesnt workPosted: Thu Apr 24, 2008 11:19 am    Post subject: pagination in viewforum doesnt work

I have only premod and quick reply and pagination in viewforum doesnt work show me only select forum doesnt exist not 404 error but phpbb error i check vieforum and looks ok.
thath quick reply mod have only one line in viewforum and whitout it, it doesnt work too.

_________________
phpBB podpora-slovak phpBB support
slovenský preklad pre phpbb3-slovak translate for phpBB3
predaj a kupa domeny, marketing a internetove podnikanie- Slovak domain center
Back to top
Visit poster's website
frold
PR0
PR0


Joined: 17 Apr 2008
Posts: 70

pagination in viewforum doesnt workPosted: Thu Apr 24, 2008 11:27 am    Post subject: Re: pagination in viewforum doesnt work

Same as here? http://www.phpbb-seo.com/boards/phpbb-seo-premod/discussions-vt2418.html
Back to top
TomaS
PR2
PR2


Joined: 08 Jun 2007
Posts: 226

pagination in viewforum doesnt workPosted: Thu Apr 24, 2008 12:05 pm    Post subject: Re: pagination in viewforum doesnt work

yes same problem and i had check that part of code and it is there on begin that file

_________________
phpBB podpora-slovak phpBB support
slovenský preklad pre phpbb3-slovak translate for phpBB3
predaj a kupa domeny, marketing a internetove podnikanie- Slovak domain center
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15242

pagination in viewforum doesnt workPosted: Thu Apr 24, 2008 12:19 pm    Post subject: Re: pagination in viewforum doesnt work

So it looks like it's the RegEx in the rewriterule for when forum id are removed and without virtual folder (work with virtual folder no problem).

I'm currently working on a better regex Wink

http://www.phpbb-seo.com/boards/phpbb-seo-premod/discussions-vt2418.html

++

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
TomaS
PR2
PR2


Joined: 08 Jun 2007
Posts: 226

pagination in viewforum doesnt workPosted: Thu Apr 24, 2008 1:22 pm    Post subject: Re: pagination in viewforum doesnt work

ok i will wait because for me that fix deasnt work maybe i have other settings in htaccsess

_________________
phpBB podpora-slovak phpBB support
slovenský preklad pre phpbb3-slovak translate for phpBB3
predaj a kupa domeny, marketing a internetove podnikanie- Slovak domain center
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15242

pagination in viewforum doesnt workPosted: Thu Apr 24, 2008 1:24 pm    Post subject: Re: pagination in viewforum doesnt work

Path maybe, the suggested replace does not provide any, just make sure you use the same path as in the other rewriterules.
Have you seen the last fix suggested ?

We should continue this there IMO, would be simpler to follow. Post your .htaccess in case you need more help Wink

++

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
TomaS
PR2
PR2


Joined: 08 Jun 2007
Posts: 226

pagination in viewforum doesnt workPosted: Thu Apr 24, 2008 2:23 pm    Post subject: Re: pagination in viewforum doesnt work

now it look like this:
Code:
 # Lines That should already be in your .htacess
    <Files "config.php">
    Order Allow,Deny
    Deny from All
    </Files>
    <Files "common.php">
    Order Allow,Deny
    Deny from All
    </Files>

    # You may need to un-comment the following line
    # Options +FollowSymlinks
    # REMEBER YOU ONLY NEED TO STARD MOD REWRITE ONCE
    RewriteEngine On
    # REWRITE BASE
    RewriteBase /forum/
    # HERE IS A GOOD PLACE TO ADD THE WWW PREFIXE REDIRECTION
     RewriteCond %{HTTP_HOST} ^phpbb3\.sk$ [NC]
RewriteRule ^(.*)$ http://www.phpbb3.sk/forum/$1 [R=301,L]
    #####################################################
    # PHPBB SEO REWRITE RULES - ADVANCED
    #####################################################
    # AUTHOR : dcz www.phpbb-seo.com
    # STARTED : 01/2006
    #################################
    # FORUMS PAGES
    ###############
    # FORUM INDEX REWRITERULE WOULD STAND HERE IF USED. 'forum' REQUIRES TO BE SET AS FORUM INDEX
    # RewriteRule ^forum\.html$ index.php [QSA,L,NC]
    # FORUM
    RewriteRule ^([a-z_-]+)(-([0-9]+))?\.html$ /viewforum.php?forum_uri=$1&start=$3 [QSA,L,NC]
    # TOPIC WITH VIRTUAL FOLDER
    RewriteRule ^[a-z0-9_-]*-f([0-9]+)/[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ viewtopic.php?f=$1&t=$2&start=$4 [QSA,L,NC]
    # GLOBAL ANNOUNCES WITH VIRTUAL FOLDER
    RewriteRule ^announces/[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ viewtopic.php?t=$1&start=$3 [QSA,L,NC]
    # TOPIC WITHOUT FORUM ID & DELIM
    RewriteRule ^([a-z0-9_-]*)/?[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ viewtopic.php?forum_uri=$1&t=$2&start=$4 [QSA,L,NC]
    # PROFILES THROUGH USERNAME
    RewriteRule ^member/([^/]+)/?$ memberlist.php?mode=viewprofile&un=$1 [QSA,L,NC]
    # USER MESSAGES THROUGH USERNAME
    RewriteRule ^member/([^/]+)/(topics|posts)/?(page([0-9]+)\.html)?$ search.php?author=$1&sr=$2&start=$4 [QSA,L,NC]
    # GROUPS ADVANCED
    RewriteRule ^[a-z0-9_-]*-g([0-9]+)(-([0-9]+))?\.html$ memberlist.php?mode=group&g=$1&start=$3 [QSA,L,NC]
    # POST
    RewriteRule ^post([0-9]+)\.html$ viewtopic.php?p=$1 [QSA,L,NC]
    # ACTIVE TOPICS
    RewriteRule ^active-topics(-([0-9]+))?\.html$ search.php?search_id=active_topics&start=$2&sr=topics [QSA,L,NC]
    # UNANSWERED TOPICS
    RewriteRule ^unanswered(-([0-9]+))?\.html$ search.php?search_id=unanswered&start=$2&sr=topics [QSA,L,NC]
    # NEW POSTS
    RewriteRule ^newposts(-([0-9]+))?\.html$ search.php?search_id=newposts&start=$2&sr=topics [QSA,L,NC]
    # THE TEAM
    RewriteRule ^the-team\.html$ memberlist.php?mode=leaders [QSA,L,NC]
    # HERE IS A GOOD PLACE TO ADD OTHER PHPBB RELATED REWRITERULES

    # FORUM WITHOUT ID & DELIM
    # THESE FOUR LINES MUST BE LOCATED AT THE END OF YOUR HTACCESS TO WORK PROPERLY
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-l
    RewriteRule ^([a-z0-9_-]+)(-([0-9]+))?\.html$ viewforum.php?forum_uri=$1&start=$3 [QSA,L,NC]
    # END PHPBB PAGES
    #####################################################

it is in folder forum and on other forum i have it in root

_________________
phpBB podpora-slovak phpBB support
slovenský preklad pre phpbb3-slovak translate for phpBB3
predaj a kupa domeny, marketing a internetove podnikanie- Slovak domain center
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15242

pagination in viewforum doesnt workPosted: Thu Apr 24, 2008 3:16 pm    Post subject: Re: pagination in viewforum doesnt work

Have you tried replacing :

Code:
RewriteRule ^([a-z0-9_-]+)(-([0-9]+))?\.html$ viewforum.php?forum_uri=$1&start=$3 [QSA,L,NC]


with :
Code:

RewriteRule ^([a-z0-9_-]*[a-z_]+)(-([0-9]+))?\.html$ viewforum.php?forum_uri=$1&start=$3 [QSA,L,NC]


It's the code I posted on the other thread without the right slash, like your other rewriterules.

++

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
TomaS
PR2
PR2


Joined: 08 Jun 2007
Posts: 226

pagination in viewforum doesnt workPosted: Thu Apr 24, 2008 7:32 pm    Post subject: Re: pagination in viewforum doesnt work

thx work good and on the other board where i had it in root? just put there slash?
RewriteRule ^([a-z0-9_-]*[a-z_]+)(-([0-9]+))?\.html$\viewforum.php?forum_uri=$1&start=$3 [QSA,L,NC]
it is coreckt?

_________________
phpBB podpora-slovak phpBB support
slovenský preklad pre phpbb3-slovak translate for phpBB3
predaj a kupa domeny, marketing a internetove podnikanie- Slovak domain center
Back to top
Visit poster's website
SeO
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 15 Mar 2006
Posts: 3987

pagination in viewforum doesnt workPosted: Thu Apr 24, 2008 7:42 pm    Post subject: Re: pagination in viewforum doesnt work

No backlsahes.

In the end the trick is simple, juste replace :

Code:
[a-z0-9_-]+


with :
Code:
[a-z0-9_-]*[a-z_]+


in the forum without id rewriterule, the one after :

Code:
    # FORUM WITHOUT ID & DELIM
    # THESE FOUR LINES MUST BE LOCATED AT THE END OF YOUR HTACCESS TO WORK PROPERLY
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-l


Works in all cases this way Wink

_________________
phpBB SEO || SEO Forum || Forum Référencement
GYM Sitemap & RSS for phpBB3 has been released ! || GYM Sitemap & RSS for phpBB3 est disponible !
Back to top
TomaS
PR2
PR2


Joined: 08 Jun 2007
Posts: 226

pagination in viewforum doesnt workPosted: Thu Apr 24, 2008 8:16 pm    Post subject: Re: pagination in viewforum doesnt work

works too thx dcz

_________________
phpBB podpora-slovak phpBB support
slovenský preklad pre phpbb3-slovak translate for phpBB3
predaj a kupa domeny, marketing a internetove podnikanie- Slovak domain center
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15242

pagination in viewforum doesnt workPosted: Tue May 06, 2008 8:54 am    Post subject: Re: pagination in viewforum doesnt work

The final fix for all cases would be to use two set of rewriterules in this case, to as well handle urls such as "forum-url5" :
Code:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^([a-z0-9_-]+)-([0-9]+)\.html$ viewforum.php?forum_uri=$1&start=$2 [QSA,L,NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^([a-z0-9_-]+)\.html$ viewforum.php?forum_uri=$1 [QSA,L,NC]


with the proper paths and slashes, and still for the forum url without ids and without the virtual folder trick Wink

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB3 SEO TooLKit  » phpBB SEO Premod
Page 1 of 1

Navigation Similar Topics

Jump to: