All Stories

Tuesday, 28 January 2014

How to Stop Blogger Blog from Redirecting To Country Domains

 Every Blogger Blog Redirects to country domains like- .in, .co.uk, .se, .ca. But some don't like this redirection because of some reasons which I will discuss later in in this post. And so some stop the Blogger Blog from Redirecting To Country Domains. But first I will tell you why Blogger Redirects your blog to Country domain.

Why does Blogger blog redirect to country domains ?

According to Blogger they redirect Blogger blogs to custom domain so that they can handle the information at the local level and make it easy for them to handle the blogger sites more efficiently.

What happens when blogger redirects Your Blog to Country Domains.

There are many cons to the blogger blog redirection which is why people Stop their Blogger Blog from Redirecting To Country Domains, some of the main reasons are-
1. When someone places a link of your site on their site they might link to your country domain link and not to the.com domain and so you will not get the benefit of the backlink.  

2. Your page-rank also gets divided as you might get more visitors from India but a bit less from Canada and so your blogspot.in domain will have a better rank than the blogspot.ca domain leading to loss of traffic from Canada and also loss of page-rank in a whole from your blogspot.com website.
I have myself been a victim of this so I warn you before hand.

How to Stop Blogger Blog from Redirecting To Country Domains-

To stop your Blogger Blog from redirecting to country domains just follow the below steps-
1. First go to your Blogger Dashboard.
2. Navigate to the Template menu of your blog.
3. Click on the Edit HTML option in the template menu. 

How to Stop Blogger Blog from Redirecting To Country Domains
4. In the Edit HTML template Press Crtl + F and search this tag- <head>
5. And then Paste the below code-
 <!-- websdevil.blogspot.com -->
<script type="text/javascript">var blog = document.location.hostname;var slug = document.location.pathname;var ctld = blog.substr(blog.lastIndexOf("."));if (ctld != ".com") {var ncr = "http://" + blog.substr(0, blog.indexOf("."));ncr += ".blogspot.com/ncr" + slug;window.location.replace(ncr);}</script>
<!-- websdevil.blogspot.com -->
6. After pasting the above code save the template.

After saving it visit your site and you will see that the Blogger Blog Redirection to country domains for your blog has been stopped and it would look like this-

How to Stop Blogger Blog from Redirecting To Country Domains
Thank you for reading.
<script type="text/javascript">var blog = document.location.hostname;var slug = document.location.pathname;var ctld = blog.substr(blog.lastIndexOf("."));if (ctld != ".com") {var ncr = "http://" + blog.substr(0, blog.indexOf("."));ncr += ".blogspot.com/ncr" + slug;window.location.replace(ncr);}</script> - See more at: http://mybloggerdesk.blogspot.com/2013/01/how-to-stop-blogger-blog-from.html#sthash.AHPoppv5.dpuf
<head>
<head><head>

How to Stop Blogger Blog from Redirecting To Country Domain - See more at: http://mybloggerdesk.blogspot.com/2013/01/how-to-stop-blogger-blog-from.html#sthash.jqVFBTeU.dpuf

Posted at 05:24 |  by Akash Ghosh

Monday, 27 January 2014

How to Remove the Showing Posts With Label from Blogger

Normal Blogger blags show the " Showing Posts With Label " attribution whenever a person clicks on a label in Blogger. This message is not very important and sometimes blogger like us LOVE to remove these annoying attributions. To know how to remove the Showing Posts With Label attribution from Blogger follow the steps given below.

How to Remove the " Showing Posts With Label ... " Attribution from Blogger :


1. Go to your Blogger Dashboard and Navigate To the Template Menu.

How to Remove the Showing Posts With Label from Blogger

 2. Click On Edit HTML option In the Template Menu.

3. In the Edit HTML Window, Click anywhere in the window and Press Ctrl + F to activate the search option.

4. Then Search- 

<b:includable id="status-message"></b:includable>

<pre class="brush:html">
                 Your 'HTML' code goes here
                  </pre> - See more at: http://mybloggerdesk.blogspot.com/2013/01/how-to-add-syntax-highlighter-to-blogger.html#sthash.dPwC7XHS.dpuf
<pre class="brush:html">
                 Your 'HTML' code goes here
                  </pre> - See more at: http://mybloggerdesk.blogspot.com/2013/01/how-to-add-syntax-highlighter-to-blogger.html#sthash.dPwC7XHS.dpuf
