Ok well I just did a phpbb mod to my phpbb forums that rewrote the url to put the title in the url http://www.gamefrat.com/forums/ Obviously it changes the link but it doesn't actually work. It's just not rewriting the url. This is the contents of my .htaccess which is in foler "/forums/". <Files config.php> Deny from all </Files> DirectoryIndex index.php index.html index.htm RewriteEngine On # SEO URL [mgutt] RewriteRule !\.html$ - [L] RewriteRule ^forums/[a-z0-9-]+-([pt])([0-9]+)\.html$ /forums/viewtopic.php?$1=$2 [L] RewriteRule ^forums/[a-z0-9-]+-f([0-9]+)\.html$ /forums/viewforum.php?f=$1 [L] RewriteRule ^forums/[a-z0-9-]+-c([0-9]+)\.html$ /forums/index.php?c=$1 [L] RewriteRule ^forums/[a-z0-9-]+-u([0-9]+)\.html$ /forums/profile.php?mode=viewprofile&u=$1 [L] RewriteRule ^forums/([a-zA-Z0-9_]+),([^/,]+),([^/,]*)([^/]*\.html)$ forums/$1$4?$2=$3 [QSA,N] RewriteRule ^forums/[a-z0-9-]+-([pt])([0-9]+),([^/,]+),([^/,]*)([^/]*\.html)$ forums/viewtopic$5?$1=$2&$3=$4 [QSA,N] RewriteRule ^forums/[a-z0-9-]+-f([0-9]+),([^/,]+),([^/,]*)([^/]*\.html)$ forums/viewforum$4?f=$1&$2=$3 [QSA,N] RewriteRule ^forums/([a-zA-Z0-9_]+)\.html$ /forums/$1.php [L] Code (markup): Help. What's going wrong? =(
Options +Indexes Options +FollowSymlinks RewriteEngine on RewriteBase / RewriteRule ^forums/([^.]+)([^.]+),([^.]+),([^.]+)([^.]+)\.html)$ forums/viewtopic$5?$1=$2&$3=$4 [QSA,N] RewriteRule ^forums/([^.]+),([^.]+),([^.]+)([^.]+)\.html)$ forums/$1$4?$2=$3 [QSA,N] RewriteRule ^forums/([^.]+),([^.]+),([^.]+)([^.]+)\.html)$ forums/viewforum$4?f=$1&$2=$3 [QSA,N] RewriteRule ^forums/([^.]+)([^.]+)\.html$ forums/viewtopic.php?$1=$2 [L] RewriteRule ^forums/([^.]+)\.html$ forums/viewforum.php?f=$1 [L] RewriteRule ^forums/([^.]+)\.html$ forums/index.php?c=$1 [L] RewriteRule ^forums/([^.]+)\.html$ forums/profile.php?mode=viewprofile&u=$1 [L] RewriteRule ^forums/([^.]+)\.html$ forums/$1.php [L] for the last four lines they'll never work unless you add something unique to each of them, like a different extension or a directory name change. For RewriteRule ^forums/([^.]+)([^.]+)\.html$ forums/viewtopic.php?$1=$2 [L] you don't need the $1 part, since it's the same in every URL. RewriteRule ^forums/([^.]+),([^.]+),([^.]+)([^.]+)\.html)$ forums/viewforum$4?f=$1&$2=$3 [QSA,N] Why is $4 there??? I'm guessing it's viewforum?f= in the URL. RewriteRule ^forums/([^.]+),([^.]+),([^.]+)([^.]+)\.html)$ forums/$1$4?$2=$3 [QSA,N] will never work, cause apache will have no idea which script that's for!!! Post an orignal URL and the mod_rewrite URL for each type of URL.
Hey Nintendo. I have no idea what any of that means =(. This is from a phpbb mod I got from here. http://www.phpbb.com/phpBB/viewtopic.php?t=407141&highlight=seo
Options +Indexes Options +FollowSymlinks RewriteEngine on RewriteBase / RewriteRule ^forums/wacko\.html$ forums/index.php [L] domain.com/forums/wacko.html should show the index page...if you have mod_rewrite.
I just learned with the Economic hosting plan GoDaddy does not have Mod_Rewrite only with the Deluxe plan and up. Bahhhhh!!!