Welcome to WebmasterWorld Guest from 184.108.40.206
RewriteRule ^(.*)$ [site.com...] [R=301,L]
Now, I want to rewrite my url's that have dynamic content so they are more search engine / user friendly. Everything I read and try does not seem work for me.
I added the following:
RewriteRule file(.*)\.htm$ /file.php?prod=$1
But when I go to a page www.site.com/file.php?prod=1 the url does not change. I think I need a jump start to help me understand.
The basic problem is you are going the wrong way...
The link must be to the static page (does not exist), then use mod_rewrite to serve the information from the php page (does exist).
This should give you an idea: