Information is Wealth...: Blogger Tips
Showing posts with label Blogger Tips. Show all posts
Showing posts with label Blogger Tips. Show all posts

Recent Posts widget for blogger using rss feed in 5 steps

Recent Posts widget for blogger using rss feed in 5 steps

Step 1:
Use your blogger RSS URL which should be similar as below, change the text yourblogname below with name of your blog.

http://yourblogname.blogspot.com/feeds/posts/default?alt=rss

Step 2: Go to Layout in blogger
Step 3: Click on 'Add a Gadget'
Step 4: Select Feed from popup window as selected below


















Step 5: Enter your blog's feed URL from Step 1 in below window










Its done, you now have Recent Posts widget for blogger using rss feed in 5 steps

Forward wordpress URL to blogger URL using custom redirect

How to forward or redirect a wordpress post URL to blogger post URL?

Follow below steps to do so
  1. Forward a wordpress blog to Google blogger - refer to my earlier post wordpress to blogger
  2. Once your wordpress blog is redirected to blogger by following my earlier post, you can now redirect your old wordpress post or url to new blogger post by creating a custom redirect in blogger

Now your old wordpress post urls will redirect to blogger url automatically





Forward wordpress to blogger in 5 quick steps

How to redirect from wordpress to blogger

Forward wordpress to blogger in 5 quick steps

1)  Login into your hosting account( In my case my hosting account is with GoDaddy)
2) Look for Domains
3) Click on Domains and select the wordpress domain you want to forward to blogger in case if you have more than one domain
4) Look for Forwarding section as given below
5) Please note that I am already forwarding my wordpress blog to blogger






6) Click on Manage to add a new wordpress forward URL to your blogger url














7) You can add or update your wordpress to blogger forward URL here

















8) You can also forward wordpress subdomain to a blogger

Resize blogger post images

How to resize blogger post body images

To increase or decrease the images in blogger post, add below css and change the width: to size you need.

Now all the images in the post body will be set to same size.

.post-body img {
max-width:336px;
max-height:auto;
box-shadow:none;
border:none;
}

To add above to css, Go to Template --> click on customize -- >Advanced --> Add CSS

resize blogger post body images

Add adsense ads below post title wordpress

You can add adsense below post title wordpress by adding  adsense code in content-single.php. If you are trying to add adsense below post body or above footer refer

To add adsense code below post title wordpress, Go to Appearance --> Editor --> content-single.php, click on the content-single.php file on the right in the editor screen, to select or modify content-single.php

Your adsense code need to be added below the
tag in content-single.php. Look  for below div tag after
tag, now place your adsense code below the div tag to display adsense below post title in wordpress
</header><!-- .entry-header -->
<div class="entry content" >
<script type="text/javascript"><!--
google_ad_client = "ca-pub-xxxxx";
google_ad_slot = "xxxxx";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

ADD YOUR ADSENSE CODE as above to display your ads below post title. Replace google_ad_client and google_ad_slot with your adsense ad details and save the content-single.php

Please note that I have added adsense below post title in my wordpress blog which has  F2 theme for wordpress. The .php file that you need to modify to display adsense ads below post title may be named different  if you are using a different theme.

If you are not able to find content-single.php in your theme look for .php file which contains article id as below and place your adsense code after
tag in it.

<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header>
<h1><?php the_title(); ?></h1>

<div>
<?php f2_posted_on(); ?>
</div><!-- .entry-meta -->
</header><!-- .entry-header -->

if you have the content-single.php in your theme or wordpress directory, modify it as given below. Once you add adsense script and save the .php file, Google adsense ads will be now dsiplayed after title blogger in your wordpress blog

Error establishing a database connection wordpress mysql

Error establishing a database connection wordpress mysql

You normally get this error once you change the password in your GoDaddy hosting account for your blog.

To resolve this database connection error in wordpress you need to modify the password in wp-config.php, you can modify the password in wp-config.php using filemanager in Godaddy or using Filezilla client

Look for below text in wp-config.php and replace the password with your new password of wordpress blog

/** MySQL database password */
define('DB_PASSWORD', 'password');

Hope this helps in resolving Error establishing a database connection wordpress mysql

connect to Godaddy web hosting using Filezilla

Do you log into Godaddy web hosting File manager  every time you need to modify files in ftp?

No, you need not log into your Godaddy web hosting File manager  to access ftp of your web hosting domain. You can just access your ftp files using Filezilla, one of most popular ftp tools used worldwide.

To Access Godaddy web hosting File manager  using Filezilla (FTP), you need to create a ftp user for your hosting domain

1) To create a ftp user, login into godaddy --> ftp users --> create ftp user

2) You can now access Godaddy web hosting File manager  using filezilla, just provide these details and say connect
  1. Server ip or hosting account domain( say abc.org)

  2. ftpusername created

  3. password
You can get the ip details of godaddy webhosting server if needed on the right bottom of the screen, once you click the launch button beside Web hosting domain.



Redirect all blogger posts to wordpress

Move blogger to wordpress redirecting all old posts to new wordpress posts

 update 07262013:

If your old blogger posts are still not redirecting to new urls even after move blogger to wordpress (following below article) then here is a simple way to redirect all your old blogger url to new wordpress blog url. Install this plugin in your wordpress blog and copy the html provided in this new plugin and paste it in blogger.

if your old blogger urls are redirecting to home page of new wordpress blog also use below plugin.
http://techxt.com/blogger-301-redirect-plugin-for-wordpress/

You need to copy the html from blogger 301 redirect --> settings and paste it into your blogger template.

Once you do this, your old blogger posts  will be redirecting to your wordpress posts. let me know if it doesn't work !!!
___________________________________________________

 Here is a nice post on how to move blogger to wordpress without loosing google rankings How to Switch from Blogger to WordPress without Losing Google Rankings

