There's a lot content on the internet for URL re-creates with different quantity of scenario's it causes it to be difficult to discover a means to fix a particular query.

I am just attempting to clarify exactly what the 'best' method to re-write URL's with query parameters to 'search engine friendly' URL's could be when utilizing mod_rewrite with an apache server.

For instance:

http://www.mydomain.com/product.php?pid=130

Would something similar to the next inshtaccess rewrite the above mentioned Hyperlink to a internet search engine friendly version?

RewriteEngine on
Options +FollowSymlinks
RewriteBase /
RewriteCond %{QUERY_STRING} ^pid=130$
RewriteRule ^$ /productid-130.html [L]

Any suggestions about this is greatly appreciated.

Thanks ahead of time.

try adding the next for your .htaccess file

Options +FollowSymlinks    
RewriteEngine on
RewriteBase /

#if it is a productid html url, then capture the productid
RewriteCond %{REQUEST_URI} ^/productid-([0-9]+)\.html$ [NC]
#and rewrite to product.php with id
RewriteRule . product.php?pid=%1 [L]