wordpress - Changing Permalinks -
i want change permalinks /%year%/%monthnum%/%day%/%postname%/ /%postname%/
but when added following .htaccess file, posts didn't redirect way thought would:
redirectmatch 301 /dddd/dd/dd/(.*) /$1
what need put .htaccess file make work?
my site http://sweatingthebigstuff.com
i think missing point here - think @daniel has changed permalinks, , wants redirect old permalinks.
the problem redirectmatch regex matching literal 'd', not digits.
personally use instead;
redirectmatch 301 ^/[0-9]{4}/[0-9]{2}/[0-9]{2}/(.+)$ /$1
however, @markratledge right in saying there issues using postname.
Comments
Post a Comment