Add ‘Digg’ Button to Your WordPress Blog

Digg.com is a popular social news / bookmarking websites where people discover and share new content on the Internet. Users submit news, blog postings, web pages, images, and videos to share with others. Adding the Digg button will increase the opportunities to be “dugg”, which will help bringing more traffic to your blog.

There are some decent WordPress plug-ins to add the “Digg it” button to your blog posts and pages. Some of them come with detailed installation instructions as well.

I installed one of the most popular ones, but it shows the button on a separate line, resulting in moving the first paragraph to the next line as in the following image:

Put Digg Button to Your Blog

However, what I want is to have the text wrap around the image as in the most pages with Digg button I’ve seen on the Internet.

Add Digg This Button to WordPress Blog

Luckily, I’ve found out that I just need to add this simple line in the appropriate theme files - for me, single.php and index.php to show the button where I want it to be.

<div style= ‘margin:5px 10px 5px 0px; float:left;’><script src=”http://digg.com/tools/diggthis.js” type=”text/javascript”></script></div>

Get Your Blog Google Top-Ranked

How well does your blog rank on Google? Most bloggers would like to have their postings top-ranked in the Google search result pages.

Here are some essential tips to get you blogs top-ranked on Google.

- Choose a blog platform that can be easily extensible and have a lot of featured plug-ins. WordPress is one of the most popular blogging software these days. It’s an open-source platform that people fix bugs and add new features and plug-ins every day.

- Add FeedBurner to manager RSS feeds and email subscription as how many regular readers your blog has seems a significant factor when Google determines the ranking.

- Use social networking sites to broadcast your new postings such as MyBlogLog, Facebook, BlogCatalog, Technorati and more.

- Sign up Google Analytics and sync up Google Sitemap plug-in. Google Analytics is a great tool that’s free and efficient to keep track of visitors, search queries, bounce rate and more.

- Use tags and categories for your postings. Make sure tags and categories include keywords that you’d like to promote.

- It’s not guaranteed, but try to submit your blogs to free web directories such as Dmoz.

- Respond to comments. It shows that you’re a human who shares similar issues or opinion. Sometimes it can be necessary to respond to the comments especially when visitors’ comments go other direction that that you intended to. Jump in and “guide” them in the way that you originally wanted. Also, it’s a polite thing that you respond to users’ comments.

- Consider adding ads such as Google AdSense or individual affiliate ads only when you have established a good amount of traffic amount. When using affiliate ads, carefully select which ads to promote. They should be relevant to the content of your postings.

- Cross link within your postings using the keywords. Related or similar postings can be helpful in reducing visitors’ bounce rate.

- Be natural. The time to post a new article doesn’t have to be the same every time. Actually it looks suspicious as a cron activity.

- Most importantly, keep blogging. Write an intriguing and unique content. Build credibility by showing your expertise in the postings.

Technologies behind Google ranking of your blogs

Statement of Information - California LLC

What is “Statement of Information” in regard to LLC?

The Statement of Information is a public disclosure of corporation information that includes the business and mailing address of the LLC, the name and address of its CEO and managers, the name and address of the agent for service of process, and the general type of the business that establishes the principal business activity.

A new limited liability company must file an initial Statement of Information with the California Secretary of State within 90 days of filing the Articles of Organization. The LLC must file a Statement of Information biennially thereafter for the life of the limited liability company. LLC-12 is the form for the Statement of Information and its filing fee is $20 as of 2009.

Magento Installation Problem - MySQL Access Denied

I was installing Magento on one of my commercial sites just to try it out and ran into this installation problem:

SQLSTATE[28000] [1045] Access denied for user ……# ‘root’@’localhost’ (using password: YES)
# Database connection error

The error message explains itself: there is a database connection issue and it’s probably because either your username and / or password don’t match or your account doesn’t have the privilege for this execution.

My question was exactly about that, too. “Why does it try to access MySQL database using the ‘root’ account? ”

I’m using shared hosting service from HostGator for this site, and I don’t have the root access to any of my MySQL databases. For example, my username for a DB would look like “ebiz_magento”, not ‘root’. This is a common case when you don’t have a dedicated server.

Something must’ve been messed up during my installation process because I couldn’t simply believe that they would’ve set the root account as default DB access for the installation.

So where is the file that has this incorrect DB access configuration?

After spending over 30 minutes, I found this file that contains the database access information.

It’s an XML file, ‘local.xml’ under ‘/app/etc/’.

<default_setup>
<connection>
<host><![CDATA[/tmp/mysql5.sock]]></host>
<username><![CDATA[root]]></username>
<password><![CDATA[]]></password>
<dbname><![CDATA[magento]]></dbname>
<active>1</active>
</connection>

Change the username, password and dbname appropriately.

After a couple of days later, I figured out why I had this problem. I had installed the software locally on my Windows using the root account for MySQL before I did on my server. I uploaded the files from that directory where it was configured to use the root account in ‘local.xml’.

When I checked the files freshly upzipped from the installation file, I found it doesn’t have the file ‘local.xml’.

Annual Review Board Scam – California LLC

The letter from the Annual Review Board requiring payment of $228 is one of the newest California Limited Liability Company scam letters. Targeting small business owners who set up an LLC on their own, this scam letter looks very legitimate at the first glance. Also, its due date is very soon, which may confuse people and cause them to make hasty decision without being suspicious.

It asks for over $200 for the filing of LLC’s Statement of Information on the business owner’s behalf. Notice its filing address is Los Angeles, not Sacramento.

Business owners should read any letters very carefully when the letter asks for fees. This scam letter does say that “Annual Review Board is not a Government Agency” in the very small fonts.