HOME | ABOUT | CONTACT |

Search

Custom Search

Saturday, April 5, 2008

How to Create a Unique Title Tag for a New Blogger?


Title tag plays the most important role for search engine optimization. Creating a unique title tag for each page of your website or blog will no doubt help you rank well with major search engines such as Google, Yahoo, and MSN ( Micro Soft Network). So let us begin.

  • First login to your Blogger account, click on Layout/Edit HTML. Backup your template by clicking on Download Full Template. See the screenshot below: Layout/Edit HTML/Backup Template
  • Second click to mark off the check box which is next to Expand Widget Templates. Expand Widget Template
  • Next holding Ctrl and hit F to find <title><data:blog.title/></title> line, and replace the following code with this line. It allows you to swap your post title with your blog title. Your title tag will look like post title | blog title; thus achieving search engine optimization.

  • <b:if cond='data:blog.pageType == "item"'>
    <b:section id='swaptitle'>
    <b:widget id='Blog2' locked='false' title='Blog Posts' type='Blog'>
    <b:includable id='nextprev'/>
    <b:includable id='backlinks' var='post'/>
    <b:includable id='post' var='post'>
    <title>
    <data:post.title/> - <data:blog.title/>
    </title>
    </b:includable>
    <b:includable id='commentDeleteIcon' var='comment'/>
    <b:includable id='status-message'/>
    <b:includable id='feedLinks'/>
    <b:includable id='backlinkDeleteIcon' var='backlink'/>
    <b:includable id='feedLinksBody' var='links'/>
    <b:includable id='postQuickEdit' var='post'/>
    <b:includable id='comments' var='post'/>
    <b:includable id='main' var='top'>
    <b:loop values='data:posts' var='post'>
    <b:include data='post' name='post'/>
    </b:loop>
    </b:includable>
    </b:widget>
    </b:section>
    <b:else/>
    <title><data:blog.pageTitle/></title>
    </b:if>

    If the above code works then you are half-way done! I use Minima Stretch template. It would not allow me to save the code. An error kept showing up"Your template is invalid because the tag 'b:section' appears inside of the tag 'head'."; so I have to insert the code above <head>; which works fine for me.
  • Next holding Ctrl and hit F again to find <b:include data='blog' name='all-head-content'/> line, and place the following code right after it. It adds meta description and meta keywords to your blog.
    <b:if cond='data:blog.url == "http://yoursitename.com/"'> <meta content='Your title tag description for your blog goes here.' name='description'/> <meta content='Your keywords for your blog go here.' name='keywords'/> </b:if>

    You probably already know that the above code is for your main page title. Make sure you change http://yoursitename.com/ to be your own url; add your own meta description in <meta content='Your title tag description for your blog goes here.' name='description'/> and type in your own keywords in <meta content='Your keywords for your blog go here.' name='keywords'/>.
  • Every time when you create a new post, you must add the following new code right after the above one. You will not know the url of your post until you publish it. You'll have to do the same procedure as above:
    <b:if cond='data:blog.url == "http: //yoursitename.com/2008/03/yourpostname.html"> <meta content='Your title tag description for your post goes here.' name='description'/> <meta content='Your keywords for your post go here.' name='keywords'/> </b:if>

    Changing http://yoursitename.com/2008/03/yourpostname.html to be your own url of your post, adding your own meta description in <meta content='Your title tag description for your post goes here.' name='description'/> and type in your own keywords in <meta content=Your keywords for your post go here.' name='keywords'/>. By doing these editions, you will create a unique title tag, a unique description, and unique keywords for your individual post.
You are done! You can check out some of my posts in this blog. Do you notice that each post of this blog has its own unique title tag showing up on the title bar? Now go head and check out your blog too. Feel free to leave your comment in this post so that other people can learn from it further. Good luck to all of you!

Update: Although the above method works for me, it is too much trouble to add a title and description each time after posting a new article. There is a better way to optimize your New Blogger. See this article to find out how: How to Change Title Tags for Your Blog.

Saturday, March 29, 2008

How to Wrap Your Blogger Post Around Google Ads?

Do you want to have your post wrapped around Google Ads like some of the blogs on the Internet? Wrapping your text around any ads has been proven to be the best way of increasing your earnings from your blog. I'll show you step-by-step of how to implement it.

  • First login to your Blogger In Draft/Blogger's account at Dashboard, click on Settings/Formatting, Show three posts on the main page, and scroll all the down to save your change. Setting/Formatting
  • Second click on Layout/Edit HTML; but before you make any changes, make sure you backup your template by clicking on Download Full Template first. Layout/Edit HTML/Backup Template
  • Next click to tick Expand Widget Templates checkbox like the screenshot below: Expand Widget Template
  • Then search for the following line in your New Blogger template HTML editor; hold Ctrl and hit F at the same time; then copy and paste the following line in the search box to find it:
    <div class='post-header-line-1'/>
  • Insert your Google AdSense codes right after <div class='post-header-line-1'/> line. If you don't have Google AdSense account, you can use any ads code you want:
    <div class='post-header-line-1'/>
    <div style="display:block;float:left;margin: 5px 5px 5px 5px;”>
    <script type="text/javascript"><!--
    google_ad_client = "pub-4932554700716308";
    /* 300x250, created 3/24/08 */
    google_ad_slot = "4152819018";
    google_ad_width = 300;
    google_ad_height = 250;
    //--></script>
    <script type="text/javascript"
    src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>
    </div>

    <div class='post-body entry-content'>

    Notice that I wrap Google AdSense codes with these two red lines:
    <div style="display:block;float:left;margin:5px 5px 5px 5px;>
      Google Ads code here
    </div>

    Here you can float: left, right, or center; margin: 5px 5px 5px 5px stands for top, right, bottom, and left margin spacing respectively. You can adjust these numbers to meet your needs.
  • This step is very important! Therefore make sure you change all < to be &lt;, and all > to be &gt;; just like the code below:
    <div class='post-header-line-1'/>

    &lt;div style=”display:block;float:right;margin: 5px 5px 5px 5px;”&gt;
    &lt;script type="text/javascript"&gt;&lt;!--
    google_ad_client = "pub-4932554700716308";
    /* 300x250, created 3/24/08 */
    google_ad_slot = "4152819018";
    google_ad_width = 300;
    google_ad_height = 250;
    //--&gt;&lt;/script&gt;
    &lt;script type="text/javascript"
    src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
    &lt;/script&gt;
    &lt;/div&gt;

    <div class='post-body entry-content'>

    You may wonder these changes will violate Google AdSense policy; but I must tell you they didn't because your source code still looks like the untouched ones from your Google AdSense account. Make sure you replace those my Google ad Client numbers with yours.
  • Finally save your template and test it out yourself.
