I hear that some search engines have problems with dynamic and long urls and also hear that url masking can over come this problem. How can I create a search engine friendly url masking? I have seen some directories do something like this: instead of www.myDomain.com/index.php?name=computer&type=ibm PHP: they put: www.myDomain.com/computer/ibm PHP: How do they do that?
You put some code like this in a .htaccess file: Options +FollowSymLinks RewriteEngine on RewriteRule (.*)-(.*)\.htm$ /index.php?name=$1&type=$2