| :: |
| Author |
Message |
mhmdkhamis PR4

Joined: 26 Nov 2006 Posts: 436 Location: egypt
|
Posted: Mon Oct 01, 2007 9:59 pm Post subject: forum not found |
|
|
welcome dcz
i have problem when i try go to page 2 or 3 in any forums
the message is forum is not found
http://www.paramegsoft.com/forum/forum34/
try to go to page 2 or 3 you will see that
and same problem in the topics page
http://www.paramegsoft.com/forum/topic18190.html
if you try to go to page 2,3,4 it have not found
this is my .htacces file
| Code: |
# -FrontPage-
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName www.paramegsoft.com
AuthUserFile /home/mohamed/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/mohamed/public_html/_vti_pvt/service.grp
Options +FollowSymlinks
RewriteEngine on
RewriteBase /
#########################################################
# PHPBB SEO REWRITE RULES #
#########################################################
# AUTHOR : DCZ http://www.phpbb-seo.com/
# STARTED : 01/2006
#####################################################
# FORUMS PAGES
########################
# FORUM INDEX (un-comment if used)
# RewriteRule ^forum/index\.html$ /forum/index.php [QSA,L]
# FORUM PROTECTION RULE
# RewriteRule ^forum/.*/([^/]+\.html)$ /forum/index.php [R=301,L]
# CATEGORIES
RewriteRule ^forum/cat([0-9]+)\.html$ /forum/index.php?c=$1 [QSA,L]
# PAGINATED FORUM
RewriteRule ^forum/forum([0-9]+)-([0-9]+)\.html$ /forum/viewforum.php?f=$1&start=$2 [QSA,L]
# FORUM
RewriteRule ^forum/forum([0-9]+)\.html$ /forum/viewforum.php?f=$1 [QSA,L]
# PAGINATED TOPIC
RewriteRule ^forum/topic([0-9]+)-([0-9]+)\.html$ /forum/viewtopic.php?t=$1&start=$2 [QSA,L]
# TOPIC
RewriteRule ^forum/topic([0-9]+)\.html$ /forum/viewtopic.php?t=$1 [QSA,L]
#####################################################
#########################################################
# PHPBB SEO REWRITE RULES #
#########################################################
# AUTHOR : DCZ http://www.phpbb-seo.com/
# STARTED : 01/2006
#####################################################
# FORUMS PAGES
########################
# FORUM INDEX (un-comment if used)
# RewriteRule ^forum/index\.html$ /forum/index.php [QSA,L]
# FORUM
RewriteRule ^forum/forum([0-9]+)(-([0-9]+))?/?$ /forum/viewforum.php?f=$1&start=$3 [QSA,L,NC]
# TOPIC
RewriteRule ^forum/forum([0-9]+)/topic([0-9]+)(-([0-9]+))?\.html$ /forum/viewtopic.php?f=$1&t=$2&start=$4 [QSA,L,NC]
# TOPIC WITHOUT FORUM URLS
RewriteRule ^forum/topic([0-9]+)(-([0-9]+))?\.html$ /forum/viewtopic.php?t=$1&start=$2 [QSA,L,NC]
# POST
RewriteRule ^forum/post([0-9]+)\.html$ /forum/viewtopic.php?p=$1 [QSA,L]
#PROFILES
RewriteRule ^forum/member([0-9]+)\.html$ /forum/memberlist.php?mode=viewprofile&u=$1 [QSA,L]
# THE TEAM
RewriteRule ^forum/the-team\.html$ /forum/memberlist.php?mode=leaders [QSA,L,NC]
# END PHPBB PAGES
|
|
_________________ برامج |برامج مجانية|العاب
Last edited by mhmdkhamis on Tue Oct 02, 2007 1:09 am; edited 2 times in total |
|
| Back to top |
|
 |
|
 |
mhmdkhamis PR4

Joined: 26 Nov 2006 Posts: 436 Location: egypt
|
|
| Back to top |
|
 |
mhmdkhamis PR4

Joined: 26 Nov 2006 Posts: 436 Location: egypt
|
Posted: Tue Oct 02, 2007 8:00 pm Post subject: Re: forum not found |
|
|
i reinstall Simple-phpBB3-SEO-mod-Rewrite_V_0.4.0RC1
with new php code
topics problem get sloved
but the problem now in forums link to page 2,3,4
it appear
-http://www.paramegsoft.com/forum/forum1/page64.html
it should be
-http://www.paramegsoft.com/forum/forum1-64/ |
_________________ برامج |برامج مجانية|العاب |
|
| Back to top |
|
 |
mhmdkhamis PR4

Joined: 26 Nov 2006 Posts: 436 Location: egypt
|
Posted: Tue Oct 02, 2007 9:29 pm Post subject: Re: forum not found |
|
|
another problem
| Code: |
home/mohamed/public_html/forum/includes/mcp/mcp_topic.php on line 184
|
this error when i go to mcp from topic page
| Code: |
Fatal error: Call to undefined function bbcode_nl2br() in /home/mohamed/public_html/forum/includes/functions_admin.php on line 2436
|
that when i go tp mcp from index page
when i go from viewforum page it work OK |
_________________ برامج |برامج مجانية|العاب |
|
| Back to top |
|
 |
mhmdkhamis PR4

Joined: 26 Nov 2006 Posts: 436 Location: egypt
|
Posted: Wed Oct 03, 2007 1:21 am Post subject: Re: forum not found |
|
|
| mhmdkhamis wrote: | another problem
| Code: |
home/mohamed/public_html/forum/includes/mcp/mcp_topic.php on line 184
|
this error when i go to mcp from topic page
| Code: |
Fatal error: Call to undefined function bbcode_nl2br() in /home/mohamed/public_html/forum/includes/functions_admin.php on line 2436
|
that when i go tp mcp from index page
when i go from viewforum page it work OK |
sloved
i stell have this problem
http://www.phpbb-seo.com/boards/simple-seo-url/discussions-vt1627.html#11772 |
_________________ برامج |برامج مجانية|العاب |
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13354
|
|
| Back to top |
|
 |
mhmdkhamis PR4

Joined: 26 Nov 2006 Posts: 436 Location: egypt
|
Posted: Wed Oct 03, 2007 4:30 pm Post subject: Re: forum not found |
|
|
| dcz wrote: | Man, could you use the edit function a bit more ?
| mhmdkhamis wrote: | it appear
-http://www.paramegsoft.com/forum/forum1/page64.html
it should be
-http://www.paramegsoft.com/forum/forum1-64/ |
Why this ?
It's IMHO better to only simulate one folder per forum, and not per forum page. |
sorry dcz i cant understand you
my forums second and third pages before i update to
Simple-phpBB3-SEO-mod-Rewrite_V_0.4.0RC1
was like that
-http://www.paramegsoft.com/forum/forum1-64/
i found the second pages and the third....etc
is --http://www.paramegsoft.com/forum/forum164/
i Discovered that from 2 days ago
i update the mod to Simple-phpBB3-SEO-mod-Rewrite_V_0.4.0RC1
in phpbb code
after i update i found the second and third page appear
-http://www.paramegsoft.com/forum/forum1/page64.html
i uninstall now paginations pages from forums page(html style pages) becouse it give me not found |
_________________ برامج |برامج مجانية|العاب |
|
| Back to top |
|
 |
mhmdkhamis PR4

Joined: 26 Nov 2006 Posts: 436 Location: egypt
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13354
|
Posted: Sat Oct 06, 2007 9:53 am Post subject: Re: forum not found |
|
|
Right know : -http://www.paramegsoft.com/forum/forum1-64/ is working.
So I guess you stayed with the beta version.
I think the best thing to do now would be to go for the regular standard and to redirect the old pagination links.
Would just require a small tweak in the .htaccess, when you're ready please post it here and I'll give you the code.
I doubt the forum page could mean this much in SEs.
++ |
_________________ 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 |
|
 |
mhmdkhamis PR4

