Custom Search

Wednesday, May 2, 2012

Custom Domain for Blogger

Its always better to have Custom Domain for Blogger because in case if blogger ban your blog then you can continue in another platform if you have custom domain.

How to setup custom domain..

Step 1 – Buy domain name
The first thing to do is to buy your domain name registrar like domainsearchindia.com

I recommend this I personally use this and this is the best and cheap domain provider for Idians

Step 2 -

If you are migrating from wordpress follow from here :
  1. Find the control panel on your domain registrar’s website, and locate your DNS (Domain Name System) settings. In order to link your blog to your custom domain, follow the instructions below to enter your "CNAME" and "A-records."

    CNAME
    Where it says Name, simply enter "www" and list ghs.google.com as the Host Name. See our detailed instructions on providing CNAMEs for various registrars. If yours isn't listed, or if you run into other difficulties, contact your registrar directly and they can help you out.

    A-records (optional)
    The following action links your naked domain (example.com) to your actual site (www.example.com). If you skip this step, visitors who leave off the "www" will see an error page.

    Enter your domain name in the format example.com, and list the I.P. addresses shown below in the "A" section. You'll need to create four separate A-records which point to four different Google IPs.

    216.239.32.21
    216.239.34.21
    216.239.36.21
    216.239.38.21

  2. Update your Blogger settings

    Now it’s time to make sure Blogger knows about your custom domain so that Google can direct readers to your blog. Just head back to Blogger and update the information on your Settings | Basic tab. Find the area for "Publishing," and click the link to add a custom domain.

    Add a custom domain
    Then, click on "Switch to advanced settings."
    Advanced Settings
    Enter in the URL for your custom domain in the text box provided, and click Save. That’s it! Your blogspot.com address will soon redirect to your new custom domain -- be patient, as it might take up to 24 hours for the redirect to start working.
    Enter URL and save

    Congratulations, you’re all set!

Some helpful notes:

  • If your new domain isn't taking you to your blog, wait another day or two to make sure all the DNS servers have been updated. If it still isn't working, contact your registrar to make sure you entered the DNS settings correctly.
  • Your original Blogspot address will automatically forward to your new domain. That way, any existing links or bookmarks to your site will still work.
In case of any questions pls use comment form....
read more "Custom Domain for Blogger"

Migrating from Self Hosted Wordpress to Blogger

First of all Why to migrate from Wordpress to Blogger?
Read this...


Step One :
Covert the wordpress url links into blogger url links so that you wont loose any traffic.... click here


In WordPress go to Tools and click Export.....
Choose All content and download the export file...
When you click the button Download WordPress will create an XML file to save to your computer.

This format, also termed as eXtended RSS or WXR, which will contain all posts, pages, comments, custom fields, categories, and tags.

Step Two :

Blogger will not accept wxr format so to convert wxr to blogger xml format go to WordPress to Blogger Convertor

Browse the location of the file downloaded in step 1 and click on convert. The site will generate Blogger XML file, save it to Hard disk.


Step Three :

Go to Blogger Dashboard : Settings... Import... upload the converted xml file...

Thats it

How to redirect host to blogger... Read here

In case of any questions pls use comment form....
read more "Migrating from Self Hosted Wordpress to Blogger"

Setting Permalinks in Wordpress before moving back to Blogger

Now how to change permalinks of wordpress before migrating.

First of all why to change....

Generally wordpress links will not end with .html like blogger. so we have change permalinks of wordpress before moving.

open the dashboard click settings and click permalinks..

Now click custom structure and type /%year%/%month%/%postname%/.html and save.

wait for at least 20 days so that all the search engine links will change.


Now when you move to blogger the permalinks will match with blogger and we wont loose any traffic.


alternatively you can use this plugin
read more "Setting Permalinks in Wordpress before moving back to Blogger"

Monday, October 17, 2011

CPU Limit Self Hosted Wordpress on Shared Hosting

I moved from blogger to self hosted wordpress on shared hosting. It was unlimited disk space and bandwidth. It was very good for couple of months.

Suddenly one day I got warning from my hosting "your CPU limit exceeded"if this continues we will stop service. I was surprised to see this. unlimited disk space and bandwidth, still I got this warning why?? then I googled and found the answer. people often see only disk space and bandwidth, but there is one more important element i.e CPU LIMIT.


CPU limit depends upon number of users online at a time.
it means the site can get a lot of viewers but they shouldn't be online at a time. for example daily views of your site is 1000/day, but the number of views/viewers online at a time should not exceed 10 or 20 or other number depending upon hosting service.

so, is it possible to control the number of viewers ONLINE at a time?? NO.

Again I moved back to blogger.

BEFORE MOVING BACK FROM WORDPRESS TO BLOGGER WE HAVE TO DO ONE THING SO THAT WE WON'T LOSS THE TRAFFIC.


that I will post next...
read more "CPU Limit Self Hosted Wordpress on Shared Hosting"

Thursday, March 17, 2011

How to Allow Duplicate Comments in Wordpress.org

How to disable Duplicate Comment filter. when a comment is posted second time wordpress shows a error "Duplicate comment detected; it looks as though you’ve already said that!". How to remove this ??

There is a simple trick to do it. go to "/public_html/wp-includes" through ftp and locate comment.php file. Right click view/edit,

find


// Simple duplicate check
// expected_slashed ($comment_post_ID, $comment_author, $comment_author_email, $comment_content)
// $dupe = "SELECT comment_ID FROM $wpdb->comments WHERE comment_post_ID = '$comment_post_ID' AND comment_approved != 'trash' AND ( comment_author = '$comment_author' ";
// if ( $comment_author_email )
// $dupe .= "OR comment_author_email = '$comment_author_email' ";
// $dupe .= ") AND comment_content = '$comment_content' LIMIT 1";
// if ( $wpdb->get_var($dupe) ) {
// if ( defined('DOING_AJAX') )
// die( __('Duplicate comment detected; it looks as though you’ve already said that!') );
//
// wp_die( __('Duplicate comment detected; it looks as though you’ve already said that!') );
// }

just delete and save it. that's it from now on you can post the same comment again and again.
read more "How to Allow Duplicate Comments in Wordpress.org"

Wednesday, October 6, 2010

Related Posts with Thumbnails Below Posts in Wordpress Thesis Theme

I have searched a lot for related posts with thumbnails below posts for wordpress thesis but couldn't find. later I did it with 3 plugins.

wordpress 3.0.0 with thesis 1.8 version.

Step 1 :
Download These 3 Plugins

Advanced Random Post

Add Widgets to Page

Shantz WordPress Prefix Suffix

Step 2 :

Upload and Install 3 plugins

Step 3 :

create new page. just type [addw2p name="Related Posts"] and publish. open page.

Step 4 :

go to widgets panel.
there you will see extra side bar with name addwp2-Related Posts.



you will also see Advanced Random Posts just beside it.
Drag Advanced Random Posts in to addwp2-Related Posts.
customize it. give thumbnails size to 70 & 80. check get first image of post & get first attached image of post. check get posts from current category.
just check the pic below and do as it is.



Step 5 :

under settings click Shantz WordPress Prefix Suffix. paste [addw2p name="Related Posts"] in Add the following text after the posts (Suffix). check only Add suffix to pages.



that's it you will now see all related posts below your posts.
read more "Related Posts with Thumbnails Below Posts in Wordpress Thesis Theme"