<pre class="brush:html">
                 Your 'HTML' code goes here
                  </pre> - See more at: http://mybloggerdesk.blogspot.com/2013/01/how-to-add-syntax-highlighter-to-blogger.html#sthash.dPwC7XHS.dpuf
After you find it click on the arrow sign right beside the code to expand it.

How to Remove the Showing Posts With Label from Blogger



5. When You will expand it you will find something like this-
    <b:includable id='status-message'>
      <b:if cond='data:navMessage'>
      <div class='status-msg-wrap'>
        <div class='status-msg-body'>
          <data:navMessage/>
        </div>
        <div class='status-msg-border'>
          <div class='status-msg-bg'>
            <div class='status-msg-hidden'><data:navMessage/></div>
          </div>
        </div>
      </div>
      <div style='clear: both;'/>
      </b:if>
    </b:includable>
 6. You will have to just replace it with the code below to Remove the Showing Posts With Label attribution from your blogger blog. 
<b:includable id='status-message'>
<b:if cond='data:navMessage'>
<div>
</div>
<div style='clear: both;'/>
</b:if>
</b:includable>
7. After you replace it just save the template and you will notice that the " Showing Posts With Label " attribution.

Thank you for reading and if you face any problem completing the steps leave a comment below and I will response to it as soon as possible.

Posted at 06:02 |  by Akash Ghosh

Saturday, 5 October 2013

How To Move From Blogger To WordPress Without Loosing Your Traffic, Page Ranking And Subscribers

How To Move From Blogger To WordPress Without Loosing Your Traffic, Page Rank And Alexa Ranking
Moving From Blogger to WordPress is very simple and can be done by just a few clicks. But the main problem lies with your Traffic, Subscribers, Page ranking and your Alexa ranking because when you try to move from Blogger to WordPress you loose every thing listed above. And so maximum bloggers close the idea of moving to WordPress. But today I will tell you the simplest possible way to move from Blogger to WordPress without loosing your traffic,subscribers and rankings. Read on to know how.

Blogger is the first platform that maximum Bloggers use to create their website and I believe everyone should, because it is very simple and you can even customise your website with professional looking templates and gadgets but at 0 expenditure. But as soon as the Website becomes prominent and receives a good amount of traffic the Authors think of moving to WordPress as it provides more professional tools and more scope of customization. But there still lies the problem that I told you before and so many remain with blogger even if they could afford WordPress.

Now without wasting anymore time I will tell you the secret process by which you can easily move from Blogger to WordPress without loosing your traffic,subscribers and rankings.

How To Move From Blogger To WordPress -

To move from Blogger To WordPress follow the simple steps given below.

1. First Make a Backup copy of your Blog on Blogger.

2. Register a new domain in any hosting providers like GoDaddy or BigRock and install the Wordpress Plugin in it.

3. Then After setting up WordPress go to Admin Dashboard, under Tools option click on Import and select Blogger option. 

4. Blogger will ask for authorization, authorize WordPress to access your Blogger account and select the Blogger Blog that you want to import.

5. After the import is complete all your blogger post will appear on your Wordpress site.

6. Open Your WordPress theme editor present under Appearance and open functions.php and copy the following code in it and Click On Update. Paste this code at the top and not in the end.
    
    <?php
    
    function labnol_blogger_query_vars_filter( $vars ) {
    $vars[] = "blogger";
    return $vars;
    }
    
    add_filter('query_vars', 'labnol_blogger_query_vars_filter');
    
    function labnol_blogger_template_redirect() {
    global $wp_query;
    $blogger = $wp_query->query_vars['blogger'];
    if ( isset ( $blogger ) ) {
    wp_redirect( labnol_get_wordpress_url ( $blogger ) , 301 );
    exit;
    }
    }
    
    add_action( 'template_redirect', 'labnol_blogger_template_redirect' );
    
    function labnol_get_wordpress_url($blogger_slug) {
    global $wpdb;
    if ( preg_match('@^(?:https?://)?([^/]+)(.*)@i', $blogger_slug, $matches) ) {
    $q = "SELECT guid FROM $wpdb->posts LEFT JOIN $wpdb->postmeta
    ON ($wpdb->posts.ID = $wpdb->postmeta.post_id)
    WHERE $wpdb->postmeta.meta_key='blogger_permalink'
    AND $wpdb->postmeta.meta_value='$matches[2]'";
    $wp_url = $wpdb->get_var($q);
    }
    return $wp_url ? $wp_url : home_url();
    }
    
    ?>

7. After saving Everything go to your Blogger Dashboard and choose the Template option of your blog.

