| |
|
| :: |
| Author |
Message |
andy764383
Joined: 24 Apr 2008 Posts: 10
|
Posted: Mon Jun 09, 2008 5:24 pm Post subject: Not finding next page |
|
|
I have mixed seo mod on my forum and it works great except for one thing.
I have a maximum of 10 posts per page, and when I click on "Next" or page "2" to go to the next page I get a message saying it doesn't exist. When I first installed the mod I tested for this and it was working. It's also working on my local test copy.
So, I replaced all the files on my live copy with my test copy but am getting the same thing. Can anyone advise me where to look for the source of this problem? The site is www.topicaltopics.net
Thanks |
|
|
| Back to top |
|
 |
|
 |
SeO Administrateur - Site Admin

Joined: 15 Mar 2006 Posts: 4006
|
|
| Back to top |
|
 |
andy764383
Joined: 24 Apr 2008 Posts: 10
|
Posted: Wed Jun 18, 2008 11:15 pm Post subject: Re: Not finding next page |
|
|
I've not been able to figure this out. Here's my .htaccess:
| Code: | <Files "common.php">
Order Allow,Deny
Deny from All
</Files>
# You may need to un-comment the following line
Options +FollowSymlinks
# REMEMBER YOU ONLY NEED TO START MOD REWRITE ONCE
RewriteEngine On
# REWRITE BASE
RewriteBase /topicalt
# HERE IS A GOOD PLACE TO ADD THE WWW PREFIXE REDIRECTION
# PHPBB SEO REWRITE RULES - MIXED
# 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]+))?\.html$ /viewforum.php?f=$1&start=$3 [QSA,L,NC]
# TOPIC WITH VIRTUAL FOLDER
RewriteRule ^[a-z0-9_-]*-f([0-9]+)/topic([0-9]+)(-([0-9]+))?\.html$ /viewtopic.php?f=$1&t=$2&start=$4 [QSA,L,NC]
# GLOBAL ANNOUNCES WITH VIRTUAL FOLDER
RewriteRule ^announces/topic([0-9]+)(-([0-9]+))?\.html$ /viewtopic.php?t=$1&start=$3 [QSA,L,NC]
# TOPIC WITHOUT FORUM ID & DELIM
RewriteRule ^([a-z0-9_-]*)/?topic([0-9]+)(-([0-9]+))?\.html$ /viewtopic.php?forum_uri=$1&t=$2&start=$4 [QSA,L,NC]
# PROFILES SIMPLE
RewriteRule ^member([0-9]+)\.html$ /memberlist.php?mode=viewprofile&u=$1 [QSA,L,NC]
# USER MESSAGES SIMPLE
RewriteRule ^member([0-9]+)-(topics|posts)(-([0-9]+))?\.html$ /search.php?author_id=$1&sr=$2&start=$4 [QSA,L,NC]
# GROUPS SIMPLE
RewriteRule ^group([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
AddType text/html .shtml .html
AddHandler server-parsed .shtml .html
# AddType text/html .shtml .html
# AddHandler server-parsed .shtml .html
# AddType text/x-server-parsed-php .html
# 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 |
As I said, it works fine on my local test server. The only difference in the code I can find is /'s on the live server. Here's the .htaccess for my test server:
| Code: | <Files "common.php">
Order Allow,Deny
Deny from All
</Files>
# You may need to un-comment the following line
Options +FollowSymlinks
# REMEMBER YOU ONLY NEED TO START MOD REWRITE ONCE
RewriteEngine On
# REWRITE BASE
RewriteBase /topicalt
# HERE IS A GOOD PLACE TO ADD THE WWW PREFIXE REDIRECTION
# PHPBB SEO REWRITE RULES - MIXED
# 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]+))?\.html$ viewforum.php?f=$1&start=$3 [QSA,L,NC]
# TOPIC WITH VIRTUAL FOLDER
RewriteRule ^[a-z0-9_-]*-f([0-9]+)/topic([0-9]+)(-([0-9]+))?\.html$ viewtopic.php?f=$1&t=$2&start=$4 [QSA,L,NC]
# GLOBAL ANNOUNCES WITH VIRTUAL FOLDER
RewriteRule ^announces/topic([0-9]+)(-([0-9]+))?\.html$ viewtopic.php?t=$1&start=$3 [QSA,L,NC]
# TOPIC WITHOUT FORUM ID & DELIM
RewriteRule ^([a-z0-9_-]*)/?topic([0-9]+)(-([0-9]+))?\.html$ viewtopic.php?forum_uri=$1&t=$2&start=$4 [QSA,L,NC]
# PROFILES SIMPLE
RewriteRule ^member([0-9]+)\.html$ memberlist.php?mode=viewprofile&u=$1 [QSA,L,NC]
# USER MESSAGES SIMPLE
RewriteRule ^member([0-9]+)-(topics|posts)(-([0-9]+))?\.html$ search.php?author_id=$1&sr=$2&start=$4 [QSA,L,NC]
# GROUPS SIMPLE
RewriteRule ^group([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
AddType text/html .shtml .html
AddHandler server-parsed .shtml .html
# AddType text/html .shtml .html
# AddHandler server-parsed .shtml .html
# AddType text/x-server-parsed-php .html
# 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 |
Thanks for the help. |
|
|
| Back to top |
|
 |
SeO Administrateur - Site Admin

Joined: 15 Mar 2006 Posts: 4006
|
Posted: Thu Jun 19, 2008 6:50 am Post subject: Re: Not finding next page |
|
|
The idea with your setting is to replace :
| Code: | # 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] |
with :
| 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] |
If your current .htaccess works for other links as is on the live server, it will directly with the replace I suggest.
Otherwise you will have to reproduce the same path and slashes pattern as on the other rewriterules on these two. |
_________________ 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 |
|
 |
andy764383
Joined: 24 Apr 2008 Posts: 10
|
Posted: Thu Jun 19, 2008 9:07 pm Post subject: Re: Not finding next page |
|
|
That worked. Except for the "go to page" link, but I was thinking of taking that out anyway.
Thanks  |
|
|
| Back to top |
|
 |
SeO Administrateur - Site Admin

Joined: 15 Mar 2006 Posts: 4006
|
|
| Back to top |
|
 |
skdeepak88
Joined: 06 Sep 2008 Posts: 2
|
Posted: Sun Sep 07, 2008 6:16 am Post subject: Help me plz! |
|
|
I have installed the mod and its working fine i think. The url is http://yamahar1.org/forum/sitemap.php . Now i have more than 15 posts in my forum but i could see only 6 links in sitemap page and everything is in php format. Previously i installed the same and i got it in .xml format with 404 error. I reinstalled to get this new page. I want the working sitemap in .xml format. please tel me wat to do?  |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15242
|
Posted: Sat Sep 13, 2008 8:35 am Post subject: Re: Not finding next page |
|
|
Well, 15 posts does not mean 15 pages, since there is usually more than one post per thread.
Then, you are talking about GYM sitemaps & RSS, and this thread is dedicated to the mixed mod rewrite which you must install separately if you want to url rewrite your forum urls. GYM will not rewrite phpBB url, it will only list them.
Please post in the proper forum if you need more help with GYM.
++ |
_________________ 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 |
|
 |
|
|
| Navigation |
Similar Topics |
|
|
|
|
|
|
|