Website And Server Optimization

Even though Google hammered us about high quality content, there are other facets of your website and hosting environment that can easily contribute to the rankings of your website in search engines. Some of what we will cover in the chapter is easy (but can be tricky) to implement, and other issues may require rethinking the entire design and architecture of your website.

Load Time

Load time refers to the amount of time it takes for your server/web hosting company to serve a requested page from your website by a user or search engine spider. Generally, the load time is in milliseconds; but, if your server is not able to serve pages quickly enough, it will cause problems both with rankings and bounce rate ( when people leaving a site after looking at only one page, in this case assuming they have waited long enough for your page to load). So it is important to test how quickly your hosting service is able to serve up your web pages.
Bear in mind that the problem may not be your host but the way your site is set up. You can use a variety of tools to check the speed with which the pages of your site load, or login and use the Google Webmaster Tools to find out how quickly Google is able to load your website's pages. You will find it at Webmaster Tools > Crawl > Crawl Stats. You can also use Google's PageSpeed Insights developer tool to spot some of the issues which may be causing the lowliness of your site.


Once you have checked and saw how quickly your web pages load, you will have to use that information to figure out your next move. If the pages are loading in a reasonable amount of time (less than one second per page), then you do not have much to do. If your pages are taking too long to load, then you certainly have some work to do to get the load time down to below one second per page. Here are some of the things you can do to improve load time:
  • Minimize HTTP requests
  • Externalize your CSS and JavaScript code as much as possible or (defer javascript parsing)
  • Optimize your images so you are not using unnecessarily large image files without gaining in visual quality
  • Use server side caching and Gzip to reduce render time and file size
  • Reduce 301 redirects
  • If possible, use a content delivery network (CDN) for a fee approximately $150.00

robots.txt

Users are redirected to a 404 page when they have tried to locate or reach a page that no longer exists, often because they have either clicked on a broken link or mistyped the URL.
By default, a 404 page is just an empty parking page (save for a small notice stating that the page that has been requested could not be found), which usually means that the user (and search engine spiders) will simply turn back and leave the site, and this is certainly not something you want happening.
To remedy this issue, and avoid 301 redirecting all error pages to your home page or some other pages on your website, you can use a custom 404 page which gives the users (or search engine spiders) links and navigational elements to follow into your website. A custom 404 page could simply be a smaller version of your website's sitemap which directs the user or search engine spider to the main sections of your site.

Naturally, each 404 page should be redirected elsewhere, and that is where a custom 404 page would come into play. These 404 pages can be shown by default, but creating a customized 404 page is wildly recommended.

Custom 404 Error Page

A 404 error is what gets reported to browsers or crawlers when a URL (webpage) has been requested and does not exist anymore or temporarily. Having too many 404 errors can be catastrophic to organic search engine rankings. Depending on the URL that is producing the 404 error, it might be helpful to 301 redirect the non-existent URL to an appropriate location. For example, if someone has linked to your services page (//www.example.com/services.html), but has misspelled the URL (www.example.com/servoces.html), and that link is sending you a lot of clicks, then it would be a good idea to 301 redirect .../services.html to .../services.html, so that you are not serving unnecessary number of 404 page, and also capture some of the link value from the link.

When a user manages to come across a 404 error, the default 404 page does very little to help guide the user along to a useful section on the website. The only available option is to click the back button. Without a place to move forward, or even a link to the homepage, there is no way to help users find what they are looking for.
A default custom 404 page is equally unhelpful for search engine spiders. These spiders follow a specific layout while indexing websites: They follow every available link, effectively creating a web or network of information. When a spider runs into a default 404 page, like human counterparts, they are unable to move forward. Unlike human users, spiders are not able to execute complex actions, like smash the back button. When a spider ends up on these pages, it is unable to proceed with indexing your website. A custom 404 page gives spiders something to follow even if they run into an error.

When creating and designing a customized 404 page there are a number of important things to keep in mind. Here a very important factor of an error page is to clearly inform a user that the page they are looking for has not been found, and apologize.
Offer a way for users to get back on track, a way to contact the webmaster about the problem and include a link to the homepage.
Remember to use meaningful anchor text. Simply writing "Home" isn't recommended. Also consider including additional links to popular pages or articles on the website. Finally, remember to ensure that your custom 404 error page gets a 404 error code to search engines to prevent them from indexing it.

Redirects

A redirect is the action in which a forwarding is pointing to one URL to another. For example, if a particular page on your site has had a file name change (e.g., from //www.example.com/services.html to //www.example.com/reseonable-services.html), then it would be imperative to redirect the old URL to the new URL. There are two types of redirects which we will talk about here--the 301 redirect, and the 302 redirect. Just below.

302 Redirect

A 302 redirect is a temporary redirect which has no link value, and has to be avoided for SEO purposes. This redirect tells the search engine spiders that the page that was requested has moved temporarily, but will be made available again in the future; for this reason, the search engine spiders/algorithm do not allow link value to flow through a 302 redirect.


Content Placement

A 301 redirect is a permanent redirect which gets most of the link value from the old one to the new page and it is the recommended method of redirecting old/changed URLs to their new spot.