- Title : Zero Duplicate (Mixed)
Author : dcz / www.phpbb-seo.com
Description : This mod Will HTTP 301 redirect almost all possible dupes in phpBB forums.
Version : 0.2.2
Installation Level : Advanced.
Installation Time : 10 min.
EZmod : n/a.
phpBB :2.0.22
Author's Notes :
- Will HTTP 301 redirect almost all possible dupes in phpBB forums.
- MODS :This mod is as powerful as important to use properly.
Local testing is advised.
As it is possible that some mods won't work properly at first, after install.
The principle of this mod is easy, we only accept default GET and POST vars on phpBB scripts.
By the way kind of a security enhancement on the concerned scripts too.
So if a mod added a GET or POST var on index.php, viewforum.php, viewtopic.php or a member's profile,
it's URLs will be redirected at first.
Example :- viewtopic.php?report=true&p=xx |would be first redirected to| topic-title-tyy-zz.html.
It's simple to fix, we just need to allow this additional var in our dupe filters.
Please ask for support on such experiences. - Redirection Check :
It is very important to make sure the correct headers are sent!!
Once installed this mod, you should check, using for example http://web-sniffer.net/ , if the returned headers are correct.
The mod should work nicely with apache and IIS server (running isapi_rewrite), but could under some circumstances output a
302 header instead, which is really not a good idea.
So you should check if HTTP 301 header is returned with both options for gun-zip support.
To do this, just paste a forum url with a miss-spelled title in URL in http://web-sniffer.net/
And test BOTH OPTIONS for "Accept-Encoding: gzip"
If both cases returns HTTP 301, you're done with installing this mod.
Example on this site :
Meant to work with the phpBB SEO Mixed mod rewrite
Performed redirections :
index.php?c=xx => cat-title-cxx.html
viewforum.php?t=xx => forum-title-fxx.html
viewforum.php?t=xx&start=xx => forum-title-fxx-yy.html
viewtopic.php?t=xx => topicxx.html
viewtopic.php?t=xx&view=prev/next => topicxx.html
viewtopic.php?t=xx&start=xx => topicxx-yy.html
viewtopic.php?p=xx => topicxx.html or topicxx-yy.html if required
profile.php?mode=viewprofile&u=xx => memberxx.html
Wrong titles will be HTTP 301 redirected (all cases) :miss-spelled-title => correct-title
Will get rid of SIDs and mark Vars in URLs for guests :topicxx.html?sid=SID => topicxx.html
forum-title-fxx.html?mark=fids => forum-title-fxx.html
Will check $start consistency :Example with 25 topics per pages :
forum-title-fxx-32.html => forum-title-fxx-25.html
Will by default HTTP 301 redirect index.php :
Will automatically follow the eventual settings in the phpBB SEO mod rewrite like :
example.com/phpBB/ => example.com/phpBB/index.html
WARNING
NOTE :
- Some of the suggested code changes could already have been performed by another mod. You'll find additional informations about the specific changes in the install file.
If it is the case, this means part of the job is already done
Please read the install file carefully for more details.
Important :
- As HTTP 301 are to be used with caution, the downloads are only available for registered users.
This mods makes HTTP redirecting very easy and you should not change all your URLs every other day.
Do not hesitate to ask for support when first installing.
- The update as well gets rid of the PHPBB_URL constant, which can cause some trouble if you are using it elswhere.
You shoudl now use :
$phpbb_seo->seo_path['phpbb_script'] instead of PHPBB_SCRIPT
$phpbb_seo->seo_path['root_url'] instead of ROOT_URL
$phpbb_seo->seo_path['phpbb_url'] instead of PHPBB_URL
Meant to work with the phpBB SEO mixed mod rewrite 0.2.2 and above
mod Rewrites supported :
Languages :
- English, French.
French support thread
Demo :
Versions :
Download:

English |
French
News
