Typically the bigger a site gets, the harder it is to optimise – a few years ago people refused to believe that it was possible to SEO a site over 3000 pages because there would just be too many man hours involved.
The some clever cookie thought up things like dynamic meta descriptions
<meta name=”description” content=”<?php echo $ProductName . ‘ available in bulk online for free home delivery. Also view our other ‘ . $CategoryName . ‘ products and ‘ . $PromotionName . ‘ deals! ‘ . $ProductName . ‘ from ‘ . $SiteName; ?>” />
Now the actual php there might not be perfect, I’m not a php wizard (yet) – but you get the idea. As such it’s now also possible to put in a blanket dynamic rule to cover all your bases on large sites, and then you can go back and overwrite any important products with static handwritten content.
<?php
if (isset($StaticDesc)) {
echo $StaticDesc;
} else {
echo $ProductName . ‘ available in bulk online for free home delivery. Also view our other ‘ . $CategoryName . ‘ products and ‘ . $PromotionName . ‘ deals! ‘ $ProductName . ‘ from ‘ . $SiteName;
}
?>
Again, just to give you an idea – any php wizards reading please leave me a comment if any code amendments should be made!
A forum is one of the largest types of site in terms of pages that you can apply an SEO skin to, and a forum is also potentially an extremely valuable SEO resource because visitors build up hand written content for you every single day.
So Let’s Get Started
For specific examples I’m referring to phpBB3 – as that’s what I’m working with on the newly launched Digital Designer Forum pictured below.
The first and foremost concern for any forum is the url structure. By default all the forum applications that I know of are set to domain.com/forum.php?id=4 or similar – which obviously isn’t much benefit in terms of targetting keyphrases. Ideally we’d like to have domain.com/forum-title.htm and domain.com/thread-title.htm etc.
Setting Up URL Rewrites
Now, phpBB-SEO.com offer some really great tools to help you with this – the first one to have a look at (in the downloads section in the left hand navigation) is the Advanced phpBB SEO mod rewrite package, which you can download directly from the site, and contains a full set of instructions for modifying existing files, or, if you haven’t modified any of your phpBB3 files then you can simply overwrite your existing files with the premodified ones in the package.
This is a really really great module, once installed you get a whole new tab on your admin interface which allows you to control exactly how you want your url’s to be rewritten (though obviously mod rewrite needs to be enabled on your server, which it usually is by default). Once it’s all set up it will dynamically generate your .htaccess file which you can simply copy, paste, save, and upload. Though it’d be nice if they included a feature like wordpress where it updates itself as long as your .htaccess file is writeable.
Once that’s all done you should have nice clean URLs like domain.com/my-first-forum-f1.html the f1 on the end is the forum code and can’t be changed, it’s used as the ‘trigger’ to actually find the correct page!
But now we have a problem, domain.com/forum.php?id=1 and domain.com/my-first-forum-f1.html are both accessible….. duplicate content!
Setting Up 301 Redirects
Thankfully phpBB-seo.com being the clever cookies that they are, and very much up to scratch on their SEO Skillz have realised this problem – and provided a solution.
With a few more clicks (and a couple of code modifications of your existing forum files) you can install the phpBB SEO Zero Duplicate module, which will redirect all unrewritten URL’s to their appropriate rewritten counterparts. The module also recognises when forums/threads/posts have changed name/url and updates appropriately, though this is not something I’ve tested yet.
Sort Out Those Page Titles
I don’t think that I need to preach any further about how important page titles are, so let’s just get right to it: phpBB-SEO offer two ways of doing this, one is a dynamic meta content generator that puts together content based on the frequency of used words on the page to analyse what the page is about. This sounded a little too vague and inhuman to me so I opted for option B on Digital Designer Forum, which is the ‘Optimal Titles’ module.
Essentially all that it does is strip out all the useless stuff that phpBB puts in there by default; ‘view forum’ and ‘view thread’ being the most common culprites, it instead leaves you with clean (almost too clean) page titles that reflect the name of the forum/thread and will also add page numbers appropriately to cut down on duplicate titles.
One thing that this module doesn’t do is provide you with an adequate homepage title, though you can edit this yourself by doing a sitewide search for ‘Index Page’ which should bring up root/acp/common.php where the index page title is defined – just change it to whatever you like and you’re set.
Get A Working XML Sitemap and RSS Feeds
Having an XML sitemap that’s validated by Google Webmaster Tools is one of the best things that you can do for your site. The GYM Sitemaps module, again by phpBB-SEO.com, is very nice little badger that generates a valid XML sitemap for your forum AND keeps it fully updated with every new forum and thread that gets updated to your site.
This same module also adds a series of RSS feeds to the footer links of your site, so that your visitors can subscribe to a main feed or any of the corresponding individual forum feeds! – VERY handy.
In Conclusion
That’s pretty much it really, just keep doing the obvious, name all the forums relevant things and add the usual canonical URL issue resolution to the .htaccess file.
Any more tips for optimising phpBB3 or your own experiences – drop me a line in the comments!
If you liked this article then please help out this site and Vote for us as at Favelets – all you have to do is click on the link once and you’re done!
No related posts.














