phpBB SEO
Boards
Directory  
SEO  
Downloads
  phpBB SEO : Search Engine Optimization, Directory, Forums  
Index
Forums
Annuaire
Référencement
Télécharger
 
  Search Rechercher
    Register
Username :  Password :  Log me on automatically each visit  
S'enregistrer  
 
   
forum not found
Goto page Previous  1, 2
 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB3 mod Rewrite  » Simple SEO URL
::  
Author Message
mhmdkhamis
PR4
PR4


Joined: 26 Nov 2006
Posts: 436
Location: egypt

forum not foundPosted: 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 Confused

_________________
برامج |برامج مجانية|العاب
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14814

forum not foundPosted: Thu Oct 11, 2007 8:04 am    Post subject: Re: forum not found

mm, the ending slash should match.

You could try :
Code:

# 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 || 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
Visit poster's website
mhmdkhamis
PR4
PR4


Joined: 26 Nov 2006
Posts: 436
Location: egypt

forum not foundPosted: 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 Confused


what about it dcz

Crying or Very sad

_________________
برامج |برامج مجانية|العاب
Back to top
Visit poster's website
mhmdkhamis
PR4
PR4


Joined: 26 Nov 2006
Posts: 436
Location: egypt

forum not foundPosted: Thu Oct 11, 2007 4:56 pm    Post subject: Re: forum not found

dcz wrote:
mm, the ending slash should match.

You could try :
Code:

# 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-seo-url/discussions-vt1627-15.html#11893

_________________
برامج |برامج مجانية|العاب
Back to top
Visit poster's website
mhmdkhamis
PR4
PR4


Joined: 26 Nov 2006
Posts: 436
Location: egypt

forum not foundPosted: 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 Confused


what about it dcz

Crying or Very sad


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 Crying or Very sad

_________________
برامج |برامج مجانية|العاب
Back to top
Visit poster's website
SeO
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 15 Mar 2006
Posts: 3482

forum not foundPosted: 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
PR4


Joined: 26 Nov 2006
Posts: 436
Location: egypt

forum not foundPosted: 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
Visit poster's website
mhmdkhamis
PR4
PR4


Joined: 26 Nov 2006
Posts: 436
Location: egypt

forum not foundPosted: Sat Oct 20, 2007 3:03 pm    Post subject: Re: forum not found

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?

_________________
برامج |برامج مجانية|العاب
Back to top
Visit poster's website
SeO
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 15 Mar 2006
Posts: 3482

forum not foundPosted: 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
PR4


Joined: 26 Nov 2006
Posts: 436
Location: egypt

forum not foundPosted: 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 Sad

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
Visit poster's website
SeO
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 15 Mar 2006
Posts: 3482

forum not foundPosted: 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
PR4


Joined: 26 Nov 2006
Posts: 436
Location: egypt

forum not foundPosted: 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 Wink

_________________
برامج |برامج مجانية|العاب
Back to top
Visit poster's website
SeO
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 15 Mar 2006
Posts: 3482

forum not foundPosted: Sat Oct 20, 2007 3:24 pm    Post subject: Re: forum not found

And it is working Very Happy
http://www.paramegsoft.com/forum/forum1/
http://www.paramegsoft.com/forum/forum1-64/

Wink

_________________
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
PR4


Joined: 26 Nov 2006
Posts: 436
Location: egypt

forum not foundPosted: Sat Oct 20, 2007 3:26 pm    Post subject: Re: forum not found

SeO wrote:
And it is working Very Happy
http://www.paramegsoft.com/forum/forum1/
http://www.paramegsoft.com/forum/forum1-64/

Wink


Very Happy

i hope google make redirct fast becousr PR update soon Wink

_________________
برامج |برامج مجانية|العاب
Back to top
Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB3 mod Rewrite  » Simple SEO URL
Page 2 of 2 Goto page Previous  1, 2

Navigation Similar Topics

Jump to: