I promised to add a few more explanations but never got back to do them.
Now, when I see how many linkbacks this thread has I think I'll try to explain a few more things.
In the first part of the tutorial I gave examples how to change your dynamic link structure too look like a directory structure or an HTML pages structure.
These are the two most common examples, but truth is you'll probably want a combination of these two.
So you want your
www.domain.com/index.php?query=xxx&id=yyy to look like this:
www.domain.com/xxx/yyy.html
How do you achieve this?
Your .htaccess file should look like this:
Code:
Options +FollowSymLinks
RewriteEngine On
RewriteRule ^(.*)/(.*).html$ index.php?query=$1&id=$2 [L]
And your links update in the PHP script should be something like:
PHP Code:
<html>
<body>
...
...
<?
echo '<a href="$siteurl/type/$id.html">Link</a>';
?>
This makes your site not only SEO friendly but human friendly too.