{"id":741,"date":"2005-05-11T15:50:08","date_gmt":"2005-05-11T20:50:08","guid":{"rendered":"http:\/\/blog.uvm.edu\/waw\/2005\/05\/11\/upgrading-wordpress-12x-to-151\/"},"modified":"2005-05-11T15:50:08","modified_gmt":"2005-05-11T20:50:08","slug":"upgrading-wordpress-12x-to-151","status":"publish","type":"post","link":"https:\/\/blog.uvm.edu\/waw\/2005\/05\/11\/upgrading-wordpress-12x-to-151\/","title":{"rendered":"Upgrading WordPress 1.2.x to 1.5.1"},"content":{"rendered":"<p>1) rename ~\/public_html\/wordpress and ~public_html\/wordpress-1.2.2<\/p>\n<p> 2) download and unpack distribution file<\/p>\n<p> 3) rename resultant folder wordpress-1.5.1<\/p>\n<p> 4) make logical link wordpress =&gt; wordpress-1.5.1<\/p>\n<p> 5) copy wordpress-1.2.2\/wp-config.php to wordpress-1.5.1\/<\/p>\n<p> 6) run http:\/\/www.uvm.edu\/netid\/wordpress\/wp-admin\/upgrade.php<\/p>\n<p> 7) Copy folder wordpress-1.2.2\/wp-content to wordpress-1.5.1\/<\/p>\n<p> That&#8217;s about it for &#8220;normal&#8221; users. Now comes the tricky part&#8230;.<br \/>\n making it use the UVM template<\/p>\n<p> 8 ) rename wordpress\/index.php wordpress\/index_orig.php<\/p>\n<p> 9) copy wordpress-1.2.2\/magicscript.php to wordpress-1.5.1\/<\/p>\n<p> 10) copy wordpress-1.2.2\/defaultmenu.html to wordpress-1.5.1\/<\/p>\n<p> 11) copy wordpress-1.2.2\/default.php to wordpress-1.5.1\/<\/p>\n<p> 12) copy wordpress-1.2.2\/waw.css to wordpress-1.5.1\/<\/p>\n<p> So far, so good. Except now most ever link is busted.<\/p>\n<p> A return to the drawing board reveals that the WordPress folks made<br \/>\n some big changes to their code that actually favors the UVM template.<br \/>\n I had previously altered:<\/p>\n<p>      wp-settings.php : changed the value of     $querystring_start<br \/>\n from &#8216;?&#8217; to &#8216;&amp;&#8217;;<br \/>\n      database table xxx_options, field blogfilename=default.php<br \/>\n      database table xxx_options, field home=http:\/\/www.uvm.edu\/~waw\/<br \/>\n wordpress\/?Page=<\/p>\n<p> Well, now there is no $querystring_start defined in the new wp-<br \/>\n settings.php, database table xxx_options, field blogfilename is<br \/>\n empty, and  database table xxx_options, field home=http:\/\/www.uvm.edu\/<br \/>\n ~waw\/wordpress\/<\/p>\n<p> Links OK now, but comments section of default.php template generating<br \/>\n errors. Changed<\/p>\n<p> to<\/p>\n<p> wp-comments.php doesn&#8217;t exist anymore. Replacement code from sample<br \/>\n wp.php file.<\/p>\n<p> Now it looks like the only thing now working quite right is the RSS2<br \/>\n link. Maybe that will get fixed when I convert to the new 1.5 Themes<br \/>\n format.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1) rename ~\/public_html\/wordpress and ~public_html\/wordpress-1.2.2 2) download and unpack distribution file 3) rename resultant folder wordpress-1.5.1 4) make logical link wordpress =&gt; wordpress-1.5.1 5) copy wordpress-1.2.2\/wp-config.php to wordpress-1.5.1\/ 6) run http:\/\/www.uvm.edu\/netid\/wordpress\/wp-admin\/upgrade.php 7) Copy folder wordpress-1.2.2\/wp-content to wordpress-1.5.1\/ That&#8217;s about it &hellip; <a href=\"https:\/\/blog.uvm.edu\/waw\/2005\/05\/11\/upgrading-wordpress-12x-to-151\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[175,6517],"tags":[],"class_list":["post-741","post","type-post","status-publish","format-standard","hentry","category-blogs","category-projects"],"_links":{"self":[{"href":"https:\/\/blog.uvm.edu\/waw\/wp-json\/wp\/v2\/posts\/741","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.uvm.edu\/waw\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.uvm.edu\/waw\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.uvm.edu\/waw\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.uvm.edu\/waw\/wp-json\/wp\/v2\/comments?post=741"}],"version-history":[{"count":0,"href":"https:\/\/blog.uvm.edu\/waw\/wp-json\/wp\/v2\/posts\/741\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.uvm.edu\/waw\/wp-json\/wp\/v2\/media?parent=741"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.uvm.edu\/waw\/wp-json\/wp\/v2\/categories?post=741"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.uvm.edu\/waw\/wp-json\/wp\/v2\/tags?post=741"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}