views:

28

answers:

1

Hi Experts,

I have the following regex in my .htaccess file

RewriteRule ^suppliers/category/([\w\s-\/]*)$ /index.cfm?ct=suppliers.home/category/$1 [nc]

For some reason this code is not picking up the forward slash properly. e.g.

for the following url http://mydomainname.co.uk/suppliers/category/Archive/records%20Management I would expect the variable to be 'Archive/records Management' but instead it's just 'Archive'

What am I doing wrong?

A: 

Your pattern is working fine for me, in an isolated environment. My guess is that you've got other RewriteRules which are conflicting with this rule.

Daniel Vandersluis