andrewkro
Member
Posted 2 years ago #
Hi, I have an interesting question.
I'm developing a theme and a client wants to set it up so when activated, the blog's permalink structure is automatically changed to Custom permalinks.
Is it possible?
Also, is it possible to automatically assign that the frontage will be a static page?
Thanks,
Andrew
You can choose a certain page for front page in Settings > Reading.
http://codex.wordpress.org/Creating_a_Static_Front_Page
I haven't done it but this looks like the right information to using wordpress hooks for permalinks.
http://codex.wordpress.org/Function_Reference/WP_Rewrite#Plugin_Hooks
Instead of a plugin you would build it in your functions.php
andrewkro
Member
Posted 2 years ago #