I have an htaccess rewrite rule setup to rewrite urls for model numbers.
It looks like this:
RewriteRule ^([A-Z0-9:-]+).html$ ProductDetails.php?SKU=$1 [NC]
This works great except that some models have a forward slash in them which causes it to look like a new directory. Example model: 123/abc
I tried this rewrite:
RewriteRule ^([A-Z0-9:-^/^]+).html$ ProductDetails.php?SKU=$1 [NC]
which opens the page instead of a no page found, but the css and image files are missing.
How do I allow for a slash in the model?
Thanks for your help.