I'm new here, so first thing Hi everyone.
I'm moving a website from apache to cherokee, it's almost done, but there
are some little thing still.
All is already working perfectly so i'm trying to use the same rule that
"takes away" the date part from old posts (
../2009/10/23/videocartelera-23-octubre-2009/) to work with a new title
only permalink ( ../videocartelera-23-octubre-2009/ )
In apache i was using something like:
RewriteRule ^([0-9]{4})/([0-9]{2})/([0-9]{2})/(.*)$
http://estrenos-de-cine.labutaca.net/$4 [L,R=301]
and in cherokee i'm trying first in the last behavior of the domain
(Default one) that has last rule
(wordpress one ^/(.*)$ => /index.php?$1)
and i write before another internal regular expression like
^([0-9]{4})/([0-9]{2})/([0-9]{2})/(.*)$ => /$4
But it's not working.
How can i solve this?
Thanks
I'm moving a website from apache to cherokee, it's almost done, but there
are some little thing still.
All is already working perfectly so i'm trying to use the same rule that
"takes away" the date part from old posts (
../2009/10/23/videocartelera-23-octubre-2009/) to work with a new title
only permalink ( ../videocartelera-23-octubre-2009/ )
In apache i was using something like:
RewriteRule ^([0-9]{4})/([0-9]{2})/([0-9]{2})/(.*)$
http://estrenos-de-cine.labutaca.net/$4 [L,R=301]
and in cherokee i'm trying first in the last behavior of the domain
(Default one) that has last rule
(wordpress one ^/(.*)$ => /index.php?$1)
and i write before another internal regular expression like
^([0-9]{4})/([0-9]{2})/([0-9]{2})/(.*)$ => /$4
But it's not working.
How can i solve this?
Thanks