DNS – Change WordPress Site Name?

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 … Read more

Accidentally changed website url

So you do not know the url what you changed? If so, then follow these steps Go to the phpmyadmin go to the options table search for this option_name siteurl then you can know what you changed then using that url you can login then change it back

dynamic site link for future migration in echo do_shortcode()

You can save your website’s URL into a variable and pass it to the shortcode: $url = site_url(); echo do_shortcode(“[timeline src=”https://wordpress.stackexchange.com/questions/284281/$url/rest-of-the-url/”]”); You should also be able to use your shortcode in the following way: echo do_shortcode(“[timeline src=””.site_url().”/rest-of-the-url/”]”);

Two sets of url one content?

You can create custom post type to manage your secondary content (multilanguage i suppose) and set these /fr/ your CPT rewrite base. Create a CPT function add this to your function. $rewrite = array( ‘slug’ => ‘fr’, ‘with_front’ => false, ‘pages’ => true, ‘feeds’ => true, ); After that set CPT rewrite option to rewrite … Read more

How to Use Custom Meta Field Instead of CPT Title in Post URL

You have to use a wp_update_post function and update the required fields based on available fields in WP_Post class. add_action( ‘save_post’, ‘wpse75679_save_post’ ); function wpse75679_save_post( $post_id ) { if( defined( ‘DOING_AUTOSAVE’ ) && DOING_AUTOSAVE ) return; // verify post is not a revision if ( ! wp_is_post_revision( $post_id ) ) { // unhook this function … Read more