How to make Wordpress permalinks ignore custom url rewrite
问题 i'm currently working on a wordpress site that needs to have the option to be offered in french. i've found a way to make the theme work with the fr_FR po and mo files when i add a querystring variable l . i.e. site.tld will yield the vanilla english site, while site.tld/?l=fr will activate the following code in my functions.php to serve the french translation: <?php // http://codex.wordpress.org/Plugin_API/Filter_Reference/locale add_filter( 'locale', 'set_my_locale' ); function set_my