Monday, July 16, 2018

Best Technical SEO That Works for Your Website.

Technical SEO homework

1) The following is an imaginary homepage for RaghuveerSinghRao that has a number of issues - make changes to this markup to improve its SEO performance.

<!DOCTYPE html>
<html>
 <head>
   <meta charset="UTF-8" />
   <meta name="viewport" content="width=device-width, initial-scale=1.0">
   <meta name="google-site-verification" content="assume-this-is-valid">
   <link rel="canonical" href="/hompage-template.html" />
   <title>Raghuveer SIngh Rao Homepage</title>
<meta name="keywords" content="daily fantasy sports, leagues, cash, money, football, baseball, one day" />

   <meta name="description" content="Raghuveer Singh Rao is doing online digital marketing from many years.">
   <meta property="og:title" content="Raghuveer Singh Rao - Digital Marketer Online India"/>
   <meta property="og:image" content="https://d17odppiik753x.cloudfront.net/logos/fdlogo-social.2248d2.png"/>
   <meta property="og:site_name" content="Digital Marketing Expert India"/>
   <meta property="og:url" content=”https://raghuveersinghrao.blogspot.com"/>
 </head>
 <body>
   
   <header>
     <img src="/img/logo.png" alt="Logo">
     <div class="logged-in-menu" style="display:none">
       <ol>
         <li><a href="/">Lobby</a></li>
         <li><a href="/upcoming">Upcoming</a></li>
         <li><a href="/live">Live</a></li>
         <li><a href="/history">History</a></li>
         <li><a href="/friends">Friends</a></li>
       </ol>
     </div>
     <ul class="logged-out-menu">
       <li><a href="/logIn">Login</a></li>
       <li><a href="/join">Register</a></li>
     </ul>
   </header>

   <div class="page-title">Raghuveer Singh Rao</div>
   <h2>Every major sport. With options for every fan.</h2>

   <section>
     <h1>How to play</h1>
     <div><img src="/img/how-to-play-homepage-infographic.png" alt=”how to play homepage infographic”></div>
     <p><a href="#" onclick="openRegistrationModal">Join now!</a></p>
     <p><small>Already got an account? <a href="/log-in">Play now!</a></small></p>
   </section>

   <section>
      <h4>Wave goodbye to the waiver wire.</h4>
      <p>Pick a new team every week and play against your friends all season.</p>
      <p>Now a Day's digital marketing is not that easy task. It takes time and efforts, SEO, SEM and SMM are the biggest challenge in industry. Here Raghuveer Singh Rao can assist you on this.</p>
      <p><a class="button" href="/friends?from_homepage=true">Join now!</a></p>
   </section>

   <footer>
     <section>
       <ul>
         <li class="title">About</li>
         <li><a href="/about" title="About Raghuveer Singh Rao">Raghuveer SIngh</a></li>
         <li><a href="/careers" title="Raghuveer Singh Rao' Job Opportunities">Careers</a></li>
         <li><a href="/press" title="Raghuveer Singh Rao in Press">Press &amp; Media</a></li>
         <li><a href="/legal" title="Raghuveer Singh Rao Governance">Governance</a></li>
         <li><a href="/whats-new" title="What&#39;s new at Raghuveer">What&#39;s New</a></li>
       </ul>
     </section>

     <div>
       <span>&copy; 2009-2016. All Rights Reserved</span>
     </div>
   </footer>
 </body>
</html>
  • Meta charset UTF 8 added.
  • Meta viewport code updated with initial-scale=1.0
  • The initial-scale=1.0 part sets the initial zoom level when the page is first loaded by the browser.
  • Google Search Consoles setup was missing. Now it's added
  • <meta name="google-site-verification" content="assume-this-is-valid">
  • <meta name="robots" content="NoArchive"> - Removed. It bans Google from republishing sites content using NOARCHIVE metatag.
  • <meta name="googlebot" content="Archive"> - Removed. "archive" is not supported at all.
    Ref: https://support.google.com/webmasters/answer/79812?hl=en
  • Meta description tag added.
  • Facebook open graph - meta title, site url, image and site name added.
  • <img src="/img/how-to-play-homepage-infographic.png" > Now updated with alt tag.

