.htacces modrewrite in lavalair user profile in shoutbox seo friendly url.
Code:
AddType application/x-httpd-php .htm.html.baz AddHandler x-httpd-php .htm.html.baz Options +FollowSymlinks RewriteEngine On RewriteRule ^user-([0-9]+)-(.*)-(.*).html$ index.php?action=viewuser&who=$1&sid=$3 RewriteRule ^shouts-(.*).html$ shouts.php?sid=$1 RewriteRule ^shout-(.*).html$ shout.php?sid=$1 next edit your script to this example in shoutbox echo "<b>ShoutBox</b><br />"; $lshout = mysql_fetch_array(mysql_query("SELECT shout, shouter, id FROM ibwf_shouts ORDER BY shtime DESC LIMIT 1")); $shnick = getnick_uid($lshout[1]); echo "<a href=\"user-$lshout[1]-$shnick-$sid.html\">".$shnick."</a>: "; echo parsepm($lshout[0], $sid); echo "<br />"; echo "<a href=\"shouts-$sid.html\">more</a>, "; echo "<a href=\"shout-$sid.html\">shout</a>"; clean output user-1-bazztord-sidhere.html shout-sidhere.html shouts-sidhere.html
Comment