View Single Post
  #12  
Old 10-15-2014, 11:05 AM
 
Phil Richman Phil Richman is offline
 

Advanced Member
  
Join Date: May 2012
Posts: 94
 

Default Re: Clean Url settings

Quote:
Originally Posted by cflsystems
Good to see you worked it out. It was the dot in (\.(\/|htm|html)) - that's what happens when I don't pay much attention

By the way you can try

RewriteRule ^((([/_a-z0-9-]+)/)?([_a-z0-9-]+)/)?([_a-z0-9-]+)(\/|(\.(htm|html)))?$ cart.php?url=$5&last=$4&rest=$3&ext=$7 [NC,L,QSA]

just to keep the original as well
I replaced my rewrite rule with your latest suggestion. Now I just need to figure out the clean urls for categories. Currently the category clean urls are 'example.com/category/subcategory1/subcategory2/' and I would like for only the category / subcategory that you are in to show. I'm looking for something more like example.com/subcategory2. I'm wondering if maybe this is an htaccess change also to strip out everything except for the lowest subcategory, or if this is a change in the converter.php or a combo in between. What are your thoughts on this?
__________________
Ver 5.2.6
Reply With Quote