Upgrading to WordPress 2.x

16 02 2006

Hey Folks,

If you’re seeing this, you’re noticing that it looks a tad different than it has, (probably a good thing, not so sure about that funky brown anymore! ;) ). Am in the process of finally upgrading to WP 2.x, (most notably, to see how it does against that comment spam! :) ) there’ll definitely be more changes to come, so please bear with me - thanks! :)

——

BTW - if you’re doing this as well, and are concurrently changing the directory where your blog is located, there’s a good chance that the new “enable referers” thing will bork your blog. See the post I put up on the Wordpress website for the solution. :) .

Whoops, didn’t realize this was only behind a login, which I _really, really_ hate - if you want to require registration to post, fine, but requiring it to just view is bogus - also doesn’t get you the kind of organic search traffic you should be looking for, and doesn’t assist the recognition, etc. of the posters, who were good enough to contribute their time and energy, and deserve as broad credit as you can provide for their contributions, at least), so the full text is below:

If you’re trying to move the directory of your blog as part of your upgrade, (i.e. from http://www.mywebsite.com/blog to http://www.mywebsite.com) you’re going to find that you’re still in deep doo-doo after you follow the install directions, (i.e. you’ll notice there’s no theme at all on your blog now, just the raw text, and if you open up your error logs, you’ll see that it’s still trying to access mywebsite.com/blog/… rather than mywebsite.com/…).If you can get through to your admin logon, you’ll see that it also keeps popping /blog/ as part of the URL, and if you try to modify it directly in the address bar, you’ll get the “enable referers” thing again and again. You’ll read the docs, make sure all the settings are correct, (they will be). You’ll clear all your cookies, etc., still no joy.The cause is simple, in the database behind WP, it’s still reading that your blog should be at mywebsite.com/blog, and until it finds everything there, thanks to the referer thingus, it appears to not let you change it.

Simple solution, (presuming you have access to phpMyAdmin through your webhost). And warning - you’re inside your WP database, so if you’re not comfortable mucking around in your db, either get a friend to help, or only do the following, (it’s actually pretty safe, just don’t futz with anything else! :) ). Access phpMyAdmin for your database, click on the wp_options table in the left pane, and then click “browse.” The first item you’ll see is “siteurl,” which is still set to the old path. Click on the pencil, (”Edit”) remove the /blog from the option_value box, (can also remove from the option_description if you want - not necessary, but what the heck).

At the bottom of the page, you should see two option boxes separated by the words “and then.” They should be set to “Save” and “Go back to previous page,” respectively, (if not, set them to these values). Click on the Go button, and reload your blog, which you now should see in the default theme, (big blue box in the middle). Then close out the window you were in phpMyAdmin with, stop cursing, and enjoy your new WP 2.0 blog! :)


Actions

Informations

Leave a comment

You can use these tags : <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>