Setting a preferred domain for your blog

The preferred domain means the address you want your visitors to see when they come to your site. That is http://exnol.com or http://www.exnol.com in my case. you can do this easily if you are on Apache. edit the .htaccess file as follows :

RewriteEngine On
RewriteCond %{HTTP_HOST} ^YOURDOMAIN.com$ [NC]
RewriteRule ^(.*)$ http://www.YOURDOMAIN.com/$1 [R=301,L]

If an htaccess file doesn’t exist, add the above code to a text file, name it .htaccess and save it at your root directory.If ReWriteEngine On is already in your htaccess file the ignore the first line.  Replace YOURDOMAIN with your sites domain name. There can be problems if you use this along with

RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

If you use them together some problems may occur during file access.

RewriteEngine on
This line starts the mod_rewrite module
RewriteCond %{REQUEST_FILENAME} !-d
If the request is for a real directory (one that exists on the server), index.php isn’t served.
RewriteCond %{REQUEST_FILENAME} !-f
If the request is for a file that exists already on the server, index.php isn’t served.
RewriteRule ^(.*)$ /index.php

There can be errors. I faced them while rewriting my .htaccess file but doesn’t remember the error correctly.

TinyMCE editor problem after wordpress2.7 install

Many WordPress blogs including this one faced a major problem after upgrading to WordPress 2.7 a few days back. Although the whole new look of WordPress is extremely easy and well designed for some the tinyMCE editor (default post editor for WordPress) was screwed up. This meant that no new post could be made or existing one edited with the current setup.

The most common problem was that the Visual editor tab was missing. When you click on the new post or edit buttons you go straight to the HTML editing mode. And if you click on the Visual tab the whole text as well as editor window is blank.

wordpress 2.7 TinyMCE editor error.

In my case if I selected the editor windows I can see the HTML highlighted ie the text was still there but was in white color and un-editable. From then on no buttons on the page including HTML mode, Preview, Save Draft, Publish etc worked.

After going through numerous threads on the wordpress forum finally I was able to sort out the problem. Many a peple at the forums had pointed out that the problem would naturally be with some plugin that modified the TinyMCE advanced. I tried deactivating the TinyMCE advanced plugin. But it still didn’t work. After sometime I found that websuccessdiva solved the problem by deactivating RB internal links plugin. The plugin allows you to link the text with already published posts inside the TinyMCE window itself.

Solution : Try deactivating the plugins that directyly affect the tinyMCE interface. for some this was RB internal links, for some this was Kimili Flash Embed. Although there was an opinion to install WordPress 2.7 fresh instead of upgrading this seemed not so practical.

One (free) instant messenger for all services

All the web sites having a chat facility has now got an instant messenger client. So a messenger that can handle multiple services was one I was waiting for a long time. I think this would be the case for most of you. But which client would support multiple services as well as run on both Windows and Linux? The answer is Pidgin a free and is distributed under GPL.

Pidgin is an instant messaging program for Windows, Linux, BSD, and other Unixs. You can talk to your friends using AIM, ICQ, Jabber/XMPP, MSN Messenger, Yahoo!, Bonjour, Gadu-Gadu, IRC, Novell GroupWise Messenger, QQ, Lotus Sametime, SILC, SIMPLE, MySpaceIM, and Zephyr.

Pidgin is the default IM client that comes with Linux(well some distros only – as Saman pointed out in the comments). Almost all of the features of other IM clients are available in pidgin also. But there is no support for video and audio chat. Although file transfer is integrated, most of the time it won’t work (at least when I tried).For pidgin to work properly tyou may need GTK. You can find a version of GTK along with pidgin itself. If not goto GTK for Windows.

http://www.pidgin.im/shared/img/logo.pidgin.png

One of the main advantages of pidgin is that it can sign in to multiple usernames at once. You can sign in to you GTalk, ICQ, Yahoo… messenger accounts at once. So you don’t need to manage multiples Windows which is a great feature.

PidGin can be downloaded here : Pidgin for Windows, PidGin is available by default in Linux – or install by sudo apt-get install pidgin.