ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Removing category trigger (i know it’s been asked before -- but please read)

January 03, 2012 3:34pm

Subscribe [2]
  • #1 / Jan 03, 2012 3:34pm

    rkingon

    10 posts

    Hi All,

    I know this question has been asked numerous times—but I didn’t see any case regarding doing this via htaccess.

    I wrote this rule:

    RewriteCond %{REQUEST_URI} ^/products/(?!category/) [NC]
    RewriteRule ^/products/(.*) /products/category/$1 [QSA,L]

    For some reason it’s not working though… hoping to get a little input as to why.. I’m 99% sure my rewrite is correct


    thanks!

  • #2 / Jan 04, 2012 3:06pm

    rkingon

    10 posts

    bump

  • #3 / Jan 04, 2012 3:54pm

    Out of curiosity, why are you attempting to remove it with .htaccess?  Why not solve the problem by not creating links to the correct URL in the first place?

  • #4 / Jan 04, 2012 4:48pm

    Dan Decker

    7338 posts

    HI rkingon,

    I’m sorry, we aren’t set up to support .htaccess directives other than the ones used in the Officially Supported method. Since you’ve got a discussion going here, I’m going to move this into Community Help.

    Cheers!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases