Don't know if this is in Wombat or not, but it's definitely within MM5-PR6. When using shortlinks with "-" as the delimiter, the htaccess rewrite rule will not work for categories with a "-" in the category code.
While I understand the difficulty of determining "where the category code begins and ends" if the delimiter is IN the category code, at least for category pages this is not an issue. There is only ONE variable in category short links, everything after [prefix][delimiter] is the category code and should be able to contain the delimiter.
eg: /c-my-category.html => category_code = my-category.
Change:
RewriteRule ^c-([^-.]+).html$ /mm5/merchant.mvc?Screen=CTGY&Category_code=$1 [L]
To:
RewriteRule ^c-([^/.]+).html$ /mm5/merchant.mvc?Screen=CTGY&Category_code=$1 [L]
As a fix.
Best,
James
While I understand the difficulty of determining "where the category code begins and ends" if the delimiter is IN the category code, at least for category pages this is not an issue. There is only ONE variable in category short links, everything after [prefix][delimiter] is the category code and should be able to contain the delimiter.
eg: /c-my-category.html => category_code = my-category.
Change:
RewriteRule ^c-([^-.]+).html$ /mm5/merchant.mvc?Screen=CTGY&Category_code=$1 [L]
To:
RewriteRule ^c-([^/.]+).html$ /mm5/merchant.mvc?Screen=CTGY&Category_code=$1 [L]
As a fix.
Best,
James
Comment