World of information, opinions, cricket and technology.

How to submit Website / Blog to Bing Webmaster Tools

Friday, June 5th, 2009

This is my first post on Bing (Microsoft's Search Engine). There are hundreds and thousands of bloggers blogging about Bing Search Engine.

I want to share a tip on how to get your Website or Blog indexed by Bing Search Engine.

Bing also offers a facility like Google Webmasters tools where you can "submit the your site URL to Bing" so that their search engine can do indexing of your web pages whenever they are published. This way your site can be included in the Bing and get some traffic.

With this Bing Webmaster Tools, you can submit site, also troubleshoot the crawling and indexing of your site (if problems are there), submit sitemaps and view statistics about your sites.

Add a Website URL to Bing Search Engine

Add a Website URL to Bing Search Engine

How to submit Website URL to Bing using Bing Webmasters Tools

(more...)

How to Highlight Special Paragraphs or Sentences in the post or article

Thursday, June 4th, 2009

Few days back, Atul from Ocean of Web left a comment at How to Block Visitors from specific IP using .htaccess hack.

This is what he asked :

Hi Nihar
Make sure you backup .htaccess file before you making any changes.

for this line in red color box with cross mark, are u using any plugin for this

You can check the comment here

In above post where he left the comment, I have put the following:

Make sure you backup .htaccess file before you making any changes.

Today, i am going to share the CSS and images and also tell you how you can add these Custom Paragraphs or Sentences to highlight them in your Blog post

How to add Custom Paragraphs or Sentences in your Blog post

  1. First open your Theme's style.css file and then copy the below CSS snippet at the end of the file. Note: all themes doesn't have css filename as style. So, check accordingly.
    .info {font-size: 11px;color: #191919;background: #ebe9ce url(images/info.gif) no-repeat 5px center;font-family: Verdana, sans-serif, "Courier New";line-height: 125%;margin: 10px 0px 0px;padding: 12px 12px 12px 25px;display: block;font-weight: 400;width: 80%;border-top: 2px solid #DAD6A5;border-bottom: 2px solid #DAD6A5;}
    .warning {font-size: 11px;color: #191919;font-family: Verdana, sans-serif, "Courier New";line-height: 125%;background: #e3aeae url(images/warning.gif) no-repeat 5px center;display: block;margin: 10px 0px 0px;padding: 12px 12px 12px 25px;font-weight: 400;width: 80%;border-top: 2px solid #D68585;border-bottom: 2px solid #D68585;}
    .download {font-size: 11px;color: #191919;font-family: Verdana, sans-serif, "Courier New";line-height: 125%;background: #d5ecd5 url(images/download.gif) no-repeat 5px center;display: block;margin: 10px 0px 0px;padding: 12px 12px 12px 25px;font-weight: 400;width: 80%;border-top: 2px solid #A9D8A9;border-bottom: 2px solid #A9D8A9;}
    .alert {font-size: 11px;color: #191919;line-height: 125%;background: #FFE5BF url(images/alert.gif) no-repeat 5px center;font-family: Verdana, sans-serif, "Courier New";display: block;margin: 10px 0px 0px;padding: 12px 12px 12px 25px;font-weight: 400;width: 80%;border-top: 2px solid #FFC46A;border-bottom: 2px solid #FFC46A;}
    .note {font-size: 11px;color: #191919;font-family: Verdana, "Times New Roman", Times, Georgia, serif;line-height: 125%;background: #eaf2f5 url(images/note.gif) no-repeat 5px center;display: block;margin: 10px 0px 0px;padding: 12px 12px 12px 25px;font-weight: 400;width: 80%;border-top: 2px solid #B7D2DD;border-bottom: 2px solid #B7D2DD;}
    .click {font-size: 11px;color: #191919;font-family: Verdana, "Times New Roman", Times, Georgia, serif;line-height: 125%;background: #fcfbed url(images/click.gif) no-repeat 5px center;display: block;margin: 10px 0px 0px;padding: 12px 12px 12px 25px;font-weight: 400;width: 80%;border-top: 2px solid #F2EDB0;border-bottom: 2px solid #F2EDB0;}
  2. Now, if you check the above css code. It is using some images. Below, i am providing the images.zip file. Please download it and upload it in your THEME DIR/images/ directory. If you don't see images directory under your THEME directory, then create one and extract the images from the images.zip file.

    Download Images for above CSS code

(more...)

How to avoid Hotlinking of file and images using .htaccess hack

Wednesday, May 27th, 2009

Yesterday, i posted a .htaccess hack to Block Visitors from specific IP using .htaccess

Today, i am here again to share with you one more .htaccess hack.

What is HotLinking?

Avoid / Prevent Hotlinking of images or files (Credit http://www.conquerhosting.com)

Avoid / Prevent Hotlinking of images or files (Credit http://www.conquerhosting.com)

Inline linking (also known as hotlinking, leeching, piggy-backing, direct linking, offsite image grabs and bandwidth theft) is the use of a linked object, often an image, from one site into a web page belonging to a second site. The second site is said to have an inline link to the site where the object is located.

(more...)

How to Block Visitors from specific IP using .htaccess hack

Tuesday, May 26th, 2009

I am sure most of the Website owners or Blog owners have faced this problem. Some visitor is nasty or jealous and wants to trouble by posting abusive comments or do harm to the website.

One of the solutions is to Block or Deny the access to your Blog or website.

Yes, you can block a Visitor of your website. Read on to know how to do that....

Block Visitor from Specific IP Address using .htaccess Hack

I am assuming that you know about .htaccess file. It resides in the root directory of your website. The root directory could be /www/, /httpdocs/ or /public_html/ directories. Any of them depends on the hosting service.

Make sure you backup .htaccess file before you making any changes.

  • Grab the IP Address of that visitor by checking your favourite Stats webservice. I use StatCounter to get the IP Address or Wordpress Dashboard (if the visitor has left a comment).
  • Login to your hosting service site and open code>.htaccess file. Make sure you backup the file before making any changes.
  • Lets say i want to block a Visitor coming from this IP Address 120.120.120.120. I will add the below entry in .htaccess at the end of the file.
    deny from 120.120.120.120
  • Now save the file

If you want to block more visitors, just keep adding the ip addresses in .htaccess file .

In this way, you can also block the automated spammer.

If you know any other way, please share via comments. Hope you learned something from this post!

Technorati Tags: ,

How to Find Broken Links, Missing Titles, Image alt text with Xenu’s Link Sleuth tool

Tuesday, May 12th, 2009

Jonny from Jonnys Blog left a comment few days back on my Previous Post Broken Links Remover - A must Wordpress Plugin. He mentioned a freeware tool that can check all the broken links of any website. I took a look at that freeware software. It is a great tool to use for all the webmasters.

Xenu’s Link Sleuth is a freeware tool to check Broken Links of your website. It uses multi-threading to scan broken links. Hence, it is very fast compared to any other link checking software. Given the URL of the website, It can come up with all the broken links withe the details like title, type, size etc. It does all this pretty quickly.

How to use Xenu's Link Sleuth

  1. Download and install the program
  2. Run the program and enter the URL of the website which you want to check
  3. Now it will check for all links like normal links, images, backgrounds, style sheets, scripts and java applets.

Find Broken Links of any website. Image Credit :  Xenu's Link Sleuth

Find Broken Links of any website. Image Credit : Xenu's Link Sleuth

(more...)