I'm triyng to put a server rule on a htaccess to remove some parts of the urls that wordpress generates via permalinks when you work with CPT (custom post types). The fact is that I'm not sure that this can work via a simple Rewrite rule.
my urls actually looks like this:
http://www.13mdn.com/newreleases_post/white-stripes.
I would like to change to:
http://www.13mdn.com/white-stripes
and
http://www.13mdn.com/oldreleases_post/the-who
I would like to change to:
http://www.13mdn.com/the-who
here is the rules I made on htacces file
RewriteRule ^newreleases_post/(.*)$ $1
RewriteRule ^oldreleases_post/(.*)$ $1
This don't work.
I also Have tried puting the rule via wordpress function like this