[wp-hackers] How do I remove rewrite rules?

Chris McCoy chris at lod.com
Fri Oct 12 20:47:00 UTC 2012

Ive added my own attachment rewrite before (/picture/), but I never ended up
removing the default one.

Would be curious on this one as well

-----Original Message-----
From: wp-hackers-bounces at lists.automattic.com
[mailto:wp-hackers-bounces at lists.automattic.com] On Behalf Of Tom Barrett
Sent: Friday, October 12, 2012 12:02 PM
To: wp-hackers at lists.automattic.com
Subject: [wp-hackers] How do I remove rewrite rules?

Specifically, I would like to remove attachment rewrite rules and replace
them with a leading slug (e.g. /media/).

My Google-fu has abandoned me - all I can find is related to flushing and
apache rewrite. I want to delete the rule.

My main reason for this is slug collisions with media items. Especially that
they take precedence over pages.

http://www.tcbarrett.com | http://gplus.to/tcbarrett |
http://twitter.com/tcbarrett _______________________________________________
wp-hackers mailing list
wp-hackers at lists.automattic.com

More information about the wp-hackers mailing list