by SeO » Wed Jun 07, 2006 3:33 pm
- The phpBB SEO mod Rewrites : What is common to the three versions
- # Before you Start :
These three URL Rewriting solutions are using Apache's mod Rewrite. The phpBB SEO url rewriting solution by the way work nicely with IIS server running the isapi_rewrite module, just a matter of small adaptation in the httpd.ini.
You can install them only if your forums is hosted on a server running Apache with themod_rewrite module loaded, or isapi_rewrite with IIS.
This is the first thing to check with your web-site's ISP.
Then you should read carefully what follows in order to chose the best possible solution for your needs.
phpBB SEO is offering three solution because there is a need, each one of it has it's own pros and cons. And each one of it can appear to be the best one for your project's needs.
First thing to do is then to understand what do each of them does, and what does it mean for the admin.
Then, before you proceed, you must get rid of the session variable (SID) from phpBB's URL.
Cyber Alien's Guest Sessions is a good solution.
More clues :
As well, you will have to take care of the www prefix issue in your domain's URL.
These solutions are of course compatible and auto detected (not set up required to support your specific URL standard) by the GYM Sitemaps & RSS and mx Sitemaps modules, however very useful while Search Engine Optimizing phpBB forums.
- # Char-sets :
The phpBB SEO mod rewrites supports all the char-sets supported by htmlentities().
For other char-sets, specific solution should apply, do not hesitate to ask for support.
For all these char-set, the mod rewrite will only inject the possible ASCII Chars, after removing all accents, available in the titles.
For example : "نرم افزار - Software niño" will be formatted prior to injection in the following way : "software-nino"
Please visit the mod rewrite release topic for further details.
- # The robots.txt :
The robots.txt is a simple text file listing instructions that Bots are supposed to follow.
Major Search Engine Bots, such as Google-Bot, Yahoo!Slurp, MSNBot etc ... do follow those, and they are the one we are really interested in.
These rules will allow us to avoid page such as viewtopic.php?t=XX to appear in the Search Engine Results, and to concentrate Page-Ranking on the really interesting URLs.
In all cases, this file should be located in your domain's root physical folder (usually www/).
Every one of the three phpBB SEO mod Rewrite comes with a specific robots.txt file to properly set up and upload.
The paths must be set correctly for the robots.txt file to help out.
If you are migrating from another mod rewrite for phpBB, some special adaptations may be necessary. The phpBB SEO team will help upon request posted in the mod rewrite you'll be using forum. You'll find there as well topic covering the required steps to follow for a successful migration.
- # The .htaccess :
The ".htaccess" is a file containing the mod_rewrite's RewriteRules that will allow to catch modified URLs.
In the install files are proposed two version of the .htaccess.
These two are meant to show you how path shall be set up when phpBB is installed at the root level (generally the www/ folder in your ftp account) or in a sud-folder.
Besides, they both perform the same job.
In both case you should put your .htaccess file at your domain's root level, using one of the two cases .htaccess : phpBB in root or sub-folder.
If this folder already has an .htaccess file, then just add the provided Rewriterules, with the correct paths, after the other ones in there (you may need to play a bit with their order) without putting twice "RewriteEngine on".
Note :
It is sometime impossible to create a file named with a "." at the beginning using windows. And thus impossible to create a file named ".htaccess".
You may need to first name it "htaccess.txt", while you edit it and upload it on your ftp.
You will then be able to rename it to ".htaccess" and to "activate" it.
- # Migration :
It is of course possible and quite easy to migrate from any other mod rewrite for phpBB.
But this should not be done uncautiously, do not hesitate to post in the mod rewrit eyou'd be using to get helped.
If you don't know wich one of the three mod rewrite solution to use, please ask in the phpBB mod rewrite forum.
In most cases it will be possible to either adapt the phpBB SEO mod Rewrites to keep your actual URL Standard and end up with a faster code with no pagination duplicates, or to set up appropriated 301 redirections and go for the phpBB SEO URL standards.
In all cases something is to be done not to jeopardize what's already well Ranked.
- # Support :
Support for .htaccess settings must be asked for posting a new thread in the forum mod Rewrite phpBB, or, if a thread is already talking about a similar case, a new reply.
Please use an appropriate and descriptive title when posting a new topic.
Support for particular cases (sub-domains, working together with other mod rewrites ...) should be asked for in a dedicated thread, in the most appropriate forum.
Please use the search functions to first check if you problem is not already solved somewhere.
Please note that if phpBB is installed in a sud-domain, this sub-domain is it's actual domain, the only one to care of.
- # Why asking for a link ?
This project's main idea is to allow everybody to obtain good results in Search Engines. We provide solutions and advices to Search Engine Optimize your web-site in general with emphasis on phpBB.
phpBB SEO solutions are really working, and will, if only you offer some content, greatly, if not totally change the way your site appears in Search Engines Results.
Example are many on this forum, showing how well our members website got better Ranked, indexed and started showing up at better position in search engines, with significant increase in visitors.
phpBB is the first, and as far as we know, the only website to offer to everybody a free, easy to use and personalized URL rewriting solutions, which together with the zero duplicate makes phpBB the only duplicate free forum.
And our goal is to dev as many tools and module as possible, all compatible with the phpBB SEO mod rewrites, whatever the chosen standard.
As time passed and this link was added on many site, we where able to release new modules such as GYM sitemaps & RSS, building and caching Google Sitemaps (united 0.9) and RSS 2.0 feeds with many possibilities :
And all of this is made so upgrading to phpBB3 won't hurt.
This to tell that a link back is not that much for so much 
And we, the phpBB SEO mod user, need this site to stay long for the mod to still be updated, for our project's best.
And phpBB SEO will itself, while being well Ranked, give you back very good quality BackLinks, from several domains and sub-domains (forums, directories, etc ..) and using several languages, which is a plus.
Last edited by
SeO on Fri Jun 01, 2007 9:34 pm, edited 7 times in total.