If you are Getting 404 Not Found Error or all posts in blogger are now referring to single post in wordpress after moving from blogger to wordpress even after following all the instructions given in above post


You might be wondering what went wrong, the only solution for your issue of Getting 404 Not Found Error or all posts in blogger are now referring to a single post in wordpress is because of  the blogger/ added after your new domain name in your old blogger.

Be careful while adding the /blogger/ after your new wordpress domain, It is not needed to add your new domain.com everywhere in the html template.

 Make sure that /blogger should be added after your domain name only in <itempage> tag.

Add sitemap google blogger

Add sitemap google blogger

To add a sitemap to your blogger you need to log into Google webmaster tools with your Google username/password, once logged in navigate to sitemaps in the left of your screen as shown below.

add a sitemap to your blogger

To add sitemap to your blogspot, click on 'Add Sitemap' button on the right and add this /atom.xml?redirect=false&start-index=1&max-results=500 in the text box given below and submit sitemap.

 This shall add your 500 posts to the sitemap. If your blog has say 1500 posts and they have to be added to sitemap, you need to add 3 sitemaps say one sitemap for 500 each.

For 1 - 500

For 501 - 1000

For 1001 - 1500 

You may have to add more sitemaps if you have more posts in your blogger.

Happy blogging !!!

add a sitemap to your blogger

add a sitemap to your blogger

backup blogger posts and comments automatically

How to backup blogger posts and comments automatically?I've seen scenarios where posts or databases in a blog get accidentally deleted or destroyed by hackers who get access to your blogger posts.

Is there a way to backup all your blogger posts safe so that it can be restored when needed?

YES, there is a blogger backup utility which can be used to backup your blogger posts into a single or multiple files from which your blogger posts/comments can be restored.

You may download this utility from http://bloggerbackup.codeplex.com

once you install this utility, run the utility. you need to login into your blogger utility using your credentials, once you are logged in you may select the your blog from a drop down list if you have multiple blogs associated with your blogger account.

Note:  This version of backup utility (v1.0.9.23 Beta)  hangs up at times while backing up the posts, just uncheck the 'Save Comments' check box and click on backup posts, a workaround for now.

Your blogger posts are now safe, Happy blogging !!!
bloggerbackup.codeplex.com

Limits pictures in blogger account

Though Google provides a lot of room for bloggers and unlimited features like number of posts and other, still there are few limitations in a blogger account.

No limitation Zone:

  • Number of posts

  • Size of posts (but it may vary if your post has images)

  • Number of comments

Here comes the limitation zone:

  • Size of pages, limited to 1 MB

  • Not more than 100 blogs for a Google account

  • Upload limit via blogger mobile for an image is 250k

  • Limit of 100 members per blog

  • Up to 2000 unique labels for each post

  • Blog description is restricted to 500 characters with no html.

  • 'About Me' section has a maximum of 1200 characters

  • Number of Pictures  in blogger account- up to 1 GB including your existing albums

On more info about uploading pictures limitation in blogger amount. Since there is a memory limit of 1 GB for pictures to be uploaded for each blogger account.


You can check the amount of memory used by your blog pictures. All the pictures uploaded in blogger will be stored in picasa, even though you have deleted the posts the images still remain in your picasa account.


To view all the pictures or images in your blog, just log into your picasa google account and click on the album , with name of your blog.



To find how much remaining space you have on blogger account, click on Options(at the right most corner)  --> Photo Settings --> Storage

This screen does display the percentage of memory used and free space available in your Google's picasa web or blogger account.

Blogger open link in a new browser or window


If your blog or website has lot of links referring to other URLs of websites or files in different locations and if these links should be opened in different window or different browser when you click on links then modify the template of blogger.
  • Go to blog template

  • Click on edit HTML

  • Click on the proceed button

  • search for tag

  • Place a new tag below it. 

  • After placing new  tag

  • Save template


Once the template is saved, each click on links or URLs in blogger are now opened in new browser or window in blogger.






How to display html code in blogger or website




Just Copy the HTML that you want to display and convert it so that it can
be displayed as html in browser.


For More details refer.


http://www.plus2net.com/html_tutorial/tags-page.php

Is My Blog In Google's Index



To find out if your blog or website is already crawled by Google or to know if your website is already in Google's index.





Try This





1) Go to Google


2) Search for site: Site: blog or website name





Count or Display blog visitors by Country


How to get visitors count or Display blog visitors by Country.


Just add the Java Script code in blogger by
  1. Add Widget

  2. Add HTML/JAVA SCRIPT control

  3. Paste the java script code given in flagcounter.com portal

http://www.flagcounter.com/index.html?


So, all set to display visitors count by country. Happy blogging...

How to have live cricket score card on blog or website




How to add LIVE CRICKET SCORE card to your blog or website, its easy.


Just go through the below URL and its done.


http://www.vcricket.com/put_our_live_scoreboard_on_your_website_free.aspx
&amp;amp;amp;amp;amp;lt;a href="http://www.bidvertiser.com/bdv/BidVertiser/bdv_advertiser.dbm"&amp;amp;amp;amp;amp;gt;internet marketing&amp;amp;amp;amp;amp;lt;/a&amp;amp;amp;amp;amp;gt;




How to show html code in html browser


Just Copy the HTML that you want to display and convert it so that it can be
 displayed as html in browser. 


For More details refer.


http://www.plus2net.com/html_tutorial/tags-page.php

How to add your blog or website url to google crawler

Update: Jan 17, 2012

To add any website or existing blog to Google Crawler , use the below URL
https://www.google.com/webmasters/tools/submit-url

To add your website or blog URL to Google Crawler, just add your URL in the below webpage
http://www.google.com/addurl/