8. In the Template Option scroll down to " Revert To Classic Template"  option and click on it .

9. Copy and Paste the following code in the Blogger Template Editor, but before doing that change all the "websdevil.blogspot.in" with your New WORDPRESS Site URL. After Pasting it Save the Template.
<html>
    <head>
    <title><$BlogPageTitle$></title>
    <script>
    <MainOrArchivePage>
    window.location.href='http://websdevil.blogspot.in/'
    </MainOrArchivePage>
    <Blogger> <ItemPage>
    window.location.href='http://websdevil.blogspot.in/?q=<$BlogItemPermalinkURL$>'
    </ItemPage> </Blogger>
    </script>
    <MainPage>
    <link rel="canonical" href="http://websdevil.blogspot.in/" />
    </MainPage>
    <Blogger><ItemPage>
    <link rel="canonical" href="http://websdevil.blogspot.in/?blogger=<$BlogItemPermalinkURL$>" />
    </ItemPage></Blogger>
    </head>
    <body>
    <MainOrArchivePage>
    <h1><a href="http://websdevil.blogspot.in"><$BlogTitle$></a></h1>
    </MainOrArchivePage>
    <Blogger><ItemPage>
    <h1>
    <a href="http://websdevil.blogspot.in/?blogger=<$BlogItemPermalinkURL$>">
    <$BlogItemTitle$>
    </a>
    </h1>
    <$BlogItemBody$>
    </ItemPage></Blogger>
    </body>
    </html> 
10. After Saving the template open your old blogger blog with the blogger URL and you would surely be redirected to your new WordPress Blog. And I believe that all your Page rankings and traffic will also be transferred to your new WordPress Blog, but it may take some time.

Now Remains Your RSS Subscribers and I have a solution to that also.

How to Move Your RSS Subscribers-

 To move Your Blogger RSS Feed and Subscribers just follow the simple steps-

1. Go to Blogger Dashboard and navigate to Settings option.

2. In the settings option click on Others and scroll down to the "Site feed" Section.

3. in the Site Feed section click on Add beside the heading- "Post Feed Redirect URL" and add your New WORDPRESS Site URL.

As Soon as You Change the Redirect URL all your RSS subscribers will also be redirected to your new Site.

And in case of other RSS feed providers like Feed Burner just change source from Blogger RSS feed to the new WordPress RSS feed. 

That is all that I have today but I will be soon back with some more new tips and tricks for you, so till then keep a watch here.

Posted at 00:29 |  by Akash Ghosh

Friday, 27 September 2013

How To Increase Your Website/Blog Traffic


“ How to increase my Website/Blog Traffic ? ” is not at all uncommon to me neither do I think it is uncommon to you as ( I believe)  a blogger in some part of his life has thought about this and to be true I myself have been attacked by this. But how really can you increase your website/ blog traffic  is a real interesting thing and today I am going to tell you how to do this in just a few steps. Read on to know how.

But first I believe that you must know the main importance of increasing your site traffic because without knowing the importance of a thing it is useless to complete it.

Importance of Increasing your website/blog Traffic-

Some of the main importance of increasing your website/blog traffic are listed below .
  •  Increasing your Website traffic obviously increases your reach to the people which increases revisits, I mean those who visit your site once and like your content will obviously like to visit your site again to get more new information.
  • Increasing your traffic helps you to Earn more from Adsense as I told the more visitors you get the more you earn, because if you get more visitors there is always a chance of getting more clicks on the ads.
  • Increasing your website traffic provides you a better Google Page Rank and a better Alexa Ranking.
There are many more importances (but not much important) of increasing your website traffic but I will tell about them latter in some other post, but now I will proceed towards the real aim of this post.

How To Increase Your Website/Blog Traffic-

Now that you know about the importance of increasing your site traffic I will now tell you some tips to increase your website traffic. The tips are listed below. 
  • The main place from where you get organic traffic is the search engines so if you get your site listed in the search engines then you are sure to get more visitors that also unique.  
  • The first step to get better traffic is to write regular and unique posts. The more you write new and unique posts the more visitors you get as the search engine crawlers are always in the search of new and unique posts so whatever you write it should be unique but obviously correct.
  • Use a simple website Templates as complex templates can decrease the loading speed of the website which the search engine crawlers do not like at all and as a result you will lose search engine traffic.
  • Choose a Good niche/blog topic which is very popular and on which you can write more unique posts, because ( from the second tip) the more you write the more visitors you get and as the topic of your post is popular more people will search for relevant content like yours.
        Recommended - How to Choose Your Niche/ Blog Topic
  • Try to get more back-links from other high ranking site by guest posting. You can write for us and get 2 back-links so why wait go on and click here .                                                     
