forum-title-fxx/topic-title-txx.html

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

Moderator: Moderators

forum-title-fxx/topic-title-txx.html

Postby francy587 » Mon Jan 04, 2010 1:10 am

hi guys, i have some problem with google for the advanced rewrite mod for phpbb 3.0.6, the rewrite mode work really fine, you can see it in http://www.mercatinovideogiochi.com.

the problem is that i would like -http://www.example.com/forum-title/topic-title-txx.html instead of -http://www.example.com/topic-title-txx.html , i have been tried for a lot of time during these days changing the options like "virtual folder" on acp panel control, but nothing!

could somebody help me?

i'm a little bit desperate!!:-(

thanks in advance

this is my htaccess:


Code: Select all
   # 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 lines
    # Options +FollowSymlinks
    # To make sure that rewritten dir or file (/|.html) will not load dir.php in case it exist
    # Options -MultiViews
    # REMEBER YOU ONLY NEED TO STARD MOD REWRITE ONCE
    RewriteEngine On
    # REWRITE BASE
    RewriteBase /
    # HERE IS A GOOD PLACE TO FORCE CANONICAL DOMAIN
    # RewriteCond %{HTTP_HOST} !^www\.mercatinovideogiochi\.com$ [NC]
    # RewriteRule ^(.*)$ http://www.mercatinovideogiochi.com/$1 [QSA,L,R=301]

    # DO NOT GO FURTHER IF THE REQUESTED FILE / DIR DOES EXISTS
    RewriteCond %{REQUEST_FILENAME} -f
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule . - [L]
    #####################################################
    # PHPBB SEO REWRITE RULES ALL MODES
    #####################################################
    # AUTHOR : dcz http://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 ALL MODES
    RewriteRule ^(forum|[a-z0-9_-]*-f)([0-9]+)(-([0-9]+))?\.html$ /viewforum.php?f=$2&start=$4 [QSA,L,NC]
    # TOPIC WITH VIRTUAL FOLDER ALL MODES
    RewriteRule ^(forum|[a-z0-9_-]*-f)([0-9]+)/(topic|[a-z0-9_-]*-t)([0-9]+)(-([0-9]+))?\.html$ /viewtopic.php?f=$2&t=$4&start=$6 [QSA,L,NC]
    # GLOBAL ANNOUNCES WITH VIRTUAL FOLDER ALL MODES
    RewriteRule ^announces/(topic|[a-z0-9_-]*-t)([0-9]+)(-([0-9]+))?\.html$ /viewtopic.php?t=$2&start=$4 [QSA,L,NC]
    # TOPIC WITHOUT FORUM ID & DELIM ALL MODES
    RewriteRule ^([a-z0-9_-]*)/?(topic|[a-z0-9_-]*-t)([0-9]+)(-([0-9]+))?\.html$ /viewtopic.php?forum_uri=$1&t=$3&start=$5 [QSA,L,NC]
    # PHPBB FILES ALL MODES
    RewriteRule ^resources/[a-z0-9_-]+/(thumb/)?([0-9]+)$ /download/file.php?id=$2&t=$1 [QSA,L,NC]
    # PROFILES ALL MODES WITH ID
    RewriteRule ^(member|[a-z0-9_-]*-u)([0-9]+)\.html$ /memberlist.php?mode=viewprofile&u=$2 [QSA,L,NC]
    # USER MESSAGES ALL MODES WITH ID
    RewriteRule ^(member|[a-z0-9_-]*-u)([0-9]+)-(topics|posts)(-([0-9]+))?\.html$ /search.php?author_id=$2&sr=$3&start=$5 [QSA,L,NC]
    # GROUPS ALL MODES
    RewriteRule ^(group|[a-z0-9_-]*-g)([0-9]+)(-([0-9]+))?\.html$ /memberlist.php?mode=group&g=$2&start=$4 [QSA,L,NC]
    # POST
    RewriteRule ^post([0-9]+)\.html$ /viewtopic.php?p=$1 [QSA,L,NC]
    # ACTIVE TOPICS
    RewriteRule ^active-topics(-([0-9]+))?\.html$ /search.php?search_id=active_topics&start=$2&sr=topics [QSA,L,NC]
    # UNANSWERED TOPICS
    RewriteRule ^unanswered(-([0-9]+))?\.html$ /search.php?search_id=unanswered&start=$2&sr=topics [QSA,L,NC]
    # NEW POSTS
    RewriteRule ^newposts(-([0-9]+))?\.html$ /search.php?search_id=newposts&start=$2&sr=topics [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

    #####################################################
    # GYM Sitemaps & RSS
    # Global channels
    RewriteRule ^rss(/(news)+)?(/(digest)+)?(/(short|long)+)?/?$ /gymrss.php?channels&$2&$4&$6 [QSA,L,NC]
    # HTML Global news & maps
    # NOTE : THE FOLLOWING REWRITERULE IS LEFT COMMENTED BECAUSE IT CANNOT
    # BE IMPLEMENTED IN THIS .HTACCESS, BUT RATHER IN AN ABOVE ONE
    # WITH PROPER SLASHES AND PATHS
    # RewriteRule ^(news|maps)/?(page([0-9]+)\.html)?$ /map.php?$1&start=$3 [QSA,L,NC]
    # END GYM Sitemaps & RSS
    #####################################################

    # FORUM WITHOUT ID & DELIM ALL MODES (SAME DELIM)
    # THESE FOUR LINES MUST BE LOCATED AT THE END OF YOUR HTACCESS TO WORK PROPERLY
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^([a-z0-9_-]+)(-([0-9]+))\.html$ /viewforum.php?forum_uri=$1&start=$3 [QSA,L,NC]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^([a-z0-9_-]+)\.html$ /viewforum.php?forum_uri=$1 [QSA,L,NC]
    # FIX RELATIVE PATHS : FILES
    RewriteRule ^.+/(style\.php|ucp\.php|mcp\.php|faq\.php|download/file.php)$ /$1 [QSA,L,NC,R=301]
    # FIX RELATIVE PATHS : IMAGES
    RewriteRule ^.+/(styles/.*|images/.*)/$ /$1 [QSA,L,NC,R=301]
    # END PHPBB PAGES
    #####################################################

    #####################################################
    # GYM Sitemaps & RSS
    # HTML Module additional modes
    # NOTE : THE FOLLOWING REWRITERULE IS LEFT COMMENTED BECAUSE IT CANNOT
    # BE IMPLEMENTED IN THIS .HTACCESS, BUT RATHER IN AN ABOVE ONE
    # WITH PROPER SLASHES AND PATHS
    # RewriteRule ^(news|maps)/([a-z0-9_-]+)(/([a-z0-9_-]+))?/?(page([0-9]+)\.html)?$ /map.php?$2=$4&$1&start=$6 [QSA,L,NC]
    # Main feeds & channels
    RewriteRule ^rss(/(news)+)?(/(digest)+)?(/(short|long)+)?(/([a-z0-9_-]+))?/([a-z0-9_]+)\.xml(\.gz)?$ /gymrss.php?$9=$8&$2&$4&$6&gzip=$10 [QSA,L,NC]
    # Module feeds
    RewriteRule ^[a-z0-9_-]*-[a-z]{1,2}([0-9]+)(/(news)+)?(/(digest)+)?(/(short|long)+)?/([a-z0-9_]+)\.xml(\.gz)?$ /gymrss.php?$8=$1&$3&$5&$7&gzip=$9 [QSA,L,NC]
    # Module feeds without ids
    RewriteRule ^([a-z0-9_-]+)(/(news)+)?(/(digest)+)?(/(short|long)+)?/([a-z0-9_]+)\.xml(\.gz)?$ /gymrss.php?nametoid=$1&$3&$5&$7&modulename=$8&gzip=$9 [QSA,L,NC]
    # Google SitemapIndex
    RewriteRule ^sitemapindex\.xml(\.gz)?$ /sitemap.php?gzip=$1 [QSA,L,NC]
    # Module cat sitemaps
    RewriteRule ^[a-z0-9_-]+-([a-z]{1,2})([0-9]+)\.xml(\.gz)?$ /sitemap.php?module_sep=$1&module_sub=$2&gzip=$3 [QSA,L,NC]
    # Module sitemaps
    RewriteRule ^([a-z0-9_]+)-([a-z0-9_-]+)\.xml(\.gz)?$ /sitemap.php?$1=$2&gzip=$3 [QSA,L,NC]
    # END GYM Sitemaps & RSS
    #####################################################
francy587
 
Posts: 16
Joined: Tue Feb 19, 2008 6:07 pm

Advertisement

Re: forum-title-fxx/topic-title-txx.html

Postby inetforce » Mon Jan 04, 2010 1:40 am

Activate Virtual Folder and generate the .htaccess again, then go to the cache folder and delete everything inside of it.

Give it a try.

Note: You may have to manually copy the content of the generated .htaccess file because sometimes the file will not be created automatically.
inetforce
 
Posts: 13
Joined: Sat Jan 02, 2010 3:58 pm

Re: forum-title-fxx/topic-title-txx.html

Postby francy587 » Mon Jan 04, 2010 3:05 pm

hi inteforce, yes it works!!thanks a lot!!!!! you rocks!!!!
francy587
 
Posts: 16
Joined: Tue Feb 19, 2008 6:07 pm

Re: forum-title-fxx/topic-title-txx.html

Postby saka » Sun Jan 24, 2010 10:42 am

i have exactly same problem. i thought i solve it but i checked google today. It didnt solved yet.

My topic's address is like this;
xxx.com/forum-title-fxx/topic-title-txx.html

But google index's like this;
xxx.com/topic-title-txx.html

admin panel;
Virtual Folder:
Allow to add the forum URL as a virtual folder in topic URLs. is yes.

in htaccess
# TOPIC WITH VIRTUAL FOLDER ALL MODES
RewriteRule ^(forum|[a-z0-9_-]*-f)([0-9]+)/(konu|[a-z0-9_-]*-t)([0-9]+)(-([0-9]+))?\.html$ /viewtopic.php?f=$2&t=$4&start=$6 [QSA,L,NC]
saka
 
Posts: 11
Joined: Fri Oct 05, 2007 12:12 pm

Re: forum-title-fxx/topic-title-txx.html

Postby dcz » Sun Feb 14, 2010 10:34 am

No need to add that google indexing is not real time, so it's normal to experience some delay when you change your urls.

++
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: 21376
Joined: Fri Apr 28, 2006 9:03 pm

Re: forum-title-fxx/topic-title-txx.html

Postby saka » Sun Feb 14, 2010 11:19 am

İ still have this problem. I didnt change my url's. But google indexing wrong url's.
saka
 
Posts: 11
Joined: Fri Oct 05, 2007 12:12 pm

Re: forum-title-fxx/topic-title-txx.html

Postby dcz » Sun Feb 14, 2010 1:10 pm

URL please ?
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: 21376
Joined: Fri Apr 28, 2006 9:03 pm

Re: forum-title-fxx/topic-title-txx.html

Postby saka » Sun Feb 14, 2010 2:05 pm

my url is notebook.gen.tr
saka
 
Posts: 11
Joined: Fri Oct 05, 2007 12:12 pm

Re: forum-title-fxx/topic-title-txx.html

Postby dcz » Fri Mar 12, 2010 2:39 pm

Ho but you did not install the zero duplicate, do it ASAP and remove your robots.txt in case you added it (and read ALL the install!!)
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: 21376
Joined: Fri Apr 28, 2006 9:03 pm

Re: forum-title-fxx/topic-title-txx.html

Postby luisjosue » Tue May 18, 2010 6:25 pm

i have the problem of topic i want to change topic1.html to topic-title.html www.escrambiando.com/foroseo
luisjosue
 
Posts: 2
Joined: Tue May 18, 2010 6:21 pm

Re: forum-title-fxx/topic-title-txx.html

Postby seoforum » Mon Feb 28, 2011 3:16 pm

HI,
Did any one find the solution for the last one " i have the problem of topic i want to change topic1.html to topic-title.html " . I have the same problem. Please let me know how to solve it.
seoforum
 
Posts: 2
Joined: Mon Feb 28, 2011 2:44 pm

Re: forum-title-fxx/topic-title-txx.html

Postby Ally » Sun Mar 13, 2011 1:52 am

If enabled the virtual folder, and edit the hataccess, does not give me the titles of the URL.
I remain => topic123.html

Urgent please ç_ç
Ally
 
Posts: 31
Joined: Sun Sep 05, 2010 7:12 pm

Re: forum-title-fxx/topic-title-txx.html

Postby dcz » Sun Mar 13, 2011 12:24 pm

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: 21376
Joined: Fri Apr 28, 2006 9:03 pm


Return to Advanced SEO URL

Who is online

Users browsing this forum: No registered users and 27 guests