| :: |
| Author |
Message |
mhmdkhamis PR4

Joined: 26 Nov 2006 Posts: 436 Location: egypt
|
Posted: Wed Oct 10, 2007 2:42 am Post subject: Re: forum not found |
|
|
another problem dcz
my forums was redirct
when it was like that
-http://www.paramegsoft.com/forum/forum77
to
-http://www.paramegsoft.com/forum/forum77/
now it cant doing  |
_________________ برامج |برامج مجانية|العاب |
|
| Back to top |
|
 |
|
 |
dcz Administrateur - Site Admin

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

Joined: 26 Nov 2006 Posts: 436 Location: egypt
|
Posted: Thu Oct 11, 2007 4:30 pm Post subject: Re: forum not found |
|
|
| mhmdkhamis wrote: | another problem dcz
my forums was redirct
when it was like that
-http://www.paramegsoft.com/forum/forum77
to
-http://www.paramegsoft.com/forum/forum77/
now it cant doing  |
what about it dcz
 |
_________________ برامج |برامج مجانية|العاب |
|
| 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: Sat Oct 20, 2007 10:37 am Post subject: Re: forum not found |
|
|
| mhmdkhamis wrote: | | mhmdkhamis wrote: | another problem dcz
my forums was redirct
when it was like that
-http://www.paramegsoft.com/forum/forum77
to
-http://www.paramegsoft.com/forum/forum77/
now it cant doing  |
what about it dcz
 |
after i update to RC7 and changed functions code to
| Code: |
$page_string = preg_replace('`(/)(&|\?)start=([0-9]+)`i', $phpbb_seo->seo_delim['start'] . '\\3\\1', $page_string);
|
i stell have this problem dcz
please help me  |
_________________ برامج |برامج مجانية|العاب |
|
| Back to top |
|
 |
SeO Administrateur - Site Admin

Joined: 15 Mar 2006 Posts: 3482
|
Posted: Sat Oct 20, 2007 2:19 pm Post subject: Re: forum not found |
|
|
The thing is I'm not sure anymore about what are you willing to do.
The code change you mention was only an hint to be able to keep your custom pagination standard, which was due to the fact your went online with a private beta/test version of the mod.
My advice is to go back to the standard pagination or to start using .html instead of / as your forum url suffixes, since this would only mean to redirect your forums, not the topic and that it would make things a lot easier for the future.
This would only imply few rewriterules in your .htaccess to allow the redirecting. I'd be happy to provide you with the rewriterules, but I need to clearly understand what are your plan. |
_________________ 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 |
|
 |
mhmdkhamis PR4

Joined: 26 Nov 2006 Posts: 436 Location: egypt
|
Posted: Sat Oct 20, 2007 2:47 pm Post subject: Re: forum not found |
|
|
| SeO wrote: | The thing is I'm not sure anymore about what are you willing to do.
The code change you mention was only an hint to be able to keep your custom pagination standard, which was due to the fact your went online with a private beta/test version of the mod.
My advice is to go back to the standard pagination or to start using .html instead of / as your forum url suffixes, since this would only mean to redirect your forums, not the topic and that it would make things a lot easier for the future.
This would only imply few rewriterules in your .htaccess to allow the redirecting. I'd be happy to provide you with the rewriterules, but I need to clearly understand what are your plan. |
i tried to go to standard but i got many problems
now dcz iam running on RC7 with smpl_phpbb3_mod_rewriteV0-4-0RC2
i am only changed the functions code
this my .htacess
| Code: |
#########################################################
# PHPBB SEO REWRITE RULES #
#########################################################
# AUTHOR : DCZ
# 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
#####################################################
|
really i afraid of changing my forums urls again becouse google will think iam playing with him and may be dont be trust in my urls
i will go to standrd but i want to stell with my forums like that
-http://www.paramegsoft.com/forum/forum1/
and pagenations like that if you see that best dcz
-http://www.paramegsoft.com/forum/forum1/page64.html
but i need what i should edite to go to paginations like that
-http://www.paramegsoft.com/forum/forum1/page64.html
-the problem when i was running on the beta version my links was redirct from
-http://www.paramegsoft.com/forum/forum1
to
-http://www.paramegsoft.com/forum/forum1/
but now it cant
and i have many links in many sites like that
-http://www.paramegsoft.com/forum/forum1 |
_________________ برامج |برامج مجانية|العاب |
|
| Back to top |
|
 |
