"SQL Update Links Query"
Bootstrap 4.1.1 Snippet by anmolv886

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <div class="row"> <h2>Create your snippet's HTML, CSS and Javascript in the editor tabs</h2> </div> </div>
UPDATE wp_options SET option_value = replace(option_value,'http://www.oldurl', 'http://www.newurl') WHERE option_name = 'home' OR option_name = 'siteurl'; UPDATE wp_posts SET guid = replace(guid,'http://www.oldurl','http://www.newurl'); UPDATE wp_posts SET post_content = replace(post_content,'http://www.oldurl', 'http://www.newurl'); UPDATE wp_postmeta SET meta_value =replace(meta_value,'http://www.oldurl','http://www.newurl');

Related: See More


Questions / Comments: