I'm new to mod rewrite, but have figured out so far how to do what I need. one of the last things I'm looking to do is change any Spaces in the url to have Dashes. Any help would be greatly appreciated.
For example:
[
domainname.com...]
[
domainname.com...]
Here's what I have so far, but not sure where to proceed from here:
#
# Externally redirect client requests for old dynamic URLs to equivalent new static URLs
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /manufacturer\.php\?id=([^\ ]+)\ HTTP/
RewriteRule ^manufacturer\.php$ [
domainname.com...] [R=301,L]
#
# Internally rewrite search engine friendly static URL to dynamic filepath and query
RewriteRule ^parts/([^/]*)/?$ /manufacturer.php?id=$1 [L]