Archive for the ‘Blogs’ Category
We shifted servers a few days back, but we seem to have some interesting problems. Right now, I see a two different versions of this blog in Firefox and Safari. Both point to same IP. Safari shows old version, Firefox shows new version.
This took much longer to figure out, but it was a very interesting catch! Here are some notes.
- We were checking the site from same network, same internet connection, same DNS servers. Firefox and Safari on my machine showed different versions of the blog.
- Cleared browser cache – did not work.
- Checked DNS – no problem. Everything was pointing to the new server correctly. This ruled out the possibility of DNS cache causing the problem.
- Removed all site content from the old server and put up a blank index page. Interestingly, that did not show up. We continued to see the site. This confirmed that it is not really a DNS cache problem.
- Checked Apache access logs – all requests were going through the new server. But still showing different designs.
- We started thinking where else could the cache be? Now that the problem is on the server.
- And Eureka! WordPress Super Cache was the culprit. I did clear the cache after setting up new design – as I suspected it first – but somehow the cache was not cleared. I should have manually deleted all cache files, rather than relying on the plugin to do it.
- Deleted all WP Super Cache files and folders and everything started working!
Thanks to everyone who helped. Sujeet reported the problem first, Akshay suggested a solution, Aamod commented on the design, Kunal reported a problem with comment posting and Alan from my systems team found the real cause. I am touched by your support.
And what more? R. Bhavesh even offered to redesign the template! Thank you!
So you’ve got a blog. How do you market it? How do you get people to subscribe to that RSS feed you have? How do you keep them coming back?
I looked around the web and found some blogs that give tips and techniques for marketing your blog. Here’s are a few links:
- Lee Odden gives 30 Tips of Marketing Your Blog. And on the same site Jolina covers the 8 Tips to More Effective Blogging from Aaron Wall’s session at SMX West.
- Heidi Cohen offers some Blog Marketing Strategies (especially for corporates) in this 2005 post.
- Blog Marketing Journal has good collection of posts on different techniques for marketing and promoting your blog. They cover SEO, email surveys and more.
- A lot of online marketing techniques can be applied to promote your blog. Check this Wikipedia article for some basic tactics in the right column.
How do you promote your blog? Or do you?
I never consciously marketed my blog, but I think I could use some of the tips in links above
I have a hard time managing comments on my blog! There are a few popular posts, and I keep getting hundreds of spam comments everyday. Interestingly the blog features in top 5 results if you search for entrepreneur on Google.
But somewhere the spammers got more intelligent and WP HashCash didn’t quite stop all the spam.
Around December 2006, Akismet couldn’t catch a lot of spam, but I lived with it. Over the last 1.5 years, Akismet stopped some 1,60,000 spam comments.
But then now, it was getting too much. A lot of purely spam comments were not detected by Akismet, and I had to find something else.
And I think I got the best solution to stop spam comments so far!
Essentially, the Match Comment plugin asks the users to enter sum of two digits on the comment posting form. We assume only humans can understand and answer this. Comment spam bots will not. So you get comments only from humans.
The Trackback validator checks the IP/Domain of all trackbacks you get, and also the page that generated the trackback. It checks for the link to your site / post and if found, marks it as valid comment. Everything else is spam.
I have Akismet on top of it, so if there are humans submitting spam comments, Akismet will catch that.
These three plugins combined, have stopped all spam comments! I now have zero spam!
There will be time when bots will become more intelligent and circumvent the current system. And then I will find something else!
What are your experiences with spam comments? What do you use to protect yourself?
Shantanu told me about a new Firefox add-on he has written a while ago. He also discussed it during the Mozilla Indic meet we had. It’s quite nifty, and I thought I should share it with
- Create an account on Mozilla if you don’t have it. Login to your account.
- Check Show Sandbox in Profile and Save.
- Click on Sandbox on upper left.
- Search for “girgit”. You will get this page.
- If you want to checkout the source code, follow the “View the source” link on the page.
Try it out!
And I am bugged by a problem with this setup for a long time!
window.opener.document.forms[g2ic_form] has no properties
insertImage (form#something.JPG.hidden_form g2image.php)
onclick(click clientX=0, clientY=0)
Happens in functions.js (line 133)
The only link that comes up when I search for “window.opener.document.forms[g2ic_form] has no properties” on Google is a forum post on WPG2 site. The post does talk about the same problem, gives a few alternates to solve the problem, but no final solution.
I figured out the pattern in the problem. Here’s what happens:
- You go to write a new post. Write something, and click on the WPG2 icon in the visual editor to bring up the Gallery 2 Image Chooser.
- If you select an image from the root of your gallery, it will insert well into the post.
- If you close the Image Chooser window, come back to the post, and click on the WPG2 icon again, it will open the Image Chooser in the place you left it – the same album / sub-album that you were last on.
- If you now click on an image, it will insert in the post without errors.
- My theory is that the Image Chooser is not able to (somehow) retain the window.opener over page refreshes. When you navigate inside albums, the Image Chooser page is refreshed. At this time, it just forgets who opened it. And throws out the error. When you reopen it, it does know which window opened it, and can insert the image well.
Hope this helps some worried souls!