Pages

How To Create A Custom 404 Error Page In WordPress

This article will guide you how to create an error 404 page for your WordPress powered site or blog. An error 404 page is when you try to access a page that does not exist. This guide will act for self-hosted blogs, not for free ones on WordPress.com like (xyz.wordpress.com) !

What is the error 404?

The error 404 is a message shows up if you click on a link that doesn’t work (anymore) or if you typed wrong Url. This is default in WordPress but some themes don’t come with a 404.php file.

Basic Error 404 Template

If you do not have default 404.php page, you can create it. Create a 404.php file with the below code..

<?php get_header(); ?>

<?php get_sidebars('left'); ?>

<h2>Error 404 - Page Not Found.</h2>

<?php get_sidebars('right'); ?>

<?php get_footer(); ?>

The above code would give a simple “Error 404 – Page Not Found.” as ouptput, which is mentioned within in h2 tag. You need to modify header, sidebar & footer as per your theme structure.

404 page with Search Form

Want to add search form to help users stick around instead of leaving. By this way visitors have the option of searching your site, even if lands on your 404 page. If you want to add search form for your 404 page, add the below code..

<?php get_header(); ?>

<?php get_sidebars('left'); ?>

<h2>Error 404 - Page Not Found.</h2>

<p>Search:</p>

<?php include(TEMPLATEPATH . "/searchform.php"); ?>

<?php get_sidebars('right'); ?>

<?php get_footer(); ?>

404 page redirect to home page

If you want to just redirect 404 page to home page then add the below code in 404.php

<?php

header( 'HTTP/1.1 301 Moved Permanently' );

header( 'Location: '.home_url( '/' ) );

?>

Make it more dynamic

If you want to create a more dynamic error 404 page you can use this way so that the visitor only sees the brief error and, then gets redirected to your home page. This page can be made to be somewhat SEO friendly. For this you need to edit the header.php file of your template. Within the meta tags at the top of your header.php file add the below code ..

header.php

<?php