You can increase your backlinks by linking one post to other in the website itself but you should remember that the links should be do-follow links or else it would'nt be of any benefit.  
  • You can increase your traffic by sharing your website in the social networking sites like Facebook, Twitter, Myspace and other popular social networking sites as there you can reach a high amount of people who may keep interest in your blog posts.
  • You can also give advertisements but this is only for professional bloggers or rather for those who want to sell products online.

All these tips can really make a real change in your website traffic but I would advice to write more new and unique posts and obviously use the back-links option to get the traffic and don't forget to write these unique posts regularly to get your dream traffic.

This is all that I have to day but I will soon be back with some more new tips and tricks so till then keep a watch here.

Posted at 06:59 |  by Akash Ghosh

Thursday, 26 September 2013

How to Remove the "Powered By Blogger" Attribution/Footer ?


" How to Remove the Powered by Blogger attribution ?" is a very common question which is always asked to me. This question is asked maximum by people who don't want to let anyone know on which Platform the blog/website is made. For this reason I am publishing this post to tell them how to Remove the " Powered By Blogger" Attribution . Read on to know how to do this.

How to Remove the "Powered By Blogger" Attribution ?

To Remove the " Powered By Blogger" Attribution just follow the simple steps.
  •  First we Have a normal blogger website like the one below with the blogger attribution.
How to Remove the "Powered By Blogger" Attribution ?
  • Then Navigate to the Template menu in the blogs dashboard.
  • In the Template menu click on "Edit HTML".
  • In the Edit HTML menu Find -  
        <b:widget id='Attribution1' locked='false' title='' type='Attribution'>
  • And replace locked='true' with  locked='false' .
  • Save the template.
  • After making the changes go to the Layout menu from the Blog dashboard.
  • In the Layout Page click on Edit on the Gadget named Attribution.
  • Previously in the Attribution Gadget there was no remove option but now you will find a Remove option there.
  • Now just click on the Remove button and the  "Powered By Blogger" Attribution will be removed.
Thank you for reading but I am afraid that this is the end of this post but I will soon be back with some more tips and tricks.

Posted at 04:06 |  by Akash Ghosh

Monday, 23 September 2013

How to Choose Your Niche/ Blog Topic

How to Choose Your Niche/ Blog Topic

Choosing a perfect Niche / Blog Topic is one of the most important part of setting up a successful blog/website. Selecting the perfect niche/blog topic not only increases your site traffic but also may help you increase your Adsense earnings. There are some conditions and steps that should be followed for choosing a perfect blog/ niche topic and today I will discuss about those only but before it is important for you to know why choosing a perfect blog topic is so important.

Importance of Choosing a Perfect Niche/Blog Topic -

Importance of Choosing a Perfect Niche/Blog Topic is much more important than that you can ever imagine here I have listed some of the main importance of choosing a perfect niche/blog topic below.
  • It helps you to target specific visitors which are searching for information related to your Blog.
  • It increases the traffic of your site if you choose a topic with a High Monthly/Annual Search Rate.
  • It gives you targeted Adsense ads which can increase your CTR.
  • It can help you to write more unique posts.
 So now that you the importance of choosing a perfect niche/blog topic its time to tell you how to choose the topic.

How to Choose Your Niche/Blog Topic-

I have summarised the whole process of selecting the Perfect Niche/Blog topic in only 2 simple Steps just follow them and I am sure that you will get the results.

First Step-

 The first step to choose a popular topic with a high search rate for your blog is to make a keyword search with Mr.Google, Yes first you would be required to visit the keyword search tool ( You can visit it here) In that webpage you will find the option " Search for keyword and ad group ideas " click on that and search for the topics that you would be able to write on. When you search for the keywords (Topics) you will get a list of related topic and there in that list chart you would be able to see 2 rows named as "Avg. monthly searches" and "Avg. CPC" which would be only required for you for the time being .
In the list search for the keywords( for you topics) that have a high "Avg. monthly searches" and also a high "Avg. CPC" ( But remember a high "Avg. monthly search" is more important than a high "Avg. CPC") and use only those keywords as your blog topic as it will provide you with more traffic and also with more income from Adsense.

Example-
Here I have searched for the the topic Mobiles and There is the image of the Search result below.
 And there are 2 Related Topic with Hich Searches and CPC marked as 1 and 2.

How to Choose Your Niche/ Blog Topic
  
