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 IDs still present

 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB3 Forum
::  
Author Message
spaceeddie



Joined: 13 Jan 2008
Posts: 6

Forum IDs still presentPosted: Sun Jan 13, 2008 6:41 pm    Post subject: Forum IDs still present

Thanks to everyone for creating this mod. It looks like it was a lot of hard work.

I've installed the phpbb3 SEO premod. The install appeared to go just fine, but I have noticed that the forum and topic IDs are still appearing even though I believe I have disabled this. I have also tried clearing cache.

Here is my current .htaccess:

Code:
# This line was here originally

php_flag short_open_tag off

# Everything below this line is from 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 - ADVANCED
#####################################################
# AUTHOR : dcz www.phpbb-seo.com
# STARTED : 01/2006
#################################
# FORUMS PAGES
###############
# FORUM INDEX
RewriteRule ^forum\.html$ /forums/index.php [QSA,L,NC]
# FORUM
RewriteRule ^[a-z0-9_-]*-f([0-9]+)/?(page([0-9]+)\.html)?$ /forums/viewforum.php?f=$1&start=$3 [QSA,L,NC]
# TOPIC WITH VIRTUAL FOLDER
RewriteRule ^[a-z0-9_-]*-f([0-9]+)/[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ /forums/viewtopic.php?f=$1&t=$2&start=$4 [QSA,L,NC]
# GLOBAL ANNOUNCES WITH VIRTUAL FOLDER
RewriteRule ^announces/[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ /forums/viewtopic.php?t=$1&start=$3 [QSA,L,NC]
# TOPIC WITHOUT FORUM ID & DELIM
RewriteRule ^[a-z0-9_-]*/?[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ /forums/viewtopic.php?t=$1&start=$3 [QSA,L,NC]
# PROFILES THROUGH USERNAME
RewriteRule ^member/([^/]+)/?$ /forums/memberlist.php?mode=viewprofile&un=$1 [QSA,L,NC]
# USER MESSAGES THROUGH USERNAME
RewriteRule ^messages/([^/]+)/?(page([0-9]+)\.html)?$ /forums/search.php?author=$1&sr=posts&start=$3 [QSA,L,NC]
# GROUPS ADVANCED
RewriteRule ^[a-z0-9_-]*-g([0-9]+)(-([0-9]+))?\.html$ /forums/memberlist.php?mode=group&g=$1&start=$3 [QSA,L,NC]
# POST
RewriteRule ^post([0-9]+)\.html$ /forums/viewtopic.php?p=$1 [QSA,L,NC]
# THE TEAM
RewriteRule ^the-team\.html$ /forums/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 ^[a-z0-9_-]+/?(page([0-9]+)\.html)?$ /forums/viewforum.php?start=$2 [QSA,L,NC]
# END PHPBB PAGES
#####################################################


Is there anything here that I need to do differently. Aside from this, the SEO mod seems to be working (as far as I am able to tell).

Thanks!
Back to top
spaceeddie



Joined: 13 Jan 2008
Posts: 6

Forum IDs still presentPosted: Sun Jan 13, 2008 10:41 pm    Post subject: Re: Forum IDs still present

I've found that if I hit "submit" from "Forum URL Management," it removes the forum IDs (but not the topics).

However, now 1 out of 4 forums no longer loads successfully, even if I put in the exact URL (including the forum ID).
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15242

Forum IDs still presentPosted: Sun Jan 13, 2008 10:44 pm    Post subject: Re: Forum IDs still present

When you activate the forum ID removing, Id will actually be taken off the forum's urls that are in the cache.
So you need to configure all you forum custom urls before you won't see them any more, and don't worry, the zero duplicate will HTTP 301 the url with IDs to the one without. But, it won't be the case if you later change a forum url without id. So you need to carefully choose your forum urls, take your time.
It's of course still possible to implement custom redirection for such cases, but it can only be done on a per case basis.

Then, there is no topic id removing.

++

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



Joined: 13 Jan 2008
Posts: 6

Forum IDs still presentPosted: Sun Jan 13, 2008 10:53 pm    Post subject: Re: Forum IDs still present

Thanks. I tried completely deleting and recreating the affected forum with the same name. It still is unable to find it. If I remove the cache entry for this forum, it works again (albeit, with the forum id). I wonder what it could be about this forum that it doesn't like.
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15242

Forum IDs still presentPosted: Sun Jan 13, 2008 11:14 pm    Post subject: Re: Forum IDs still present

How, you mean this only concerns one forum ?

Could be because of a duplicate one (another forum using the same url), or because the url you set up ends with -xx where xx are numbers. Or even because you used the forum static default ("forum" by default) or the announce virtual forum static default (for announces/topic-title-txx.html in virtual folder mode, default is "announces").

++

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



Joined: 13 Jan 2008
Posts: 6

Forum IDs still presentPosted: Sun Jan 13, 2008 11:17 pm    Post subject: Re: Forum IDs still present

the forum is called "music"

Are there any known problems with forums of this name? There are no other forums of this name on the board.
Back to top
spaceeddie



Joined: 13 Jan 2008
Posts: 6

Forum IDs still presentPosted: Sun Jan 13, 2008 11:25 pm    Post subject: Re: Forum IDs still present

Ah HA.

I turns out that I had a file sitting in the domain root called "music"
I think this was confusing the SEO mode.

Thanks for your help!
Back to top
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB3 Forum
Page 1 of 1

Navigation Similar Topics

Jump to: