I installed a SEO url mod for phpbb3 RC7 to make my url's search engine friendly. Now when i click on a forum category it says "The forum you selected does not exist". Here is my old htaccess code that made the WWW in front of my url: <Files "config.php"> Order Allow,Deny Deny from All </Files> <Files "common.php"> Order Allow,Deny Deny from All </Files> <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} ^forum.googleandroid\.info [NC] RewriteRule ^(.*) http://www.forum.googleandroid.info/$1 [L,R=301] </IfModule> AddHandler application/x-httpd-php5 .php\ HTML: Here is my new htaccess code that I had to use to make the phpbb seo url MOD work: <Files "config.php"> Order Allow,Deny Deny from All </Files> <Files "common.php"> Order Allow,Deny Deny from All </Files> RewriteEngine on Rewriterule ^(.+)-f([0-9]*).html-(.+)$ ./viewforum.php?f=$2&$3 Rewriterule ^(.+)-(t|p)([0-9]*).html-(.+)$ ./viewtopic.php?$2=$3&$4 Rewriterule ^(.+)-f([0-9]*)s([0-9]*).html-(.+)$ ./viewforum.php?f=$2&start=$3&$4 Rewriterule ^(.+)-(t|p)([0-9]*)s([0-9]*).html-(.+)$ ./viewtopic.php?$2=$3&start=$4&$5 Rewriterule ^(.+)-f([0-9]*).html$ ./viewforum.php?f=$2&$3 Rewriterule ^(.+)-(t|p)([0-9]*).html$ ./viewtopic.php?$2=$3&$4 Rewriterule ^(.+)-f([0-9]*)s([0-9]*).html$ ./viewforum.php?f=$2&start=$3&$4 Rewriterule ^(.+)-(t|p)([0-9]*)s([0-9]*).html$ ./viewtopic.php?$2=$3&start=$4&$5 HTML: Now that my htaccess file is like this,whenever I click on a forum category it says "The forum you selected does not exist". I figured out how to get the WWW in my url back by putting the following code UNDERNEATH the "RewriteEngine On" and the WWW DID display,but it still said "the forum you selected does not exist". RewriteBase / RewriteCond %{HTTP_HOST} ^forum.googleandroid\.info [NC] RewriteRule ^(.*) http://www.forum.googleandroid.info/$1 [L,R=301] </IfModule> AddHandler application/x-httpd-php5 .php\ HTML: Also when I click on some old indexed pages in google it says this: General Error SQL ERROR [ mysql4 ] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3 [1064] An sql error occurred while fetching this page. Please contact an administrator if this problem persists.