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  
 
   
Trouble with preMod phpbb SEO

 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB3 mod Rewrite  » Mixed SEO URL
::  
Author Message
ambistia



Joined: 26 Aug 2008
Posts: 5

Trouble with preMod phpbb SEOPosted: Tue Aug 26, 2008 8:00 am    Post subject: Trouble with preMod phpbb SEO

I've spent over 12 hours trying to figure this out and I'm now completely confused.

I installed correctly. I followed the instructions through the install and all worked well.

Next I made some small changes to the phpBB SEO area, again following your directions through the process.

I tested mod rewrite to find out if it was working correctly by using your little found.html > find.html idea. Worked perfect.

I had the whole thing running GREAT, with mod rewrites occurring and the whole forum was one big happy family.

THEN....

Then I went into the dreaded "forum url management" for the first time and decided I would shorten my url's a little. I changed only 1, just 1 of these urls in the forum url management and the whole thing went to hell.

Now, phpBB loads on the forum board index, but, when I click to any other url I get 404.

Any help is much appreciated. Thanks!
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15242

Trouble with preMod phpbb SEOPosted: Thu Aug 28, 2008 7:05 am    Post subject: Re: Trouble with preMod phpbb SEO

It's an .htaccess issue, could you tell us a bit more about your settings (where is phpBB installed, and the mod rewrite options) and post your .htaccess ?

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



Joined: 26 Aug 2008
Posts: 5

Trouble with preMod phpbb SEOPosted: Fri Aug 29, 2008 10:29 am    Post subject: Re: Trouble with preMod phpbb SEO

# Lines That should already be in your .htacess
<Files "config.php">
Order Allow,Deny
Deny from All
</Files>
<Files "common.php">
Order Allow,Deny
Deny from All
</Files>

# You may need to un-comment the following line
# Options +FollowSymlinks
# REMEBER YOU ONLY NEED TO STARD MOD REWRITE ONCE
RewriteEngine On
# REWRITE BASE
RewriteBase /
# 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 ^talk/forum\.html$ /talk/index.php [QSA,L,NC]
# FORUM
RewriteRule ^talk/[a-z0-9_-]*-f([0-9]+)/?(page([0-9]+)\.html)?$ /talk/viewforum.php?f=$1&start=$3 [QSA,L,NC]
# TOPIC WITH VIRTUAL FOLDER
RewriteRule ^talk/[a-z0-9_-]*-f([0-9]+)/topic([0-9]+)(-([0-9]+))?\.html$ /talk/viewtopic.php?f=$1&t=$2&start=$4 [QSA,L,NC]
# GLOBAL ANNOUNCES WITH VIRTUAL FOLDER
RewriteRule ^talk/announces/topic([0-9]+)(-([0-9]+))?\.html$ /talk/viewtopic.php?t=$1&start=$3 [QSA,L,NC]
# TOPIC WITHOUT FORUM ID & DELIM
RewriteRule ^talk/([a-z0-9_-]*)/?topic([0-9]+)(-([0-9]+))?\.html$ /talk/viewtopic.php?forum_uri=$1&t=$2&start=$4 [QSA,L,NC]
# PROFILES THROUGH USERNAME
RewriteRule ^talk/member/([^/]+)/?$ /talk/memberlist.php?mode=viewprofile&un=$1 [QSA,L,NC]
# USER MESSAGES THROUGH USERNAME
RewriteRule ^talk/member/([^/]+)/(topics|posts)/?(page([0-9]+)\.html)?$ /talk/search.php?author=$1&sr=$2&start=$4 [QSA,L,NC]
# GROUPS ADVANCED
RewriteRule ^talk/[a-z0-9_-]*-g([0-9]+)(-([0-9]+))?\.html$ /talk/memberlist.php?mode=group&g=$1&start=$3 [QSA,L,NC]
# POST
RewriteRule ^talk/post([0-9]+)\.html$ /talk/viewtopic.php?p=$1 [QSA,L,NC]
# ACTIVE TOPICS
RewriteRule ^talk/active-topics(-([0-9]+))?\.html$ /talk/search.php?search_id=active_topics&start=$2&sr=topics [QSA,L,NC]
# UNANSWERED TOPICS
RewriteRule ^talk/unanswered(-([0-9]+))?\.html$ /talk/search.php?search_id=unanswered&start=$2&sr=topics [QSA,L,NC]
# NEW POSTS
RewriteRule ^talk/newposts(-([0-9]+))?\.html$ /talk/search.php?search_id=newposts&start=$2&sr=topics [QSA,L,NC]
# THE TEAM
RewriteRule ^talk/the-team\.html$ /talk/memberlist.php?mode=leaders [QSA,L,NC]
# HERE IS A GOOD PLACE TO ADD OTHER PHPBB RELATED REWRITERULES