mhmdkhamis PR4

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

Joined: 15 Mar 2006 Posts: 3482
|
Posted: Sat Oct 20, 2007 3:09 pm Post subject: Re: forum not found |
|
|
Yes, it's the regular standard.
But you currently have an error going on, seems that you miss the phpbb_seo/phpbb_seo_class.php file.
Please confirm it's the one you'll be using and I'll give your the rewriterule to mod in order to redirect the previous forumxx/ URLs to forumxx.html. |
_________________ 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 |
|
 |
mhmdkhamis PR4

Joined: 26 Nov 2006 Posts: 436 Location: egypt
|
Posted: Sat Oct 20, 2007 3:13 pm Post subject: Re: forum not found |
|
|
| SeO wrote: | Yes, it's the regular standard.
But you currently have an error going on, seems that you miss the phpbb_seo/phpbb_seo_class.php file.
Please confirm it's the one you'll be using and I'll give your the rewriterule to mod in order to redirect the previous forumxx/ URLs to forumxx.html. |
it redirct already dcz
check it and tell me please
http://www.paramegsoft.com/forum/forum1/
-please tell me dcz if i can stell using my forums links like that
-http://www.paramegsoft.com/forum/forum1/ |
_________________ برامج |برامج مجانية|العاب |
|
| Back to top |
|
 |
SeO Administrateur - Site Admin

Joined: 15 Mar 2006 Posts: 3482
|
Posted: Sat Oct 20, 2007 3:17 pm Post subject: Re: forum not found |
|
|
| mhmdkhamis wrote: |
it redirct already dcz
|
Looks like not.
It's a 404, but I cannot really check, because you board is currently disabled (have you deleted the install/ folder after you updated ?).
To redirect the forumxx/ to forumxx.html pagination included, you just need to replace :
| Code: | # FORUM
RewriteRule ^forum/forum([0-9]+)(-([0-9]+))?/$ /forum/viewforum.php?f=$1&start=$3 [QSA,L,NC] |
With :
| Code: | # FORUM
RewriteRule ^forum/forum([0-9]+)(-([0-9]+))?(\.html|/)$ /forum/viewforum.php?f=$1&start=$3 [QSA,L,NC] |
The zero duplicate will do the rest. |
_________________ 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 |
|
 |
mhmdkhamis PR4

Joined: 26 Nov 2006 Posts: 436 Location: egypt
|
Posted: Sat Oct 20, 2007 3:22 pm Post subject: Re: forum not found |
|
|
| SeO wrote: | | mhmdkhamis wrote: |
it redirct already dcz
|
Looks like not.
It's a 404, but I cannot really check, because you board is currently disabled (have you deleted the install/ folder after you updated ?).
To redirect the forumxx/ to forumxx.html pagination included, you just need to replace :
| Code: | # FORUM
RewriteRule ^forum/forum([0-9]+)(-([0-9]+))?/$ /forum/viewforum.php?f=$1&start=$3 [QSA,L,NC] |
With :
| Code: | # FORUM
RewriteRule ^forum/forum([0-9]+)(-([0-9]+))?(\.html|/)$ /forum/viewforum.php?f=$1&start=$3 [QSA,L,NC] |
The zero duplicate will do the rest. |
yes i deleted it
i will open forum now you can check it  |
_________________ برامج |برامج مجانية|العاب |
|
| Back to top |
|
 |
SeO Administrateur - Site Admin

Joined: 15 Mar 2006 Posts: 3482
|
|
| Back to top |
|
 |
mhmdkhamis PR4

Joined: 26 Nov 2006 Posts: 436 Location: egypt
|
Posted: Sat Oct 20, 2007 3:26 pm Post subject: Re: forum not found |
|
|
i hope google make redirct fast becousr PR update soon  |
_________________ برامج |برامج مجانية|العاب |
|
| Back to top |
|
 |
|
|