| :: |
| Author |
Message |
spy
Joined: 07 Mar 2007 Posts: 38
|
Posted: Sun Nov 18, 2007 9:21 am Post subject: pagination links are not properly working |
|
|
Hello,
most of pagination links are not working in my forum
I have upgraded to latest version of Advanced SEO mod running on phpBB RC7
this is an example : http://www.3arabsoft.com/forum/forum-f26/
click on any pagination link like : http://www.3arabsoft.com/forum/games-f3/page180.html
you will get 404 error and redirect to home page
need quick help please , thanks in advance |
|
|
| Back to top |
|
 |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14279
|
|
| Back to top |
|
 |
spy
Joined: 07 Mar 2007 Posts: 38
|
Posted: Mon Nov 19, 2007 12:31 am Post subject: Re: pagination links are not properly working |
|
|
| thank you dcz , I dont know how I forgot this step |
|
|
| Back to top |
|
 |
tybi
Joined: 04 Nov 2007 Posts: 28
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14279
|
Posted: Sun Nov 25, 2007 2:54 pm Post subject: Re: pagination links are not properly working |
|
|
The answer I just gave about the same issue :
| dcz wrote: | We'll add a better handling for the / suffix case without virtual folder in the next releases, but, it's not the most obvious to use slashes as suffix if you don't simulate directories IMHO.
++ |
But pagination should still work this way too, can you post your .htaccess here ?
If you have updated your suffixes, you need to update your .htaccess (eg generate and install a new one). If so, be careful when playing with your url, it's not very good to change urls every other day, and you'd as well need some personalized redirection for the old links to work.
++ |
_________________ 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 |
|
 |
tybi
Joined: 04 Nov 2007 Posts: 28
|
Posted: Sun Nov 25, 2007 3:49 pm Post subject: Re: pagination links are not properly working |
|
|
Here is what I have in forums htaccess:
| 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 /
# HERE IS A GOOD PLACE TO ADD THE WWW PREFIXE REDIRECTION
#####################################################
# 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-z0-9_-]*-f([0-9]+)(-([0-9]+))?/$ /viewforum.php?f=$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]+))?/$ /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]+))?/$ /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]+))?/$ /viewtopic.php?t=$1&start=$3 [QSA,L,NC]
# POST
RewriteRule ^post([0-9]+)/$ /viewtopic.php?p=$1 [QSA,L,NC]
#PROFILES
RewriteRule ^member([0-9]+)/$ /memberlist.php?mode=viewprofile&u=$1 [QSA,L,NC]
# THE TEAM
RewriteRule ^the-team/$ /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]+))?/$ /viewforum.php?start=$2 [QSA,L,NC]
# END PHPBB PAGES
##################################################### |
Thanks for your help. |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14279
|
Posted: Sun Nov 25, 2007 3:53 pm Post subject: Re: pagination links are not properly working |
|
|
Then, it's not it, you've got the proper rewriterules in there for links such as :
-http://forum.seochat.sk/-10/-10/forum.seochat.sk-10/ludia-zatial-adsense-reklamu-trpia-t4-10/
So I guess you have another .htaccess or some more rewriterules in this one to explain this :
| Quote: | Not Found
The requested URL /-10/-10/forum.seochat.sk-10/ludia-zatial-adsense-reklamu-trpia-t4-10/ was not found on this server. |
"-10" seems to be added all over the place after some redirecting.
Could you tell us more about your other .htaccess and 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 |
|
 |
tybi
Joined: 04 Nov 2007 Posts: 28
|
Posted: Sun Nov 25, 2007 4:43 pm Post subject: Re: pagination links are not properly working |
|
|
| I have an htaccess in root as well... I have there the rewriterules for wordpress blog... can they interfere? |
|
|
| Back to top |
|
 |
|
|