Quote:
Originally Posted by cflsystems
The line
RewriteRule ^((([/_a-z0-9-]+)/)?([_a-z0-9-]+)/)?([_a-z0-9-]+)(\.(htm|html))?$ cart.php?url=$5&last=$4&rest
looks for only htm and html to rewrite url. You can try adding hhh to see if it will work - if it does it is definitely this rul
RewriteRule ^((([/_a-z0-9-]+)/)?([_a-z0-9-]+)/)?([_a-z0-9-]+)(\.(hhh|htm|html))?$ cart.php?url=$5&last=$4&rest
You can also try
RewriteRule ^((([/_a-z0-9-]+)/)?([_a-z0-9-]+)/)?([_a-z0-9-]+)(\.(\/|htm|html))?$ cart.php?url=$5&last=$4&rest
for the / but I am guessing this may get in the way of categories, not sure
|
I got this working for products now.
Here is the RewriteRule I used:
RewriteRule ^((([/_a-z0-9-]+)/)?([_a-z0-9-]+)/)?([_a-z0-9-]+)(\/)?$ cart.php?url=$5&last=$4&rest=$3&ext=$7 [NC,L,QSA]
I'm still working on the categories if anyone has any suggestions on this.
A BIG THANK YOU to Mike and Steve for all of your help so far. You guys have been a huge help.