Joined: 26 Nov 2006 Posts: 436 Location: egypt
|
Posted: Sat Oct 06, 2007 4:22 pm Post subject: Re: forum not found |
|
|
| dcz wrote: | Right know : -http://www.paramegsoft.com/forum/forum1-64/ is working.
So I guess you stayed with the beta version.
I think the best thing to do now would be to go for the regular standard and to redirect the old pagination links.
Would just require a small tweak in the .htaccess, when you're ready please post it here and I'll give you the code.
I doubt the forum page could mean this much in SEs.
++ |
i am glad to see you at first dcz
when i was use beta version my links was like my phpbb2 version like that
-http://www.paramegsoft.com/forum/forum1-64/
when i go to update i asked you about update you tell me no change in phpbb codes
and i uograde uploaded files only (like phpbb_seo_class.php)
but i discoverd this problem
now dcz please i want to make my paginations pages look like my
old links
like that
-http://www.paramegsoft.com/forum/forum1-64/
this is my .htacces now
| Code: |
#########################################################
# PHPBB SEO REWRITE RULES #
#########################################################
# AUTHOR : DCZ www.phpbb-seo.com
# STARTED : 01/2006
#####################################################
# FORUMS PAGES
########################
# FORUM INDEX (un-comment if used)
# RewriteRule ^forum/index\.html$ /forum/index.php [QSA,L]
# FORUM PROTECTION RULE
# RewriteRule ^forum/.*/([^/]+\.html)$ /forum/index.php [R=301,L]
# CATEGORIES
RewriteRule ^forum/cat([0-9]+)\.html$ /forum/index.php?c=$1 [QSA,L]
# PAGINATED FORUM
RewriteRule ^forum/forum([0-9]+)-([0-9]+)\.html$ /forum/viewforum.php?f=$1&start=$2 [QSA,L]
# FORUM
RewriteRule ^forum/forum([0-9]+)\.html$ /forum/viewforum.php?f=$1 [QSA,L]
# PAGINATED TOPIC
RewriteRule ^forum/topic([0-9]+)-([0-9]+)\.html$ /forum/viewtopic.php?t=$1&start=$2 [QSA,L]
# TOPIC
RewriteRule ^forum/topic([0-9]+)\.html$ /forum/viewtopic.php?t=$1 [QSA,L]
#####################################################
#####################################################
# PHPBB SEO REWRITE RULES - SIMPLE
#####################################################
# 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/forum\.html$ /forum/index.php [QSA,L,NC]
# FORUM
RewriteRule ^forum/forum([0-9]+)(-([0-9]+))?/$ /forum/viewforum.php?f=$1&start=$3 [QSA,L,NC]
# TOPIC WITH VIRTUAL FOLDER
RewriteRule ^forum/forum([0-9]+)/topic(-([0-9]+))?\.html$ /forum/viewtopic.php?f=$1&t=$2&start=$4 [QSA,L,NC]
# GLOBAL ANNOUNCES WITH VIRTUAL FOLDER
RewriteRule ^forum/announces/topic([0-9]+)(-([0-9]+))?\.html$ /forum/viewtopic.php?t=$1&start=$3 [QSA,L,NC]
# TOPIC WITHOUT FORUM ID & DELIM
RewriteRule ^forum/[a-z0-9_-]*/?topic([0-9]+)(-([0-9]+))?\.html$ /forum/viewtopic.php?t=$1&start=$3 [QSA,L,NC]
# POST
RewriteRule ^forum/post([0-9]+)\.html$ /forum/viewtopic.php?p=$1 [QSA,L,NC]
#PROFILES
RewriteRule ^forum/member([0-9]+)\.html$ /forum/memberlist.php?mode=viewprofile&u=$1 [QSA,L,NC]
# THE TEAM
RewriteRule ^forum/the-team\.html$ /forum/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 ^forum/[a-z0-9_-]+(-([0-9]+))?/$ /forum/viewforum.php?start=$2 [QSA,L,NC]
# END PHPBB PAGES
#####################################################
|
 |
