Updating with the premod does not involves any work to update the SEO mods themselves.
It's just as easy as if you where updating phpBB with no mods.
Anyway, the answer is yes, you can uninstall, but you need to prepare things a bit, because like when you install some url rewriting, you need to properly redirect old urls to the new ones.
Note that if you recently redirected many natural urls to the rewritten ones, then it would probably be better to keep them a bit more not to be redirecting massively every other day.
The easiest way to get rewritten urls redirected to the natural ones would be to link all the rewriterules to a dedicated php script where you would grabb the GET vars and http 301 redirect from there.
For forums, topics and post, with pagination, you'd need :
- Code: Select all
<?php
/**
*
* redirect.php
*
*/
// Some config
$phpbb_url = 'http://www.example.com/phpBB/';
// nothing to change bellow
$phpbb_root_path = './';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
$forum_id = !empty($_GET['f']) ? max(0, intval($_GET['f'])) : 0;
$topic_id = !empty($_GET['t']) ? max(0, intval($_GET['t'])) : 0;
$post_id = !empty($_GET['p']) ? max(0, intval($_GET['p'])) : 0;
$start = !empty($_GET['start']) ? max(0, intval($_GET['start'])) : 0;
$_start = $start ? "&start=$start" : '';
$url = '';
if ($post_id) {
$url = "viewtopic.$phpEx?p=$post_id";
} else if ($topic_id) {
$_forum_bit = $forum_id ? "f=$forum_id&" : '';
$url = "viewtopic.$phpEx?{$_forum_bit}t=$topic_id{$_start}";
} else if ($forum_id) {
$url = "viewforum.$phpEx?f=$forum_id{$_start}";
}
// Will redirect to forum index in case no url was built
$url = $phpbb_url . $url;
header('HTTP/1.1 301 Moved Permanently', false, 301);
header('Location: ' . $url);
exit();
?>
in a file called redirect.php, then, you'd need to replace all the script names (viewtopic.php, viewforum.php etc) in the rewriterules with redirect.php (only the script fine name), and it should work
