forum not found

phpBB3 SEO Simple mod Rewrite support forum. This mods performs URL rewriting for phpBB3 in a static way.

Moderator: Moderators

Postby mhmdkhamis » Wed Oct 10, 2007 2:42 am

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 :?
mhmdkhamis
PR4
PR4
 
Posts: 437
Joined: Sun Nov 26, 2006 11:15 pm
Location: egypt

Advertisement

Postby dcz » Thu Oct 11, 2007 8:04 am

mm, the ending slash should match.

You could try :
Code: Select all
# FORUM
RewriteRule ^forum([0-9]+)/?(page([0-9]+)\.html|-([0-9]+)/?)?$ viewforum.php?f=$1&start=$3 [QSA,L,NC]


instead.

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21238
Joined: Fri Apr 28, 2006 9:03 pm

Postby mhmdkhamis » Thu Oct 11, 2007 4:30 pm

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

:cry:
mhmdkhamis
PR4
PR4
 
Posts: 437
Joined: Sun Nov 26, 2006 11:15 pm
Location: egypt

Postby mhmdkhamis » Thu Oct 11, 2007 4:56 pm

dcz wrote:mm, the ending slash should match.

You could try :
Code: Select all
# FORUM
RewriteRule ^forum([0-9]+)/?(page([0-9]+)\.html|-([0-9]+)/?)?$ viewforum.php?f=$1&start=$3 [QSA,L,NC]


instead.

++


not found again

i prefear to stell with my links now dcz

but please give me soulatios to this

http://www.phpbb-seo.com/boards/simple- ... html#11893
mhmdkhamis
PR4
PR4
 
Posts: 437
Joined: Sun Nov 26, 2006 11:15 pm
Location: egypt

Postby mhmdkhamis » Sat Oct 20, 2007 10:37 am

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

:cry:


after i update to RC7 and changed functions code to

Code: Select all
$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 :cry:
mhmdkhamis
PR4
PR4
 
Posts: 437
Joined: Sun Nov 26, 2006 11:15 pm
Location: egypt

Postby SeO » Sat Oct 20, 2007 2:19 pm

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.
SeO
Admin
Admin
 
Posts: 6333
Joined: Wed Mar 15, 2006 9:41 pm

Postby mhmdkhamis » Sat Oct 20, 2007 2:47 pm

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: Select all
#########################################################
# 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
mhmdkhamis
PR4
PR4
 
Posts: 437
Joined: Sun Nov 26, 2006 11:15 pm
Location: egypt

Postby mhmdkhamis » Sat Oct 20, 2007 3:03 pm

when i gone to standard now

my forums be like that

http://www.paramegsoft.com/forum/forum2.html

and my page.

-http://www.paramegsoft.com/forum/forum2-64.html

does this is true now?
mhmdkhamis
PR4
PR4
 
Posts: 437
Joined: Sun Nov 26, 2006 11:15 pm
Location: egypt

Postby SeO » Sat Oct 20, 2007 3:09 pm

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.
SeO
Admin
Admin
 
Posts: 6333
Joined: Wed Mar 15, 2006 9:41 pm

Postby mhmdkhamis » Sat Oct 20, 2007 3:13 pm

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/
mhmdkhamis
PR4
PR4
 
Posts: 437
Joined: Sun Nov 26, 2006 11:15 pm
Location: egypt

Postby SeO » Sat Oct 20, 2007 3:17 pm

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: Select all
# FORUM
RewriteRule ^forum/forum([0-9]+)(-([0-9]+))?/$ /forum/viewforum.php?f=$1&start=$3 [QSA,L,NC]


With :

Code: Select all
# 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.
SeO
Admin
Admin
 
Posts: 6333
Joined: Wed Mar 15, 2006 9:41 pm

Postby mhmdkhamis » Sat Oct 20, 2007 3:22 pm

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: Select all
# FORUM
RewriteRule ^forum/forum([0-9]+)(-([0-9]+))?/$ /forum/viewforum.php?f=$1&start=$3 [QSA,L,NC]


With :

Code: Select all
# 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 :wink:
mhmdkhamis
PR4
PR4
 
Posts: 437
Joined: Sun Nov 26, 2006 11:15 pm
Location: egypt

Postby SeO » Sat Oct 20, 2007 3:24 pm

SeO
Admin
Admin
 
Posts: 6333
Joined: Wed Mar 15, 2006 9:41 pm

Postby mhmdkhamis » Sat Oct 20, 2007 3:26 pm



:D

i hope google make redirct fast becousr PR update soon :wink:
mhmdkhamis
PR4
PR4
 
Posts: 437
Joined: Sun Nov 26, 2006 11:15 pm
Location: egypt

Previous

Return to Simple SEO URL

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 5 guests