if (is_404()) {

*$redirectHome = get_option('home'); ?>

<?php echo $redirectHome; ?>

After added it into header.php file, you need to edit your 404.php file to look like this:

404.php

<?php get_header(); ?>

<?php get_sidebars('left'); ?>

<h1>Error 404 - File Not Found.</h1>

<h3>Please <a href="<?php bloginfo('home' Or 'template_url'); ?>" Click here</a> to return home page, or you can wait to be redirected in 15 seconds.</h3>

<?php get_sidebars('right'); ?>

<?php get_footer(); ?>

This above example will allow the user to land on your 404 error page and then automatically take them to the home page. This will also help users stick around instead of them being left confused and leaving your website. Please make sure to replace home or template url with the exact link where it should redirect.

original

Prevent Blogger Blogs Redirection To Country Specific Domains

Most Bloggers knew that recently Google redirects blogger blogs their respective Country code TLD’s. Like if you are browsing a blog from Australia, it will be redirecting .com to .com.au domain. For instance, if you open xyz.blogspot.com in your browser, you will be redirected to xyz.blogspot.com.au if you are browsing from Australia.

Why Google redirects Blogger Blogs to Country Specific?

Google implemented this blogger blog redirection because of censorship on Internet and hide unwanted content. They started categorizing the content based on the writer & the reader’s country. A site with having unwanted contents, will be block in some countries but still have it displayed in the others.

Disadvantages of Country Specific Redirection

There are many problems with country specific domain redirection, from SEO to social share count, List of disadvantages ...
  •  Social shares will be changed with country specific domains.If your blog xyz.blogspot.com has 5 tweets it will be changed with xyz. blogspot.com.au .
  •  No of backlinks will be different for each of the country specific domains and your blog will lose alexa rankings.
  •  It might problem with some applications and widgets.

How To Stop redirects Blogger Blogs to Country Specific?

You can stop this country specific redirection for your blogger blog by using a JavaScript code.  Once added this code in your template your blog will simply redirects blogspot.com instead of redirecting to the country-specific domain names.

Steps to place JavaScript code:
1. Log In to Blogger account and visit your dashboard

2. Click on design of your Blog

3. Click on Edit HTML


<script type="text/javascript">
var str= window.location.href.toString();
if ((str.indexOf('.com/'))=='-1') {
var str1=str.substring(str.lastIndexOf(".blogspot."));
if (str1.indexOf('/')=='-1') {
var str2=str1;
}
else {
var str2=str1.substring(0,str1.indexOf('/')+1);
}
window.location.href =window.location.href.toString().replace(str2,'.blogspot.com/ncr/');
}
</script>

4. Now copy the above code and search this line on your blogger template.


<b:include data='blog' name='all-head-content'/>

5.  Paste the java script code below that line and save your template.

Now your visitors from anywhere in the world can see your blogspot.com domain only.


original post>>

How To Know If Someone UnFriend You On Facebook ?


Facebook, the popular social networking site, is a grand opportunity to get in touch with your old friends. Messages and notifications flow into your account every now and then. Whenever you are added as a friend, you get a notification. Logging into your Facebook account, you get to see an entire list of your friends added in your friend’s list. But what, when someone unfriends you from the list? When you are removed from anyone’s friend list, you are not notified nor does any message enter your account.



However, gone are those days when you remind in dark as to who unfriended you. Unfriend Finder – the new browser script enables you to find out who has eliminated you from his list. Not only about unfriend, this browser script will let you know  you the people to whom you have sent a friend request, the persons who have denied your request, the person who have removed you from the list and also about the Facebook user who has deactivated his account.

All the recent web browsers Opera Apple Safari, Google Chrome, Mozilla Firefox and others support this new Unfriend Finder application. Are you wondering how this function will work for you? Well, this browser script makes use of Facebook notifications for alerting you of the aforesaid events.

Want to get this new app right on your PC now? Go to the site of Unfriend Finder and install this once you have downloaded. Once you have installed this browser script, it will store for you Facebook friend list, requests and other information in the web browser. Just as you receive notification when anybody sends you a friend request, in the like manner now you will also get a notification when you are unfriended in the same Facebook style.

Facebook interface and Unfriend Finder mixes perfectly with each other. Now, you will receive alerts whenever your friend request is ignored or rejected. Stop wondering why your list of Facebook friends getting shorter day by day. Set up Unfriend Finder and start receiving notifications regarding all events related to your Facebook friends!

original article>>

FTalk App – Chat With Your Facebook Friends Without Opening Browser

Is there anybody around who is not acquainted with Facebook? Logging into Facebook account and chatting with your Facebook friends is a wonderful way to have a gala time. However, you have to make the effort of opening the Facebook in a new browser. Chatting with Facebook friends without opening it in separate browser – many desire to do so! How about having a desktop client for Facebook like Yahoo!, MSN and AIM messenger?


fTalk is the desktop client of the Windows you were searching for! With this desktop application, you can now have the pleasure of conversing with Facebook friends right from Windows desktop. No need to open it in some other browser. fTalk is a reliable and handy utility offered to the Facebook fans so that they can stay tuned with the Facebook friends anytime they want.

Initially fTalk started as an easy messenger application, but with addition of greater number of advanced features each day, it has turned out to be the favorite desktop messenger client for many. Want to download this application? Visit the website of fTalk and install the application once you download it for your desktop. When you are installing this messenger application, you will notice a toolbar being displayed on your screen. Well, this is not necessary for using the application. Therefore, it’s your choice to install this toolbar.

Once you have installed fTalk, sign to the Facebook account and allow permission prior using this app. Once you are logged in, fTalk app will be right on your desktop offering you the entire list of your Facebook friends. Can’t find a friend in the list? Type the name in search box provided. Much like Google Talk, in fTalk also you will receive notification for each friend appearing online. You also have the opportunity to set your preferences or open up the fTalk window.

Double click on your best friend in the list and chat window will open up right in front of you! Want to go for a video chat? The facility is also provided in fTalk provided both of you have a webcam. fTalk has proved to be a nice desktop client messenger. No more distractions from advertisements on your Facebook page. Enjoy chatting with your beloved friend with fTalk application right now!

How to Enable Facebook Timeline Right Now!


Facebook has finally unlocked the floodgates of “Open Graph” with its Timeline Apps. “Facebook Timeline” is the new feature offering you a leap from its persisting multimedia integration. Small and large developers can now submit their apps with Facebook. What does this mean? In essence, you are likely to see a new bunch of activities of your Facebook friends. You will now experience much more than the usual ‘likes’ you have been using all these days.



This popular social network has opened up new options to enhance your fun to an advanced stage. Shopping, ravel, fitness, food and more than 60 ‘lifestyle’ apps have made Facebook much more amazing than before. These apps enable you to share your activities and hobbies automatically. Potentially thousands of other apps are to come in Facebook in the recent past.

But how to know which apps are worth using in Facebook Timeline? Don’t fret! Some selective apps are provided to suit with the new Facebook Timeline feature. You do not have to waste any time or take the trouble of choosing the right app. Whether you admire knitting, hiking, gardening or snowboarding or any other activity, there is an app for all.

Greater details of your news, posts, activities from its initial stage to the current date will on feature now with this new Facebook app. Your settings, activities, photos and posts will get a new layout altogether. The best part is that all these astounding apps are totally free! Enjoy the stunning feature without shelling out a single penny! Install Facebook Timeline and give a new look to your Facebook profile. Grab the Timeline Feature right away!


Here’s how to do it:

  1. Log into Facebook.
  2. Visit Facebook Developer App to set off the app.
  3. Click Create a New App on the page’s top right corner.
  4. Give a name to your app, like Timeline and also a namespace, like Your name.
  5. Simply follow the onscreen instruction.
  6. Click on Open Graph link at the left side of the page and then click Get Started With Open Graph.
  7. Fill up the two blanks suiting your needs and then press the Get Started button.
  8. Several settings page will be displayed. You can make changes to the settings or keep to its default as you desire.
  9. Now go to the homepage of your Facebook. There you will find the activation at the top of the page reading “Introducing Timeline…..” Click on Get It Now and have fun with the new Facebook features.

How Search Engines Work Exactly?

"Search Engine" is the term is often used generically to describe both crawler-based search engines and human-powered directories. These two kinds of search engines collect data in radically different ways.
 
Crawler-Based Search Engines:

Crawler-based search engines, like Google, create their listings automatically. They "crawl" or "spider" the web, then people search through what they have found.

If you change your web pages, crawler-based search engines eventually find these changes, and that can affect how you are listed. Page titles, body copy and other elements all play a role.


Human-Powered Directories:

Human-powered directory, such as the Open Directory, depends on humans for its listings. You submit a short description to the directory for your web site, or editors write one for sites they review. A search looks for matches only in the descriptions submitted.

Changing your web pages has no effect on your listing. Things that are useful for improving a listing with a search engine have nothing to do with improving a listing in a directory. The only exception is that a good site, with good content, might be more likely to get reviewed for free than a poor site.


"Hybrid Search Engines" Or Mixed Results

In earlier days, it used to be that a search engine either presented crawler-based results or human-powered listings. Now, it extremely common for both types of results to be presented. Usually, a hybrid search engine will favor one type of listings over another. For example, MSN Search is more likely to present human-powered listings from Look Smart. However, it does also present crawler-based results (as provided by Inktomi), especially for more obscure queries.


The Parts of a Crawler-Based Search Engine

Crawler-based search engines have three major elements. First is the spider, also called the crawler. The spiders visits a web page and reads it, and then follows links to other pages within the site. This is what it means when someone refers to a site being "spidered" or "crawled." The spider returns to the site on a regular basis, such as every month or two, to look for changes.

Everything the spider finds goes into the second part of the search engine, the index. The index, sometimes called the catalog, is like a giant book containing a copy of every web page that the spider finds. If a web page changes, then this book is updated with new information.

Sometimes it can take a while for new pages or changes that the spider finds to be added to the index. Thus, a web page may have been "spidered" but not yet "indexed." Until it is indexed -- added to the index -- it is not available to those searching with the search engine.

Search engine software is the third part of a search engine. This is the program that sifts through the millions of pages recorded in the index to find matches to a search and rank them in order of what it believes is most relevant. You can learn more about how search engine software ranks web pages on the aptly-named How Search Engines Rank Web Pages page.


Major Search Engines: Same But Different

Crawler-based search engines have the basic parts described above, but there are differences in how these parts are tuned. That is why the same search on different search engines often produces different results. Some of the significant differences between the major crawler-based search engines are summarized on the Search Engine features Page. Information on this page has been drawn from the help pages of each search engine, along with knowledge gained from articles, reviews, books, independent research, tips from others and additional information received directly from the various search engines.

Now let's look more about how crawler-based search engine rank the listings that they gather

What is the Difference in top search engine ranking criteria?

The most recent Internet size estimate is 1 billion pages - and growing. 85-90% of all Internet users rely on search engines to locate sites, but only 7% of them look past the first three pages of search results. Those top slots are valuable and competition for them is intense.

Let's look at several ways to move your site to the top.
Content

You've heard it before, but we can't stress it enough: the three most important factors in your search engine rank are: content, content, content.

Good content is critical to a good search engine score because many elements of search engine algorithms rely on page content to score Web sites. It also increases the probability that Yahoo or other popular directories will list your site.

Good content is vital. It's fundamental to every legitimate search engine strategy.

Link Popularity

Common optimization techniques (TITLE tags, META tags, and keyword frequency) are important because most search engines rely on them to score pages. Automated tools can help you simplify this task and leave you free to focus on another increasingly popular ranking strategy: link popularity (the total number of Web sites that link to yours). This technique requires no additional coding - just old-fashioned networking. Content is still critical since your site must contain valuable information that other sites want to share with their visitors.

Search engines determine your link popularity score by counting the number of outside links to your site (your internal page links don't count). Some use more complex algorithms that consider link importance - they rank the importance of the links and calculate a weighted link popularity score. Sites linked to "important" sites are more likely to be ranked higher. For instance, if Web Developer's Journal were to link to your site, that link could be worth more than 20 links from your friends' personal Web pages. In fact, it may be worth more since some search engines refuse to include links to free sites (like Geocities homepages), because spammers can use them to set up bogus links.

Many search engines are giving link popularity greater weight in their algorithms because they believe it indicates quality. After all, other sites are most likely to link to a site that displays good content, design, and usability. Google relies heavily on link popularity to rank sites. Other search engines factor it into their algorithms.

Look at how some of the largest search engines use link popularity:

Search Engine: Link Popularity

AltaVista: Uses link analysis and ranks sites based on "good" link popularity. Tends to ignore links generated through "link exchange" programs.

Excite: Uses link popularity and quality data to determine relevancy.

Inktomi: Link popularity is one ranking criteria.

GO: Link popularity is one ranking criteria.

Google: Uses weighted link popularity and analyzes link content almost exclusively to determine site rankings. Recently partnered with Yahoo - the largest directory.

Infoseek: Link popularity is considered in the new retrieval algorithm.

Site rankings based on link popularity impose huge penalties on new sites that haven't accumulated many links. This is where schmoozing counts. When you contact webmasters, offer to link to their site in return for a link and remind them how important link popularity can be to their overall ranking. While you're building links, remember to pay close attention to your HTML tags, keywords, and content. Until you have a large number of "good" links, those basic techniques are your best bet to improve your ranking.

Avoid Spam and HTML "Tricks"

As part of their continuing battle against spammers, many search engines have tightened their site eligibility policies. AltaVista recently instituted one of the most restrictive in the industry, banning sites for one or more of the following reasons:

· Using a hosting service that also hosts adult sites or documented spammers.

· Improper use of Gateway pages - also called Doorway or Jump pages.

· Submitting the same URL repeatedly or a large number of URLs from the same site.

· Excessive keyword repetition.

· Inserting keywords unrelated to the page's content.

· Hidden text.

· META refresh commands set to less than 30 seconds.

The first two items may surprise you. Most beginning webmasters look for a Web host based on cost first, then speed and reliability, when their provider's policy on adult sites may be just as important. AltaVista sometimes retaliates against adult sites' spam techniques by blocking those sites' underlying IP addresses entirely (as does GO.com). If you host with the same provider, your site may share that banned IP address. Choose your host carefully: you are judged by the company you keep!

Ask the Experts

You spend months tuning your Web site to achieve high rankings, and then have it drop. Or no matter what you try, your site never gets a good ranking. Do you know why? If you don't have the time or expertise to ferret out the reasons yourself, consider paying for expert advice.

Thousands of consultants are eager to advise you about all aspects of the Internet. You can even hire a Good consultant to advise you on which consultant to hire!

Good consultants supply focused, personalized service, but many businesses can't afford the expense. Webmasters for smaller sites often find less expensive automated search engine tools to be an efficient way to tune their Web sites. This requires a more do-it-yourself approach. While a consultant might personally optimize your page code and content, most automated tools require you to make the changes yourself.

You can purchase or subscribe to tools that provide a full suite of search engine and page optimization services. The tools are simple to use and give you advice that is easy to understand and implement on your own. Some companies sell software packages for your PC that analyze your pages and monitor your search engine rankings, while others offer similar tools online. Net Mechanic’s Search Engine Power Pack is an online tool that tracks your site's ranking and provides keyword assistance to improve your position.

Expert advice can come at a high price, but it doesn't have to. Get the best value for your money by carefully researching your options and evaluating your requirements. If you need immediate, reliable advice, a well-designed online tool may be your most cost-effective investment.

Constant Monitoring Is Crucial

Search engine ranking strategy is an ongoing process that begins during design and never stops. You may spend more time tweaking your site than you spent designing it! At a minimum, you must:

· Monitor your site's rankings by keyword on a weekly basis.

· Experiment with keyword and page content modifications.

· Be alert to changes in search engine policies and requirements. Today's legal design technique may be spam tomorrow if search engine policies change.

If you depend on search engines to deliver traffic to your Web site, then a high search engine ranking is critical to your success. Think you can't afford to spend the time and effort it takes to get there? You can't afford not to.

How to Remove Nofollow Attribute on Blogger Blog

Another way to generate quality links and traffic is by removing the rel = "nofollow" on your blog. By doing this, you will be given the opportunity to join do follow communities and you can get the additional traffic for your blog, because it will attract more visitors to participate in your blog, and sometimes your blog will be included in do follow blog lists like the ones listed in my previous post do follow blogs list, but can also do this gives you a spam problem, however, can choose which comments to approve.

In this post I will share with you how to remove nofollow attribute blogger.com since the last time someone said in my other post saying that his blogger blog is a do follow blog and after I checked it out, it seems to me that his blog is not a do follow blog.

Blogger. com by default automatically adds the rel = "nofollow" tag to all links from user generated content. To remove this tag in your blogger.com blog, simply follow the steps below.

* Login to your blogger account.

* Click Layout.

* Click edit HTML.

* Then backup your template in case something goes wrong. Click Download Full Template.

* Check Expand Widget Templates since the items that we're going to delete are inside of sections, which in turn are inside the widget, so that we can see anything inside of the widget.

* Search for a nofollow tag in your template. Just simply press F3 or ctrl + F, the small dialog box will appear then type in nofollow and enter and just simply delete the part of the code that says rel='nofollow' then save your template and you're done.

UCX7VZ58N424