{"id":353,"date":"2016-03-14T11:18:28","date_gmt":"2016-03-14T10:18:28","guid":{"rendered":"http:\/\/labo.sebipic.fr\/?p=353"},"modified":"2016-03-14T11:18:28","modified_gmt":"2016-03-14T10:18:28","slug":"url-qui-change-wordpress","status":"publish","type":"post","link":"https:\/\/www.maisse-sebastien.fr\/index.php\/url-qui-change-wordpress\/","title":{"rendered":"Url qui change (wordpress)"},"content":{"rendered":"<p>Voici la manip si vous avez besoin de changer l&rsquo;url de votre wordpress.<\/p>\n<p>Exemple pour le site labo.sebipic.com en labo.sebipic.fr, requ\u00eate faite dans le mysql :<\/p>\n<p>UPDATE wp_options SET option_value = replace(option_value, &lsquo;http:\/\/labo.sebipic.com&rsquo;, &lsquo;http:\/\/labo.sebipic.fr&rsquo;) WHERE option_name = &lsquo;home&rsquo; OR option_name = &lsquo;siteurl&rsquo;;<\/p>\n<p>UPDATE wp_posts SET guid = replace(guid, &lsquo;http:\/\/labo.sebipic.com&rsquo;,&rsquo;http:\/\/labo.sebipic.fr&rsquo;);<\/p>\n<p>UPDATE wp_posts SET post_content = replace(post_content, &lsquo;http:\/\/labo.sebipic.com&rsquo;, &lsquo;http:\/\/labo.sebipic.fr&rsquo;);<\/p>\n<p>UPDATE wp_postmeta SET meta_value = replace(meta_value,&rsquo;http:\/\/labo.sebipic.com&rsquo;,&rsquo;http:\/\/labo.sebipic.fr&rsquo;);<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Voici la manip si vous avez besoin de changer l&rsquo;url de votre wordpress. Exemple pour le site labo.sebipic.com en labo.sebipic.fr, requ\u00eate faite dans le mysql : UPDATE wp_options SET option_value = replace(option_value, &lsquo;http:\/\/labo.sebipic.com&rsquo;, &lsquo;http:\/\/labo.sebipic.fr&rsquo;) WHERE option_name = &lsquo;home&rsquo; OR option_name &hellip; <a href=\"https:\/\/www.maisse-sebastien.fr\/index.php\/url-qui-change-wordpress\/\">Continuer la lecture <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"two_page_speed":[],"footnotes":""},"categories":[3],"tags":[22,89,19],"class_list":["post-353","post","type-post","status-publish","format-standard","hentry","category-informatique","tag-administration","tag-mysql","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/www.maisse-sebastien.fr\/index.php\/wp-json\/wp\/v2\/posts\/353","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.maisse-sebastien.fr\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.maisse-sebastien.fr\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.maisse-sebastien.fr\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.maisse-sebastien.fr\/index.php\/wp-json\/wp\/v2\/comments?post=353"}],"version-history":[{"count":2,"href":"https:\/\/www.maisse-sebastien.fr\/index.php\/wp-json\/wp\/v2\/posts\/353\/revisions"}],"predecessor-version":[{"id":355,"href":"https:\/\/www.maisse-sebastien.fr\/index.php\/wp-json\/wp\/v2\/posts\/353\/revisions\/355"}],"wp:attachment":[{"href":"https:\/\/www.maisse-sebastien.fr\/index.php\/wp-json\/wp\/v2\/media?parent=353"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.maisse-sebastien.fr\/index.php\/wp-json\/wp\/v2\/categories?post=353"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.maisse-sebastien.fr\/index.php\/wp-json\/wp\/v2\/tags?post=353"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}