Saturday 15 March 2014

Why I moved from Blogger to Wordpress

At the time of writing this post I have still not moved from Blogger yeah I am writing against using blogger on the Blogger Platform Irony!!

I started this blog on blogger as with blogger you get the Boon of free security maintenance, site url, hosting, over all maintenance and because of my other projects I was not sure if I could really devote enough time to this blog.

The biggest reason why I decided to move to wordpress is because I am missing the flexibility than wordpress offers as compare to blogger yeah there are widgets but they are really hard to find that come from any trusted source and could really fulfill my requirements.

However using blogger has given me the precious insight which will help me in writing post for bloggers who are using the blogger platform.

Anyways I had to create a tutorial on migrating from blogger to wordpress so now I can record my own migration journey and add to my video tutorials list.


So I will update my developments as soon as I will make them :D

A little update

I am searching for a good theme and making the list of all the plugins I have to install.


Domain configuring done. The mx record problem is really getting more and more frustrating ah.. still I am not receiving mails to my new domain email probably the problem will be automatically resolved after 48-72 hours.

Finally the email not receiving problem has been solved now I can focus on installing themes, plugins and hardening wordpress security.

Friday 14 March 2014

How to Manually Update your Wordpress

This article will show you how to update your wordpress manually, if you cannot access your wordpress dashboard due to any problem like this one.

Before starting the update process we will backup everything so incase something goes wrong we can recover our site from the backup.

Now assuming you are using the manual update method because you cannot access your wordpress dashboard else if you can access your wordpress dashboard I would advise you to instead of manual method use the automatic method.

Make sure your mysql database user has all privileges else restricted privileges may interrupt the upgrade process.

Now download the latest version of wordpress from wordpress.org then upload all the files via ftp/cpanel to your server.

To make things easier I would recommend you to extract the downloaded folder in your desktop and rename the wp-admin folder to your custom folder name (if you have renamed your wp-admin)

Now upload all the new files and to your server and overrite the existing (old) ones.

Now go to yoursite.com/wp-admin/upgrade.php and follow the on screen instructions to update your wordpress.

After finishing the update procedure delete all the unnecessary files from your server like readme.html, license.txt,wp-configsample.php (this will also help in not revealing your wordpress version) and any other unnecessary file.

If this article helped you please give it a google plus this will help others in finding it and if you having queries/problem you can ask below I would be glad to help you :)


Thursday 13 March 2014

How to Stop Blogger Country Specific Redirection

I think all of you are aware of the Blogger Country Specific Redirection issue. In this article I will show you why it is bad for your blog SEO.

For those who are not aware about this :-

Blogger redirects you to your country specific domain (ccTLD) for example if you are from Canada and try to visit any exampleblog.blogspot.com it will redirect you to exampleblog.blogspot.ca, if you are from UK it will redirect you to the .co.uk domain.

Blogger (Google) does it to make their task easy of managing content according to the local laws so if a blog content violates rules of UK but in Canada the content doesn't violates any law, google will block access to the blog on the local country url.

You can still visit the .com url by adding /ncr after the url you can try visiting google.com/ncr

Why Blogger Country Redirect is Harmful for your site's SEO


Google has themselves mentioned on their site that this redirect can affect your search engine optimization.

1. A search engine bot who visits your site from X country will see your blog content on the X country domain then the same company's search engine bot visits your site from Y country will see your blog content on Y country domain. This will confuse the search engine bot and the bot may think your Y country blog is a copy of X country blog and penalize you for duplicate content.

How to fix Wordpress Unavailable for Scheduled Maintenance error

In this article I will show you what to do if your wordpress blog got stucked in the maintenance mode error after you tried to update your wordpress or one of the plugins.

Understanding the Wordpress maintenance mode error


When you update your wordpress components wordpress automatically goes in the maintenance mode while updating, wordpress will show you the maintenance page.

So technically it is not actually an error this error is mostly faced by users who uses poor shared hosting service this is why I advice to always use good hosting provider like hostgator.

Because of poor crowded hosting server which timeouts often or has very low memory is the real culprit of this error, when you give wordpress the command of updating and in the middle of the updating process your server timeouts this causes the wordpress to get stucked in the middle of the maintenance mode. Now because your server timeout the update process did not completed properly and wordpress will keep showing the maintenance mode.

