August 10, 2007

WordPress : That was horrible for a moment

I was tweaking some settings of my blog. And I faced a problem which was a bit horrible for a moment. Login as admin and then go to the “options” tab. There you will find 2 options, one is “WordPress address (URL)” and other is “Blog Address (URL)”. I couldn’t understand the purpose of 2 addresses. So, I started thinking weird things, as in what would WordPress URL mean. I thought it meant the actual WordPress URL (i.e. wordpress.org, it may change in future :) ). I didn’t think anything else as I didn’t find any point calling my blog as wordpress blog, yes it is wordpress powered, but I am not freak about wordpress. And anyways there was this another option called Blog Address. So, I changed the Wordpress address to www.wordpress.org. And what is this? It started redirecting everything to wordpress.org. Oh my gosh. What to do? I wasn’t able to login. There was no other way to revert back the settings. I first started searching some config file where these settings were stored. Couldn’t find anything. Then it struck me that all settings should be on database. So, being a database nerd, I tried understanding wordpress database. I didn’t want to screw anything, as now I have a lot of things on my blog and making it again will be horrible ( I have done it once). And cautiously, I changed one record in the table “wp_options”. The record had option_id “1″.
Its so cool to have all settings in a proper file or database.

Wordpress guys, please take this into consideration. Add some mechanism for reverting settings. And make options labels more explanatory. I think for reverting, some script that we could run through browser should be enough. Another option can be that when configuration is changed, send a mail to admin. And in that mail send a link that should revert those particular settings. So, you have to keep a log of what settings are being changed and when were they changed. Of course dependencies of settings will have to be considered. But for the time being, at least option for reverting back the last change in settings should be easy and is must.

Filed under: Reviews, Wordpress — 10:37 pm

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment

This work is copyrighted by Rohit Jain under CC-BY-SA license.
Valid XHTML 1.0 Transitional Valid CSS! Creative Commons License Blog Powered By wordpress Wiki Powered By dokuwiki