[RFC|Merged] Optimized Page Titles patch

These requests for comments/change have lead to an implemented feature that has been successfully merged into the 3.1/Ascraeus branch. Everything listed in this forum will be available in phpBB 3.1.
User avatar
MattF
Extension Customisations
Extension Customisations
Posts: 675
Joined: Mon Mar 08, 2010 9:18 am

Re: [RFC] Optimized Page Titles patch

Post by MattF »

naderman wrote:Since we already have a discussion topic on this, I don't see a reason not to just put this patch on the tracker. Can you open a new Improvement ticket for 3.1 please?
Added to 3.1-A1 tracker. :D
Has an irascible disposition.

Stoker
Registered User
Posts: 39
Joined: Sat Jun 20, 2009 8:15 pm

Re: [RFC|Accepted] Optimized Page Titles patch

Post by Stoker »

Lets take a look at the template edit.
You are replacing the title code with this:

Code: Select all

<title><!-- IF not S_VIEWTOPIC and not S_VIEWFORUM -->{SITENAME} - <!-- ENDIF --><!-- IF S_IN_MCP -->{L_MCP} - <!-- ELSEIF S_IN_UCP -->{L_UCP} - <!-- ENDIF -->{PAGE_TITLE}<!-- IF S_VIEWTOPIC or S_VIEWFORUM --> - {SITENAME}<!-- ENDIF --></title>
Including {SITENAME} is NOT search engine friendly. In fact it isnt relevant for topic (and maybe even viewforum pages) and can easily cause dublicate content.
First, have you ever seen a Search Engine Optimized site using the website name on all pages?
Second, if we have two forums: one called windows and the other mac. Both forums can have topics with this title: shutdown problems
In this case we can avoid duplicate content by adding the forum name to topic titles like this:

Code: Select all

{PAGE_TITLE} - {FORUM_NAME}
And for the page title numbering it would be more SEO wise to just use Page 1 instead of Page 1 of 1

User avatar
A_Jelly_Doughnut
Registered User
Posts: 1780
Joined: Wed Jun 04, 2003 4:23 pm

Re: [RFC|Accepted] Optimized Page Titles patch

Post by A_Jelly_Doughnut »

Stoker wrote: First, have you ever seen a Search Engine Optimized site using the website name on all pages?
Amazon.com?
Google itself?

I don't know a lot of "Search Engine Optimized" web sites, but I would assume that major corporations would be all over this.
A_Jelly_Doughnut

Stoker
Registered User
Posts: 39
Joined: Sat Jun 20, 2009 8:15 pm

Re: [RFC|Accepted] Optimized Page Titles patch

Post by Stoker »

Amazon.com, lets take on of their book pages and look at the title:

Code: Select all

<title>Amazon.com: Sizzling Sixteen (Stephanie Plum) (9780312383305): Janet Evanovich: Books</title>
By looking at the title I can tell that Amazon.com isnt Search Engine Optimized.
We could also take a look at the source code or the url:

Code: Select all

http://www.amazon.com/gp/product/0312383304/ref=s9_al_bw_i1?pf_rd_m=ATVPDKIKX0DER&pf_rd_s=center-2&pf_rd_r=1QQBH797W7GD4P6AP6Q4&pf_rd_t=101&pf_rd_p=1269387322&pf_rd_i=283155
:D

When optimizing we need to take away as much irrelevant code/text as possible.
This will make the relevant code/text stand out much clearer.

SEO is all about content. Making the right titles are also content. It wont do much for SEO, but it is a step in the right direction.

User avatar
Ger
Registered User
Posts: 293
Joined: Mon Jul 26, 2010 1:55 pm
Location: 192.168.1.100
Contact:

Re: [RFC|Accepted] Optimized Page Titles patch

Post by Ger »

Stoker wrote:have you ever seen a Search Engine Optimized site using the website name on all pages?
What about SEO.com? ;)

Besides that: what about the difference between
Adjusting lights
and
Adjusting lights &bull; Car forums international
The second seems better for relevant ranking than the first.
Above message may contain errors in grammar, spelling or wrongly chosen words. This is because I'm not a native speaker. My apologies in advance.

Nelsaidi
Registered User
Posts: 122
Joined: Tue Nov 11, 2008 5:44 pm

Re: [RFC|Accepted] Optimized Page Titles patch

Post by Nelsaidi »

Stoker wrote:By looking at the title I can tell that Amazon.com isnt Search Engine Optimized.
I stopped reading right there, eveer searched for a product and not seen amazon in the top 10?

