I am making a custom wordpress distribution I will use for my own sites including my language and a child theme. But, I want the permalinks to be /%postname%/ by default so that I don't need to change this in the setting after installation.
How can I do this?
flush_rules();is a very big on resources and with that function hooked on init meaning it will run on every page load – Bainternet♦ Feb 17 '12 at 14:49