SEO help -viewtopic.php

phpBB3 SEO Advanced mod Rewrite support forum.
This mods performs URL rewriting for phpBB, injecting forums and topic titles in their URLs.

Moderator: Moderators

SEO help -viewtopic.php

Postby Serangan » Tue Feb 12, 2008 7:52 am

Hi,

on my board (phpbb3) the seo advanced 3.0.0 wont translate viewtopic.php to {title name}.html

its tanslates catergories.


Code: Select all
<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 WOULD STAND HERE IF USED. 'forum' REQUIRES TO BE SET AS FORUM INDEX
RewriteRule ^forum\.html$ /index.php [QSA,L,NC]
# FORUM
RewriteRule ^[a-z0-9_-]*-f([0-9]+)(-([0-9]+))?\.html$ /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$ /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$ /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$ /viewtopic.php?t=$1&start=$3 [QSA,L,NC]
# PROFILES THROUGH USERNAME
RewriteRule ^member/([^/]+)/?$ /memberlist.php?mode=viewprofile&un=$1 [QSA,L,NC]
# USER MESSAGES THROUGH USERNAME
RewriteRule ^messages/([^/]+)/?(page([0-9]+)\.html)?$ /search.php?author=$1&sr=posts&start=$3 [QSA,L,NC]
# GROUPS ADVANCED
RewriteRule ^[a-z0-9_-]*-g([0-9]+)(-([0-9]+))?\.html$ /memberlist.php?mode=group&g=$1&start=$3 [QSA,L,NC]
# POST
RewriteRule ^(post|[a-z0-9_-]*-vp)([0-9]+)\.html$ viewtopic.php?p=$2 [QSA,L,NC]
# THE TEAM
RewriteRule ^the-team\.html$ /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_-]+(-([0-9]+))?\.html$ /viewforum.php?start=$2 [QSA,L,NC]
# END PHPBB PAGES
#####################################################

ErrorDocument 400 /error.php?mode=400
ErrorDocument 401 /error.php?mode=401
ErrorDocument 403 /error.php?mode=403
ErrorDocument 404 /error.php?mode=404
ErrorDocument 500 /error.php?mode=500



thanks in advanced.


-Serangan
Serangan
 
Posts: 4
Joined: Tue Feb 12, 2008 7:45 am

Advertisement

Re: SEO help -viewtopic.php

Postby SeO » Tue Feb 12, 2008 8:28 am

Serangan wrote:its tanslates catergories.


I'm not sure to fully get it.

If some link are not rewritten in index.php, viewforum.php or viewtopic.php view, it's not related to the .htaccess, it's most likely due to some mistakes while editing the files.
SeO
Admin
Admin
 
Posts: 6334
Joined: Wed Mar 15, 2006 9:41 pm

Postby Serangan » Tue Feb 12, 2008 8:33 am

I used the already modified files, just copied it across. is this wrong?

and when i mean catergories its like the "phpBB3 mod Rewrite" catergory your have.
Serangan
 
Posts: 4
Joined: Tue Feb 12, 2008 7:45 am

Postby SeO » Tue Feb 12, 2008 8:43 am

A link to your forum would help now to better understand the issue.
SeO
Admin
Admin
 
Posts: 6334
Joined: Wed Mar 15, 2006 9:41 pm

Postby Serangan » Tue Feb 12, 2008 9:06 am

http://forums.radium226gaming.net/

^^link^^

and

topic in news and feed back
http://forums.radium226gaming.net/viewt ... p?f=5&t=25

news and feed back catergory
http://forums.radium226gaming.net/news- ... pport.html

also
http://forums.radium226gaming.net/serangan-u2.html < doesnt work but it doesnt do the seo thing on all members.
Serangan
 
Posts: 4
Joined: Tue Feb 12, 2008 7:45 am

Postby SeO » Tue Feb 12, 2008 10:06 am

mmm.

Try to manually check the viewforum.php file, to make sure that everything is where it should.
SeO
Admin
Admin
 
Posts: 6334
Joined: Wed Mar 15, 2006 9:41 pm

Postby Serangan » Wed Feb 13, 2008 6:36 am

THANK YOU, its fixed, i just replaced all the seo edits in viewforum.php and it works.

GREAT MOD, but you might want to check viewforum.php now, and see if it was a one off or not. just a suggestsion.
Serangan
 
Posts: 4
Joined: Tue Feb 12, 2008 7:45 am

Postby SeO » Wed Feb 13, 2008 6:01 pm

Will do ;)
SeO
Admin
Admin
 
Posts: 6334
Joined: Wed Mar 15, 2006 9:41 pm


Return to Advanced SEO URL

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 3 guests