Having the name in the title gives identity making it more human friendly, and if anything makes it rank better due to keywords in the URL. HOWEVER vBulletin 4 have taken this approach however (evident on their forum, and afaik other vB4 forums) - I am not aware of their reasoning, but they will probably have a one, and so have Simple Machine Forums (its another open source forum software - and it is good). IPB however havent taken this approach. Personally title is better but if 2 of the 4 best forum software have [personal ranking - phpbb,vb,smf,ipb) , there must be a reason. So some research into this would be helpful

Regarding my original topic of which this RFC is based on - what exactly will be changed? I made a number of proposals in there ( viewtopic.php?f=81&t=32730 )

User avatar
A_Jelly_Doughnut
Registered User
Posts: 1780
Joined: Wed Jun 04, 2003 4:23 pm

Re: [RFC|Accepted] Optimized Page Titles patch

Post by A_Jelly_Doughnut »

A_Jelly_Doughnut

User avatar
Ger
Registered User
Posts: 293
Joined: Mon Jul 26, 2010 1:55 pm
Location: 192.168.1.100
Contact:

Re: [RFC|Accepted] Optimized Page Titles patch

Post by Ger »

Seems fine to me. :)
Above message may contain errors in grammar, spelling or wrongly chosen words. This is because I'm not a native speaker. My apologies in advance.

User avatar
MattF
Extension Customisations
Extension Customisations
Posts: 675
Joined: Mon Mar 08, 2010 9:18 am

Re: [RFC|Accepted] Optimized Page Titles patch

Post by MattF »

Nelsaidi wrote:Regarding my original topic of which this RFC is based on - what exactly will be changed? I made a number of proposals in there ( viewtopic.php?f=81&t=32730 )
Your basic forum topic would look like:
Topic Title - Site Name
(adding the forum name here is not a good idea. Need to keep page titles as short and to the point as possible, Google cuts off its display of titles at around 64 characters. Forum name, is irrelevant. Topic title is the "what", site name is the "where".)

If you are on a topic that has pagination (prevents duplicate content issues):
Topic Title - Page X - Site Name
(pagination is not expressed as "Page X of X" as stoker incorrectly surmised)

If you are just viewing a forum (viewforum, pagination also applies here too)
Forum Name - Site Name

The rest of the pages (UCP, MCP, posting page, search results) use the original phpBB page title method (as these are pages that are not crawled by search engines and they are not "content" based).
Site Name - User Control Panel - Edit Profile

---

People have to realize that Page Titles are not just about Search Engines! They serve three functions:
-Search Engine results
-Bookmarks/History lists
-Tabbed page labels

Obviously your PM Inbox will not be in google search results. But it could very be likely in somebody's bookmarks. In the case of bookmarks, for those of us who read left to right, it makes sense to have the name of the site first, followed by the component section of that site, just like the way breadcrumbs are traditionally laid out, hence the reason for maintaining phpBB's original titles in those "user" areas.

But for search engine results, we definitely want content first, followed by site name to identify where the content is coming from to the users. Not displaying the site name in the page titles puts your content out of context. You need the site name so that whether its a bookmark, a history or a search engine result - people will know where the heck the page is from! :lol:

Writing Better Web Page Titles
Has an irascible disposition.

Stoker
Registered User
Posts: 39
Joined: Sat Jun 20, 2009 8:15 pm

Re: [RFC|Accepted] Optimized Page Titles patch

Post by Stoker »

VSE+ wrote:But for search engine results, we definitely want content first, followed by site name to identify where the content is coming from to the users. Not displaying the site name in the page titles puts your content out of context. You need the site name so that whether its a bookmark, a history or a search engine result - people will know where the heck the page is from! :lol:
Still, for topics forum name is more relevant than the board name ;)
Lets take a look at a SEO site for phpBB. They have worked with phpBB SEO since phpBB2
http://www.phpbb-seo.com/en/seo-princip ... e7102.html
Should they know how to do it? Yes, I think so :mrgreen:

Lets also take a look at their forum titles:
http://www.phpbb-seo.com/en/seo-principles/
Yes, they use only forum name.
VSE+ wrote:Your basic forum topic would look like:
Topic Title - Site Name
(adding the forum name here is not a good idea. Need to keep page titles as short and to the point as possible, Google cuts off its display of titles at around 64 characters. Forum name, is irrelevant. Topic title is the "what", site name is the "where".)
Forum name is irrelevant???
If the topic is placed in the correct forum, the forum name is very relevant.
Again, take a look at phpbb-seo.com - I would say that they know better.

Post Reply