Hot answers tagged urls
Changing arguments for a post type "on the fly" by changing the global at some random point in time is below ideal. When you look at register_post_type() there is the register_post_type_args filter. Example on how to use it as a small (mu-)plugin: <?php /** * Plugin Name: Change Post Type arguments for Post Type X */ add_filter( 'plugins_loaded', ...
You need to update all the places in the database that are using the original location. you can use the following tool to do so. There are others but I have found this one to be easy. Just remember to remove the files after you are done with it. I would run this in it's new location and leave the development version alone. https://interconnectit.com/...
There are various ways to achieve it. The most simplest one could be to make a new page and with name "en" so the slug will be mysite.com/en/ Now make the "en" page as parent of my-page-name or in other words make my-page-name as a child of en. So slug will be mysite.com/en/my-page-name/
Only top voted, non community-wiki answers of a minimum length are eligible