Activate topic titles in post's URLS ???

Discussions and support about the different URL Rewriting techniques for phpBB2.

Moderator: Moderators

Activate topic titles in post's URLS ???

Postby schweigendeslamm » Thu Jul 31, 2008 9:00 pm

Hallo,

thank you for your great Mod!

But i have a question, how can i activate topic titles in post's URLS ?

Thank you


## Please note that this version will not inject topic titles in post's URLS. This is to make it easier
## to disallow them with our robots.txt file, since those are duplicates any way.
schweigendeslamm
 
Posts: 5
Joined: Thu Jul 31, 2008 5:33 pm

Advertisement

Postby SeO » Fri Aug 01, 2008 11:41 am

Posting once is enough : http://www.phpbb-seo.com/boards/advance ... t3005.html

So, if you are using phpBB2, we have no mod for this, but we have one for phpBB3.
SeO
Admin
Admin
 
Posts: 6333
Joined: Wed Mar 15, 2006 9:41 pm

Postby schweigendeslamm » Fri Aug 01, 2008 11:46 am

Sorry for double posting.

But can i not change something in the mod to activate the topic in the url?


Thank you.
Last edited by schweigendeslamm on Fri Aug 01, 2008 11:53 am, edited 5 times in total.
schweigendeslamm
 
Posts: 5
Joined: Thu Jul 31, 2008 5:33 pm

Postby SeO » Fri Aug 01, 2008 11:48 am

Well if you are talking about the advanced mod rewrite, topic url do use the topic title in url. Only post urls, which are duplicates, are left statically rewritten to be disallowable by robots.txt. The zero duplicate will redirect post urls anyway, so, you won't see posts urls indexed with it.
SeO
Admin
Admin
 
Posts: 6333
Joined: Wed Mar 15, 2006 9:41 pm

Postby schweigendeslamm » Fri Aug 01, 2008 11:53 am

Because i have a special Design and i can not convert it to phpbb3.

Now my URL in a post looks like -www.gps-forum.net/post.html

I have phpbb2 with the Advanced mod Rewrite and i want that my post url looks like that:

-www.gps-forum.net/topic/post.html

Thank you.
Last edited by schweigendeslamm on Fri Aug 01, 2008 12:35 pm, edited 1 time in total.
schweigendeslamm
 
Posts: 5
Joined: Thu Jul 31, 2008 5:33 pm

Postby SeO » Fri Aug 01, 2008 12:01 pm

Your topic urls (viewtopic.php?t=xx) are in deed rewritten using the advanced mode : http://www.gps-forum.net/ein-heimatvert ... -t301.html

The post urls (viewtopic.php?p=xx) are as said left statically rewritten to be disallowed in the robots.txt since they are dupes.

Now, as said again, you can (and should) install the phpBB2 advanced zero duplicate to perform the redirection (http 301) you'll need to make sure that no duplicate will ever be listed in SEs.

Things like :
http://www.phpbb-seo.com/boards/post5382.html
http://www.phpbb-seo.com/boards/viewtopic.php?p=5382
etc ...
SeO
Admin
Admin
 
Posts: 6333
Joined: Wed Mar 15, 2006 9:41 pm

Postby schweigendeslamm » Sun Aug 03, 2008 7:43 pm

Thanks, i have now installed the phpBB2 advanced zero duplicate Mod and my URLS

www.gps-forum.net/post969.html?sid=3ee0 ... e9ddfbfd5d

and

http://www.gps-forum.net/viewtopic.php?p=969

will now rewrite with 301 to

http://www.gps-forum.net/openstreetmap-t244.html#969

But now is my question, how can i insert the forum name in the url like this

http://www.gps-forum.net/tipps-&-tricks/openstreetmap-t244.html#969

or

http://www.gps-forum.net/news/das-forum-kann-man-jetzt-auch-als-rss-feed-abonieren-t332.html

Thank you
schweigendeslamm
 
Posts: 5
Joined: Thu Jul 31, 2008 5:33 pm

Postby dcz » Mon Aug 04, 2008 9:19 am

There is no virtual folder trick in the phpBB2 mod rewrites, the feature was added to phpBB3 only.

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

Postby Pigeon » Mon Jan 19, 2009 5:00 pm

SeO wrote:Only post urls, which are duplicates, are left statically rewritten to be disallowable by robots.txt. The zero duplicate will redirect post urls anyway, so, you won't see posts urls indexed with it.


I installed the zero duplicate last night and indeed it does redirect the post URLs with a 301. Googlebot doesn't seem to like it though. It turned up by coincidence when I had only just installed the mod; I saw it request about 20 post URLs within a few seconds but it didn't bother to follow the redirection for any of them. The redirection itself works fine if you try it from a browser, but Googlebot doesn't seem to want to.

I have now put Disallow: /forum/post* in the Googlebot section of my robots.txt.
Pigeon
 
Posts: 17
Joined: Sun Jan 18, 2009 10:36 pm

Postby SeO » Wed Jan 21, 2009 8:07 am

Pigeon wrote:I have now put Disallow: /forum/post* in the Googlebot section of my robots.txt.


Do not !

Google will follow the redirect, this is a fact, but it won't if the urls to redirect are disallowed.
SeO
Admin
Admin
 
Posts: 6333
Joined: Wed Mar 15, 2006 9:41 pm

Postby Pigeon » Wed Jan 21, 2009 4:09 pm

Thankyou, I have followed your advice and taken it out again.

Another thought occurs to me, though. The eventual destination of the redirect is the complete topic. So does that not mean that Googlebot will end up indexing the topic several times, once from the actual topic URL and once from each of the post URLs, and marking it down for duplicate content?
Pigeon
 
Posts: 17
Joined: Sun Jan 18, 2009 10:36 pm

Postby SeO » Fri Jan 23, 2009 1:50 pm

Actually, it's the opposite, there will be no duplicate due to post if and only if post urls are HTTP 301 redirected to the corresponding topic one (with pagination taken care of, as the zero duplicate is doing).
HTTP 301 redirection tells bots that the redircted url (eg the post one in our case) should never be used any more, and that the only duplicate free one, the topic url, should from now on be considered as the only one to use.

Post url are the #1 duplicate source on phpBB forum (as well as many other forum scripts), since there is many post on a topic page. If you do nothing you'll have as many duplicate for as posts in a topic.

Hence the zero and the no duplicate mods ;)
SeO
Admin
Admin
 
Posts: 6333
Joined: Wed Mar 15, 2006 9:41 pm

Postby Pigeon » Fri Jan 23, 2009 3:53 pm

Ah... of course, I think I had a bit of a brain fart there :oops:
Pigeon
 
Posts: 17
Joined: Sun Jan 18, 2009 10:36 pm


Return to phpBB2 mod Rewrite

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 3 guests