95.26 WordPress Edit Site
To edit the site login through the wp-admin script. If this is on a local machine, as when WordPress has been installed as in Section @ref(wordpres:basic_setup) then that might be:
% For Azure
% + Open port 80 (HTTP) to the outside world (Azure portal)
% Change settings in WordPress to set
% + WordPress Address (URL) http://myhub.australiaeast.cloudapp.azure.com/blog
% + Site Address (URL) http://myhub.australiaeast.cloudapp.azure.com/blog
% Can also be done from mysql
% > UPDATE wp_options SET option_value = replace(option_value, ‘http://localhost’, ‘http://myhub.australiaeast.cloudapp.azure.com/blog/’) WHERE option_name = ‘home’ OR option_name = ‘siteurl’;
% > UPDATE wp_posts SET guid = replace(guid, ‘http://localhost’,‘http://myhub.australiaeast.cloudapp.azure.com/blog/’);
% > UPDATE wp_posts SET post_content = replace(post_content, ‘http://localhost, ’http://myhub.australiaeast.cloudapp.azure.com/blog/’);
% > UPDATE wp_postmeta SET meta_value = replace(meta_value,‘http://localhost’,‘http://myhub.australiaeast.cloudapp.azure.com/blog/’);
% + Browse to http://myhub.australiaeast.cloudapp.azure.com/blog/
Your donation will support ongoing availability and give you access to the PDF version of this book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984. Copyright © 1995-2022 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0