_________________ برامج |برامج مجانية|العاب |
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13354
|
Posted: Sun Oct 07, 2007 1:36 pm Post subject: Re: forum not found |
|
|
| dcz wrote: |
I think the best thing to do now would be to go for the regular standard and to redirect the old pagination links.
|
Really.
All this is coming from the fact you installed a beta version on a live board. And because you are using "/" as forum url suffixes without virtual folder option, which is not the most obvious setting.
But this does not explains why your pagination links are not properly working.
So if you really want to stick to this pagination standard, you will have to tweak the pagination code in includes/functions.php.
| Code: | | $page_string = preg_replace(array('`(\.[a-z0-9]+)(&|\?)start=([0-9]+)`i', '`(/)(&|\?)start=([0-9]+)`i'), array($phpbb_seo->seo_delim['start'] . '\\3\\1', '\\1' . $phpbb_seo->seo_static['pagination'] . '\\3' . $phpbb_seo->seo_ext['pagination']), $page_string); |
Should in your case be :
| Code: |
$page_string = preg_replace('`(/)(&|\?)start=([0-9]+)`i', $phpbb_seo->seo_delim['start'] . '\\3\\1', $page_string); |
You would need to always take care about this personalization when installing next updates.
That's why I think you should go for the regular, and by the way better, default standard : forum-url/pagexx.html
To go for it, you would only need to replace :
| Code: | | RewriteRule ^forum/forum([0-9]+)(-([0-9]+))?/$ /forum/viewforum.php?f=$1&start=$3 [QSA,L,NC] |
With :
| Code: | # FORUM
RewriteRule ^forum([0-9]+)(/?page([0-9]+)\.html|-([0-9]+)/?)?$ viewforum.php?f=$1&start=$3 [QSA,L,NC] |
To properly handle all cases.
++ |
_________________ 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 |
|
 |
mhmdkhamis PR4

Joined: 26 Nov 2006 Posts: 436 Location: egypt
|
Posted: Sun Oct 07, 2007 6:16 pm Post subject: Re: forum not found |
|
|
i do that but i got forum not found this once
like that
-http://www.paramegsoft.com/forum/forum1/
when i used
new .htacces rewrite to forums without and with editeng in .htacces
and topics be like that (when i put mouse on the page number) from topic page
-http://www.paramegsoft.com/forum/topic19768.html?start=15
but when i click on it it redirct to
-http://www.paramegsoft.com/forum/topic19768-15.html
*when i be in the forum page and put mouse on page topic it appear
-http://www.paramegsoft.com/forum/topic19768-15.html
*that when used new functions tweak
you can look now dcz alive after install pageination to forums again  |
_________________ برامج |برامج مجانية|العاب |
|
| Back to top |
|
 |
mhmdkhamis PR4

Joined: 26 Nov 2006 Posts: 436 Location: egypt
|
Posted: Sun Oct 07, 2007 10:25 pm Post subject: Re: forum not found |
|
|
what do you see best dcz
still with my links like
-http://www.paramegsoft.com/forum/forum31/
or like
http://www.paramegsoft.com/forum/forum31.html
i was have page rank 3 to all my forums with .html
i redirct it when we used phpbb3 and i know rank will redirct too when google will update
i dont want changing my links every some months to dont get out google sandbox
i need your advice dcz |
_________________ برامج |برامج مجانية|العاب |
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13354
|
|
| Back to top |
|
 |
mhmdkhamis PR4

Joined: 26 Nov 2006 Posts: 436 Location: egypt
|
Posted: Tue Oct 09, 2007 7:18 pm Post subject: Re: forum not found |
|
|
| dcz wrote: | Sorry, I forgot a slash :
| Code: | # FORUM
RewriteRule ^forum([0-9]+)(/?page([0-9]+)\.html|-([0-9]+)/?)?/?$ viewforum.php?f=$1&start=$3 [QSA,L,NC] |
Should handle all case and allow you to go back to the default
++ |
same problem too
forum not found
after i changed
| Code: |
RewriteRule ^forum/forum([0-9]+)(-([0-9]+))?/$ /forum/viewforum.php?f=$1&start=$3 [QSA,L,NC]
|
with
| Code: |
RewriteRule ^forum([0-9]+)(/?page([0-9]+)\.html|-([0-9]+)/?)?/?$ viewforum.php?f=$1&start=$3 [QSA,L,NC]
|
without edite in functions.php and with edite
does that becouse i edited in phpbb_seo_class.php "html">>"/"
i prefear still with my forums like now
but what about
| Quote: |
and topics be like that (when i put mouse on the page number) from topic page
-http://www.paramegsoft.com/forum/topic19768.html?start=15
but when i click on it it redirct to
-http://www.paramegsoft.com/forum/topic19768-15.html
|
rc 6 will realease soon i will try when update install fresh php files then intall the mods  |
_________________ برامج |برامج مجانية|العاب |
|
| Back to top |
|
 |
|
|