2) Which of these URLs would be blocked by the robots.txt shown below?

  • /
  • /index.php – BLOCK : It will be blocked by rule Disallow: *.php
  • /profile – ALLOW : /profile/ this rule doesn’t apply here, as /profile/ refers to directory and anything content this /profile/
  • /profile/ - BLOCK  : blocked by rule/profile/  
  • /profile-new  : ALLOW: /profile/ this rule doesn’t apply here, as /profile/ refers to directory and anything content this /profile’

  • /profile/new : ALLOW: /profile/ this rule doesn’t apply here, as /profile/ refers to directory and anything content this /profile’

  • /profile/new?allow=true - ALLOWED by this url Allow: *?allow=true
  • /category/ - BLOCKED by this rule Disallow: /category
  • /category-new/ - BLOCKED by this rule Disallow: /category
  • /category/tag.php – ALLOWED by this rule Allow: */tag.php
  • /tag – BLOCKED by this rule Diallow: tag*
  • /tagged/ - BLOCKED by this rule Disallow: tag*

robots.txt:

User-Agent: *
Disallow: /profile/
Disallow: /category
Disallow: tag*
Disallow: *.php
Allow: */tag.php
Allow: *?allow=true

3) What are the implications of the following HTTP status codes and when would you use them?

  • 200 – Status OK.
The 200 status code is by far the most common returned. It means, simply, that the request was received and understood and is being processed.
  • 301 – Permanent redirect
A status code of 301 tells a client that the resource they asked for has permanently moved to a new location (new URL). The response should also include this location. It tells the client to use the new URL the next time it wants to fetch the same resource.
  • 302 – Found
A status code of 302 tells a client that the resource they asked for has temporarily moved to a new location (new URL). The response should also include this location. It tells the client that it should carry on using the same URL to access this resource.
  • 303 – See other
A 303 status code indicates that the response to the request can be found at the specified URL, and should be retrieved from there. It does not mean that something has moved - it is simply specifying the address at which the response to the request can be found.
  • 307 - Temporary redirect
307 is the status code that is sent when a document is temporarily available at a different URL, which is also returned. There is very little difference between a 302 status code and a 307 status code. 307 was created as another, less ambiguous, version of the 302 status code.
  • 404 – Not found
The best known of them all, the 404 status code indicates that the requested resource was not found at the URL given, and the server has no idea how long for.
  • 410 – Gone
A 410 status code is the 404's lesser known cousin. It indicates that a resource has permanently gone (a 404 status code gives no indication if a resource has gone permanently or temporarily), and no new address is known for it.
  • 500 – Internal server error
A 500 status code (all too often seen by Perl programmers) indicates that the server encountered something it didn't expect and was unable to complete the request.

What are the significant changes in the new Google Search Console?

  1. Search performance.
The Search Analytics section has been one of the most important, and one of the most requested features for expansion by the general public. Google’s new Search Performance report includes more in-depth data, including clicks, impressions, CTRs, your average ranking position, and your current position, and feeds you up to 16 months of back-dated data. This is a significant improvement over the current limitations of the system.

  1. Index coverage.
Google Search Console already provides some data on how your site is indexed, but the new Index Coverage report shows you even more information. The system automatically alerts you when there’s an indexing error, and can help you trace the root of the problem, so you can solve it faster. When looking up a specific issue, you’ll be given a series of diagnostic tools to help you understand the issue, along with a share button so that you can quickly communicate this data to your team. There’s even a “validate fix” button you can use to verify that your corrective action was effective.

  1. AMP status.
Google’s been pushing accelerated mobile pages (AMPs) for a few years now, so it’s only right that its Search Console is updated with a new report covering their performance. Soon, you’ll be able to monitor your AMP performance, including how your pages are displayed and any errors that come up.

  1. Job postings.
Similarly, Google rolled out its Google for Jobs feature last year in certain locations, and soon, its Search Console will be able to provide you with opportunities to list your on-site job postings through that feature (and of course, monitor their performance).

Give an example of when and how you would use a canonical tag.

Example. There are two URLs on a website that result in the same page resolution.
If both of these web pages show the same result, then this might cause an issue of duplicacy or identical pages. In such case, you can fix the issue by using canonicalization.
This is how it is applied.
<link rel=”canonical” href=”http://thewebpage.org/index.php”>
This implies that the URL with index.php is a Canonical URL of the first one.

Outline an internal linking structure to promote a new product.

The structure of internal linking to promote a new product should be like:
Product should link back to its sub-category,
Sub Category should link back to its category
Category should link back to Home page

Home Page  > Category Page > Sub Category Page > Product

No comments:

Post a Comment