The reason I want you to only show three posts on you main page is that Google AdSense policy only allows you to have three ads units on each page. If you have more than three posts, the rest of the posts will show empty space within your text, and they will not look good. I also find out that the best AdSense ads format for being wrapped by your text is either 336×280 large rectangle or 300×250 rectangle. It will definitely optimize your ads incomes in your blog. If you use WordPress.org, check out How to Wrap Your Text Around Google Ads? to implement your ads.

Saturday, March 22, 2008

How to Set Up FTP to Transfer Files?

What is FTP? Well, it simply stands for File Transfer Protocol. FTP allows you to upload and download files from your personal computer to your web server or vice versa. If you have a website, setting up FTP to transfer your files will make your life easier. There is a plenty of FTP software available on the Internet. Some of them are Free while others require you to pay. I personally love to use FireFTP because it is Free. It comes with FireFox with Google Toolbar.

Most servers provide a FTP account that you can set it up online. I use midPhase as my web host. Its forum provided an informative FTP tutorial. I followed its instructions and set up my FireFTP account. They are pretty straightforward. If you like to use FireFTP like me, you can set up your FTP by following these step-by-step instructions here. After that enjoy uploading or downloading files by exploring it.

Some other resourceful sites are listing below:

  • Tutorial: FTP - it's easy as 1-2-3 - Tutorial: FTP - it's easy as 1-2-3. One of the most daunting tasks for beginning bloggers and web site owners is figuring out how to get files from their ...
  • FTP Help - FTP Tutorials. Use the following links to access tutorials on the use of several popular FTP clients:. CoffeeCup · Composer (Netscape) · CuteFTP · IE ...
  • Free FTP and Secure FTP (SFTP) Clients - Reviews of Free FTP, secure FTP and download managers that you can use either to download content from the Internet or upload files to your website.
In a word, setting up FTP is a must especially if you run a website. I've been using FireFTP since October, 2007; and I have no complaints about it.

Saturday, March 15, 2008

Why Do Images Disappear From My Joomla! Website?

Images from my Joomla! website have been working fine. However about two weeks ago, they magically disappeared from my website. I upgraded Joomla! 1.0.13 to Joomla! 1.0.14 last week. Nevertheless that did not solve the problem.

I searched Joomla! support forum; no answers there either. I am still searching a solution for solving this problem; no luck so far. I am not sure what the cause is. Could Joomla! JCE editor contribute to that problem? In order to confirm that question, I switched back to Joomla! default editor - TinyMCE. However, the problem still exists. I even downloaded JoomlaFCK - a super-fast and lightweight WYSIWYG editor for Joomla! Content Management System. That does not solve the problem.

It seems the problem has nothing to do with editors; but then what is the cause? When I used Edit HTML Source from the menu of the editor, images show up in the edit area at backend. I can see images emerge when using Preview function. However after I saved it, I sometimes saw the images when I first loaded the webpage; then it would disappear like a magic after reloading it; very strange. The images only work if they are not clickable. Anybody knows what is going on? or do you have the same situation like mine? Your comments or advice are highly appreciated.

Update: Images in my Joomla! website have been solved automatically after I changed my Security Program on my PC (Personal Computer).

Related Article:
How to Fix Hotlink Protection Image Not Shown Problem?

Saturday, March 8, 2008

Upgrading Joomla! 1.0.x to Joomla! 1.0.14

Joomla! 1.0.14 was released on February 11, 2008. It fixed several serious security vulnerabilities. These include

  • SECURITY[LOW] Fixed XSS issue in Search Component.
  • SECURITY[LOW] Fixed XSS issue in Search results pages.
  • SECURITY[LOW] Disallowed users from adding extra wildcard filters in search strings.
  • SECURITY[LOW] Fixed multiple typos in back end Content Component making array integer check ineffective.
  • SECURITY[LOW] Fixed case-sensitive flaw in Input Filter.
  • SECURITY[HIGH] Fixed CSRF issue allowing portal compromise - Administrator components.
Besides the above mentioned problems, it also fixed other significant issues that are listing below:
  • Administrator logout problem.
  • Fixed bug in Search Component where small word were not properly filtered out.
  • Improved efficiency of regular expressions in Search Component (thus reducing CPU resources when called).
  • Added "Preview" link to Administrator template (to match 1.5).
  • Fixed bug in pagination links (extra space was being added to the link).
  • Various core API fixes.
For instructions of how to upgrading your existing Joomla! 1.0.x, please check out Upgrade Instructions here.

Search

Custom Search