I get so many questions about phpBB search engine optimization that I am finally writing up the definitive mod for this. There are several solutions out there and webmasters are confused about what works and what doesn't. Some mods work with older versions of phpBB but do not work on 2.0.6+.
This mod will be an extensive one, and it does work. The best way to illustrate this is through SERPS (Search Engine Results Pages).
At the time of this posting www.able2know.com has over 241,000 pages indexed in Google. This is the result of our extensive SEO (Search Engine Optimization) and the following code will enable you to benefit from all that we have learned.
Version 2.0.0 of the Able2Know Search Engine Optimization MOD contains roughly 70% of the search engine optimization work that Able2Know features. The rest will be added after it is perfected and documented so this mod will change many times in the future. Suggestions for this MOD are welcome.
This MOD is not a typical one. It does not add bells and whistles to your forum. In fact, it removes some! This is a MOD for serious search engine optimization but because it removes as well as adds pay close attention to the following explanation about what this code will do.
Due to the session IDs most forums are not spidered by search engines very well. Sometimes not at all. The primary goal of this MOD is to make the phpBB URLs spider friendly. Not just to Google but to all spiders.
Making the URL's search engine friendly is not all that is needed. Google has recently penalized phpBB pages. viewforum.php and viewtopic.php now have a much lower page rank than they had earlier so keyword frequency and pagerank drain are important to consider. This modification will greatly improve both of these things.
Directing search engines to the right pages is also important. The topic pages are what you ultimately want to have indexed. Other words, links and images are actually diluting this. This MOD will help focus search engines on the right pages and text.
Read the following explanations for what this code will do. If you wish to skip a step you may. Ask for help at Able2Know: Ask an Expert if you get stuck, just remember not to post a link or Able2Know moderators will be all over you like hairs on a gorilla.
This is a page rank drain issue. The link is restored but the image is removed because it makes the page too "busy" and because the images are not as attractive as the text link we will subsequently create using the last post date.
As explained above the latest post link is now accessed from the latest post date. There are a few reasons for this. First of all a text link is almost always better than an image link. Secondly the text link will change (as the dates change). This makes the link more attractive to search engines but most importantly it provides a slight chance at more keyword traffic by branding the link with a date and time as a keyword.
For example, if a post on 9/11 was indexed that day mightgth have a slightly better chance of being found under long search engine queries that contain that date. It's a minimal improvement but ties into making the page less busy and small improvements add up when SEO is concerned.
You can see an example of this on the index page of Able2Know.
This is purely for page rank drain and to direct the search engine spiders to the content. Pages with too many links are penalized by some search engialgorithmsyms. The links to the profiles are also not the focus of the site. Most users are not searching the internet for information in your users' profiles. So this helps direct the search engines to the content on the topics instead of the many other links search engines could follow.
You can see an example of this on the index page.
This is a MOD by John Abela. It removes the listing of moderators on the index page. This helps make the page less "busy" and also helps direct the spiders toward the content and not the profiles. It reduces the index page's queries by 2, so it also helps improve forum speed a bit.
You can see an example of this on the index page.
This is a crucial part of this mod. It is based on code that was posted by a user named Darlantan but it is unclear who wrote the original snippet.
This code removes session IDs for all guests. This means all spiders can spider your forum without session IDs in the URLs.
NOTE: This means you can't enable guest posting to your forums. It won't hamper guests in any way other than disallowing them to post. phpBB recently improved security with their session IDs so this code strikes a perfect balance between session ID integrity and search engine spidering.
This is purely for page rank drain and to direct the search engine spiders to the content. Pages with too many links are penalized by some search engine algorithms. The links to the profiles are also not the focus of the site. Most users are not searching the internet for information in your users' profiles. So this helps direct the search engines to the content on the topics instead of the many other links search engines could follow.
You can see an example of this on the forum pages at Able2Know.
This is a page rank drain issue. The link is restored but the image is removed because it makes the page too "busy" and because the images are not as attractive as the text link we will subsequently create using the last post date.
As explained above the latest post link is now accessed from the latest post date. There are a few reasons for this. First of all a text link is almost always better than an image link. Secondly the text link will change (as the dates change). This makes the link more attractive to search engines but most importantly it provides a slight chance at more keyword traffic by branding the link with a date and time as a keyword.
For example, if a post on 9/11 was indexed that day it might have a slightly better chance of being found under long search engine queries that contain that date. It's a minimal improvement but ties into making the page less busy and small improvements add up when SEO is concerned.
You can see an example of this on the forum pages at Able2Know.
This is purely for page rank drain and to direct the search engine spiders to the content. Pages with too many links are penalized by some search engine algorithms. The links to the profiles are also not the focus of the site. Most users are not searching the internet for information in your users' profiles. So this helps direct the search engines to the content on the topics instead of the many other links search engines could follow.
You can see an example of this on the forum pages.
This modification removes repetitive text from the topic pages. As signatures are text that is not usually relevant to the topic they distract search engines dilutelute the key words. This makes the signatuinvisibleible for guests so that search engines (and guests!) focus on the content of the topic. it also helps if you allow users to put links in their signatures as you will not lose any page rank through these links anymore.
For a busy board this will greatly reduce bandwidth use. What it does is make avatars visible only if logged in. Search engines prefer small pages so this helps them focus on the topic content as well.
This removes all the personal info icons if the user is not logged in. This way the links and images do not distract search engines.
This is purely for page rank drain and to direct the search engine spiders to the content. Pages with too many links are penalized by some search engine althorithms. The links to the profiles are also not the focus of the site. Most users are not searching the internet for information in your users' profiles. So this helps direct the search engines to the content on the topics instead of the many other links search engines could follow.
This is a page rank drain issue. The link is restored but the image is removed because it makes the page too "busy" and because the images are not as attractive as the text link we will subsequently create using the last post date.
As explained above the latest post link is now accessed from the latest post date. There are a few reasons for this. First of all a text link is almost always better than an image link. Secondly the text link will change (as the dates change). This makes the link more attractive to search engines but most importantly it provides a slight chance at more keyword traffic by branding the link with a date and time as a keyword.
This is purely for page rank drain and to direct the search engine spiders to the content. Pages with too many links are penalized by some search enginealgorithmss. The links to the profiles are also not the focus of the site. Most users are not searching the internet for information in your users' profiles. So this helps direct the search engines to the content on the topics instead of the many other links search engines could follow.
The user search page is a good way to capture more search engine traffic. This provides a link for the spiders.
The "You can post new topics" etc text is removes as it's usually confusing to guests anyway and it's repetitive and diluting text. This makes it only visible if logged in.
This is an important change. The previous topic and next topic links are horrible for search engines as they change depending on what topic has last been posted to. In short, if a search engine indexes one of the links it will later be a link that goes to different content (as the next topic may change depending on what's posted). This modification makes the previous/next links visible only of logged in.
This is by far the most important keyword modification. The page title is the most important real estate for search engine optimization. This reduces the dilution by removing the site name from the title and the topics will now have pages with more relevant titles (at the cost of some site branding).
This is a change to allow you to hardcode in a title for the index page. It could be anything you want or can even be skipped.
This change eliminates all those useless (to search engines) links in the forum stats portion of the index page and displays it only for logged-in users.
This is a very very important change. Many search engines prefer static pages like HTML pages over PHP pages. When the PHP pages have variables they like them even less.
Some search engines don't index pages with variables at all. So this part of the MOD allows you to have static URLs for guests and spiders.
For example:
http://www.able2know.com/forums/about22586.html
The reason it's only for guests is to prevent logged in users who don't use cookies from losing their sessions.
There will be more work done on the static URLs later.
Note: You must have Apache and mod_rewrite for the static URLs.
Download the Able2Know Search Engine Optimization 2.0.0 MOD.
If you like this MOD and would like to show your support feel free to add a link to your forum footer.
Code or Script:
<a href="http://www.able2know.com" target="_blank">Ask an Expert</a>
The current revision of this article is available in the Able2Know Forums.