# FORUM WITHOUT ID & DELIM
# THESE THREE LINES MUST BE LOCATED AT THE END OF YOUR HTACCESS TO WORK PROPERLY
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^talk/([a-z0-9_-]+)/?(page([0-9]+)\.html)?$ /talk/viewforum.php?forum_uri=$1&start=$3 [QSA,L,NC]
# END PHPBB PAGES
#####################################################
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15242

Trouble with preMod phpbb SEOPosted: Mon Sep 01, 2008 8:19 am    Post subject: Re: Trouble with preMod phpbb SEO

This .htaccess implies that phpBB is installed in example.com/talk/ and should be implemented in example.com/. You should as well make sure that there is no .htaccess in the talk/ dir.

++

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



Joined: 26 Aug 2008
Posts: 5

Trouble with preMod phpbb SEOPosted: Tue Sep 02, 2008 12:32 am    Post subject: Re: Trouble with preMod phpbb SEO

I've done this and triple checked, it's correct as you've stated.

Is there any other things I can check or try to fix? When I set Active URL Rewriting in the phpBB SEO Class setting to "no" - it works perfect. Otherwise 404 on all pages except forum index.
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15242

Trouble with preMod phpbb SEOPosted: Sat Sep 06, 2008 8:24 am    Post subject: Re: Trouble with preMod phpbb SEO

mm, how does the test rewriterule you used looks like ?

Is this .htaccess reproducing the same slashes and paths ?

It could be something like use "talk" instead of "/talk" and / or "^/" istead of "^" in the rewriterules.

++

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



Joined: 26 Aug 2008
Posts: 5

Trouble with preMod phpbb SEOPosted: Mon Sep 08, 2008 9:40 am    Post subject: keep this on topic please

I've been trying changing things around without success. However I should point out one thing as you noted above:

This line of code works perfect:
RewriteRule ^find\.html$ talk/found.html [L]
Back to top
ambistia



Joined: 26 Aug 2008
Posts: 5

Trouble with preMod phpbb SEOPosted: Sat Sep 13, 2008 1:17 am    Post subject: bump for help?

still need help, see above

thanks guys Smile
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15242

Trouble with preMod phpbb SEOPosted: Sat Sep 13, 2008 4:49 pm    Post subject: Re: keep this on topic please

ambistia wrote:

This line of code works perfect:
RewriteRule ^find\.html$ talk/found.html [L]


Then as said you just need to reproduce the same patern for slashes, eg :
Quote:
RewriteRule ^talk/[a-z0-9_-]*-f([0-9]+)/?(page([0-9]+)\.html)?$ /talk/viewforum.php?f=$1&start=$3 [QSA,L,NC]

becomes :
Quote:
RewriteRule ^talk/[a-z0-9_-]*-f([0-9]+)/?(page([0-9]+)\.html)?$ talk/viewforum.php?f=$1&start=$3 [QSA,L,NC]


and so on Wink

Or you can just use the "more options" option of the .htaccess generator and then use the right slash option to generate the proper .htaccess for you.

++

_________________
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
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB3 mod Rewrite  » Mixed SEO URL
Page 1 of 1

Navigation Similar Topics

Jump to: