WARNING: You can get free help here but you can't post a link.
Links posted on these forums won't help your search engine optimization anyway, as we robot.txt exlude all external URLs.
Updated on: 4/10/04
Able2Know SEO 2.0.0
Session removal, static URLs (mod_rewrite), page optimization
INTRO
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+.
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.
GOALS
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.
UPDATE: Static HTML pages are search engine candy. The latest version of this MOD has the ability to generate static HTML urls for search engine spiders and guests.
Able2Know Search Engine Optimization 2.0.0
Read the following explanations for what this code will do. If you wish to skip a step you may. Ask for help if you get stuck, just remember not to post a link or Able2Know moderators will be all over you like hairs on a gorilla.
1) Remove the "View Latest Post" icon and link on index.php (Craven de Kere)
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.
2) Make the date of the last post link to the last post like the icon did on index.php (Craven de Kere)
3) Unlink the username of the last post on index.php (Craven de Kere)As explained above the latest post link is now accessed from thelatestt 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 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 index page.
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.
4) Remove listing of moderators on index.php (AbelaJohnB)
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.
5) Remove session IDs for all search engine spiders (Darlantan?)
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 removsessionion 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.
6) Unlink the username of the last post on viewforum.php (Craven de Kere)
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 forum pages.
7) Remove the "View Latest Post" icon and link on viewforum.php (Craven de Kere)
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.
8) Make the date of the last post link to the last post like the icon did on viewforum.php (Craven de Kere)
As explained above the latest post link is now accessed from thelatestt 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.
9) Unlink the author username on viewforum.php (Craven de Kere)
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 enginalgorithmsms. 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.
10) Remove signatures for guest views (Craven de Kere)
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.
11) Remove avatars for guest views (Craven de Kere)
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.
12) Remove personal info (Profile, IM, PM, AIM, etc) for guest views (darbyrob)
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.
13) Unlink the username of the last post on search.php (Craven de Kere)
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 enginalgorithmsms. 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.
14) Remove the "View Latest Post" icon and link on search.php (Craven de Kere)
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.
15) Make the date of the last post link to the last post like the icon did on search.php (Craven de Kere)
As explained above the latest post link is now accessed from thelatestt 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.
16) Unlink the author username on search.php (Craven de Kere)
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.
17) Link the user post count to a search of the user's posts (Craven de Kere)
The user search page is a good way to capture more search engine traffic. This provides a link for the spiders.
18) Make Auth list on viewtopic.php invisible to search engines (Craven de Kere)
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.
19) Make the previous and next topic links invisible to search engines (Craven de Kere)
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.
20) Removes the site name from page titles, improving keyword weight (Craven de Kere)
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).
21) Change the page title of the index page to a hardcoded site name because of the site name removal (Craven de Kere)
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.
22) Hide forum stats from guests and spiders (Craven de Kere)
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.
23) Static URLs with mod_rewrite (Craven de Kere)
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 loosing 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.