How to fix the maintenance mode error ?

Sometimes it just requires waiting for few minutes and refreshing the page but if you are reading this page then I guess your wordpress is still stucked in the maintenance mode so lets move to the next step.

Monday 10 March 2014

How to remove or change your Display name from Blogspot Blogger Posts

In this post I will show you how to hide your name in blogspot blogger posts and do blogging anonymously.


This will be useful if you are concerned about your privacy and instead of using your real name you want to use your nickname. OR you want to sign your blog posts with your virtual nickname which you use on other forums ,social networks like facebook, twitter, youtube.

Blogger allows you to hide your profile either completely or partially



You get options to 
  • Share or Hide your Complete Profile
  • Share or Hide your Email Address
  • Show or Hide all your blogs list of which you are author.

Saturday 8 March 2014

With .htaccess Password protect your Wordpress site Directory

I this tutorial I will show you how to password protect your wordpress or any site directory with .htaccess 



Before we proceed a little about information about http basic authentication from wikipedia


HTTP Basic authentication (BA) implementation is the simplest technique for enforcing access controls to web resources because it doesn't require cookiessession identifier and login pages. Rather, HTTP Basic authentication uses static, standard HTTP headers which means that no handshakes have to be done in anticipation
The BA mechanism provides no confidentiality protection for the transmitted credentials. They are merely encoded with Base64 in transit, but not encrypted or hashed in any way. Basic Authentication is, therefore, typically used over HTTPS.
Because the BA header has to be sent with each HTTP request, the web browser needs to cache credentials for a reasonable period of time to avoid constantly prompting the user for their username and password. Caching policy differs between browsers. Microsoft Internet Explorer by default caches them for 15 minutes.
While HTTP does not provide a method for web server to instruct the browser to "log out" the user (forget cached credentials), there are a number of workarounds using specific features in various browsers. One of them is redirecting the user to an URL on the same domain containing credentials that are intentionally incorrect



For this we will need two files .htaccess and .htpasswd 

.htaccess will contain the information about the path of .htpasswd and a message that will be shown when any will try to access the protected directory. In the above image you can see the message 'Restricted Zone' you can set it to anything you want, it doesn't really matter.


Now open your file manager in Cpanel and Create a new file named .htaccess

Now Open .htaccess in code editor add the code given below and save it.

Else if you want to do it using ftp create a file named htaccess.txt open in notepad add the code given below and later rename it to .htaccess

Add the following code in it 

ErrorDocument 401 "Unauthorized"
AuthType Basic
AuthName "Restricted ZOne"
AuthUserFile /home/yourcpanelusername/.htpasswds/.htpasswd
Require valid-user


12 Steps How to secure your wordpress from hacking Guide

Securing wordpress is very important for every blog using wordpress be it a personal dairy blog or a big authority blog. Wordpress is a very popular opensource platform for blogs some very popular and big news sites also use wordpress platform usually they use the VIP wordpress platform which comes with more security, support, maitenance and features but it is a paid platform and not everyone can afford to use it.



So free wordpress is not secure ?


Well no free wordpress is also very secure many big professional bloggers use it.

Free Wordpress platform's popularity is both a BOON and an BANE

The difference between free wordpress and VIP wordpress is like your pc is secured but you still use security measure like avoiding visiting dangerous websites and also use antivirus to protect yourself, VIP wordpress is like you hire someone for managing your security, performance stuffs and pay him for his service. I hope you understood what I am trying to say.

Anyway so instead of antivirus we will be using here security plugins and .htaccess rules as firewall.


 In .htaccess you can set the rules for accessing your website contents. There are also some wordpress plugins available for setting .htaccess rules to make your wordpress secure. In case you just need a quick fix you can use them however I like to set each .htaccess rules according to my needs.

So the First step to make your wordpress secure will be using a different wordpress database prefix than the deault one. By default it is set to 'wp_' and if you don't change it while installing wordpress it makes the hackers work easy to guess your database prefix and further exploit is using sql injections to run malicious sql queries. Database is your wordpress memory and without it is like a person without brain so securing it is very important.