August 1st, 2008 at 6:03am
Hey there egg, what’s cooking? Let me guess! :P
Another awesome post! Your blog has become a very valuable source of information. You’ve earned my eternal respect.
I love PhpBB3, but these SEO tips keep me wondering why the PhpBB development team doesn’t use these techniques by default. It seems appropriate to implant these, or at leasts the URL scheme and title tags.
Oh, and PHP Wizard to the rescue. It seems you’re missing a dot between deals and the products (the underscore should be replaced with a .) : “deals! ‘ _ $ProductName”. The second code snippet leaves a bracket opens. Although you can do that in PHP, it will have to be closed after. (My example didn’t show up! Get in touch with me if you’re curious hehe) But I don’t think that’s what you’re trying to achieve, so better close it before closing the PHP tag!
Have a nice day!
August 1st, 2008 at 8:07am
Hi Ben!
Thanks for the comment! Hope you’ve subscribed to the feed and keep coming back – it’s the best way for me to figure out what people want to hear about :)
Completely agree with you about these being default features, wordpress has really done the job well with its permalink system and .htaccess file self-update system, I’m not sure why these guys haven’t done the same. I was doing a bit of research this week and it seems that the phpbb3 developers have been getting quite a lot of flack for not including as many features as their competitors (IPB and VB) – and their defense was that their competitors are bloated in terms of size and function and they’re trying to keep phpbb slick and quick…. but when I look at my databases phpbb3.2 and drupal 6.2 are the exact same size! And Drupal is a complete conctent management and creation application INCLUDING a forum! – So not quite sure what their reasoning there is really.
I could be being stupid, but I can’t see the underscore? You’re right about the closing bracket though I’ll do that now! :)
[edit] also found the missing dot! that must’ve been what you meant with the underscore, I get it now! :)
August 1st, 2008 at 9:04pm
You know I read at problogger a comment you made. It was about that the only reason why you kept blogging was because hordes of gorgeous women left their pictures here. So I clicked, out of curiosity :( (I didn’t came here to perv, I am not into women)
August 1st, 2008 at 11:08pm
And that Cabby, is what we call ‘linkbait’ ;)
Its a cunning trick that lures people in under false pretences just for the possibility that they might actually see/read something that they like anyway and keep coming back!
September 5th, 2008 at 7:06pm
Thanks to you
October 1st, 2008 at 4:43pm
Just so you know, the link applied to the Digital Designer forum image is incorrect. *Goes back to optimizing his forum weeeeee*
October 1st, 2008 at 5:53pm
Thanks Quimp!! Should be fixed now!
October 16th, 2008 at 7:59pm
I am newboy on http://www.eggrage.co.uk .Let’s gets acquainted!
October 16th, 2008 at 11:08pm
Let’s get acquainted indeed! :)