Now that You have the perfect Keyword(Topic) to get a good amount of traffic and also a good earning from Adsense it's time to proceed to the final and the most important step.

 Second Step-

To choose a perfect blog/niche topic you need to know some main things (keeping beside the First Step) about the topic you are going to choose, this step is the most important step as it will determine how much you can benefit from the niche/blog topic,  So just answer the following questions before you select the blog/niche topic.
  • Do you like the topic that you are going to choose for your blog/niche ?
  • Can you write unique posts on the topic (without anyone's help) ?
  • Will you be able to write regularly on that specific topic ?
  • You will never get bored to write on this topic ?
Now if you answer all this questions with a true YES then this TOPIC is yours .

But always remember that the First Step is not that much important as compared to the Second Step as it will always determine whether you are able to get more traffic or earn more as if you yourself don't like the topic then you will never be able to establish a good blog/website.


For today this is all that I have but I will soon be back with some more tips and tricks so keep an watch till I come back again.

Posted at 02:54 |  by Akash Ghosh

Friday, 13 September 2013

How to add the Official Contact Form to Blogger.


How to add the Official Contact Form to Blogger.

The Contact Form has been an important part for every blog or website as it helps to bridge a connection between the Blog author and his readers. The Blogger platform is one of the worlds best website building softwares but it had a major problem with the contact form issue. It previously didn't have the Contact Form widget and so Website Authors had to place a contact form sponsored by some other Website like 123ContactForm. But now Blogger has created it's own unique Contact Form and today I will Tell You how to add it in your blog.


How to add the Official Contact Form

Here are the steps to easily apply the Contact form on Your Blog.
  • Go to Your blog Dashboard.
  • Navigate to Layout.
  • Then Click on Add A Gadget .
  • Then In the Gadget Dialog Box Click on "More Gadgets Option" in the left Menu.
  • In the More Gadget Dialog Box you will Find a Gadget Named "Contact Form" at the top only.
  • After adding it to your layout Drag it to the place in the layout where you want to see it appear and click on "Save Arrangement".
  • And After Saving you have Added the contact form.
 When Some one sends a message to you through the contact form you will get notified by a email sent to your Gmail Account( That account with which you have Created the blog I mean the account which is the Admin of the blog).

Thank You For reading and I which that this post can help you achieve what you needed.

Posted at 23:23 |  by Akash Ghosh

Thursday, 12 September 2013

Prevent Someone from copying your content


Prevent Someone from copying your content

Prevent someone from copying your content !!
 Yes now this has became an important step in every blogger's life. After the steep rise of internet users and website builders a prominent problem of Content Theft had risen and for that reason many safety measures were taken but none came to be much handy.
Mainly content thieves are those who are lazy and do not want to use their own creativity to create something creative as they know that there are a lot of hard working bloggers and website authors from whom they can copy high quality content and post their high quality content as their own.



How to Prevent Someone from copying your content ?

 
Mainly these type of thieves directly copy the content from the main website or blog and paste it in their own blog or website, so if we can prevent them from copying the content of our blog/ website then we can easily protect our content from being copied. And to do so I have got something that can come in handy. 
 

You just need to add this piece of code to your blog/website, follow the steps given below-

To add it to Blogger-
  • Log into your Blogger Account.
  • Go to the layout tab of your webpage.
  • Then click on Add a Gadget in the Layout Screen.
  • Select HTML/JavaScript in the Add Gadget Menu.
  • And Then Paste Below Code in the HTML/JavaScript dialog box. 
 <script src='demo-to-prevent-copy-paste-on-blogger_files/googleapis.js'>
</script>
<script type='text/javascript'>
if (typeof document.onselectstart!="undefined" ) { document.onselectstart=new Function ("return false" ); }
 else{
document.onmousedown=new Function ("return false" ); document.onmouseup=new Function ("return true" ); }
</script>

  •  After Pasting The Code Click on Save and Your Done.

Now if someone tries to even select a text in your blog or website he wouldn't succeed in doing so and as a result when he will not be able to select the text he will obviously not be able to copy it and by this way you can prevent some one from copying your content easily.

Here is a Demo, in this site you will never be able to select any text.
                                        
                                                              DEMO

Thank You Guy's for reading this and if you have any problem you can surely leave a comment below and I will answer it as soon as possible.

Posted at 00:53 |  by Akash Ghosh
Copyright © 2014 Web's Devil. WP Theme-junkie converted by BloggerTheme9
Blogger template. Proudly Powered by Blogger.
back to top