Source Code Optimization Techniques As Per SEO

SEO is one of the most effective ways to promote the website over web. This compare to be one of the cheapest platform of marketing. In this blog we are going to share the best practice of source code optimization as per SEO standards. The below mentioned points help you in managing the code optimization in a perfect way.

We already have given detail input on the most important on-page SEO elements

Now, let’s move on how to optimize the source code?

Open the source code of a web page by pressing

CTR + U

Below screen will give you the overview of source code



source-code

Search engine crawler use to evaluate the source code of webpage and by evaluating it helps to extract all about the page. So, optimization of source code is very important. This helps crawler to better understand each section of a page.


Steps to find optimize the source code as per SEO standards

URL optimization:

  • 1. Always target the keyword in URL.
  • 2. Keyword should be relevant to the page.
  • 3. Use (-) dash operator as a separator between the two words.
  • 4. Don’t include special characters and id in the url.
  • 5. Length should be restricted to 100 characters.
  • Example: Suppose i am having a website that contain mechanical engineer job in engineering jobs category. In such case the url structure would be:

    http://www.alljobshub.com/engineering-jobs/mechanical-engineer


Title Tag Optimization

Title plays a very important role for a web page. The catchy title attract visitor to land on your page. Important points to remember relating to title tag.

  • 1. Title should include the targeted keywords.
  • 2. Length should not be more than 65 characters. Search engine display the title in a pixel area. So, the maximum character it can display should not be more than 65 characters.
  • 3. Include brand name in the title. This helps to create the brand awareness.
  • Syntax:

    <title>Title of the page + Brand Name</title>

    Example: suppose i am having a page relating to mechanical engineer job. For the situation like this the title would be:

    <title>Urgent Requirement for Mechanical Engineer | AllJobsHub</title>



title-tag-optimization

Meta Description Optimization

Meta Description plays a very important role for a web page. This gives you a brief introduction about a page. Important points to remember relating to Meta Description.

  • 1. Meta Description should include the targeted keywords in a form of short description.
  • 2. Length should not be more than 165 characters. Search engine display the meta description in a pixel area. So, the maximum character it can display should not be more than 165 characters.
  • 3. Include brand name in the meta description. This helps to create the brand awareness.
  • Syntax:

    <meta name=”description” content=”short description by including the targeted keywords + brand name” />

    Example: Suppose i am having a page relating to mechanical engineer fresher job. The meta description would be:

    <meta name=”description” content=”Mechanical engineer fresher required. Interested candidate must explore the job description with AllJObsHub. Apply Now.” />



meta-description-optimization

Heading Tag Optimization – H1

Heading tags ranging from H1 to H6. To optimize the heading tag in right way can make your more optimized. Following are the important optimization point relating to heading tag.

  • 1. Every page must have one H1 tag and include the targeted keyword in heading tag in an ethical manner.
  • 2. You can multiple h2,h3,h4, h5 and h6 keywords.
  • Syntax:

    <h1>keywords</h1>

    Example: Suppose i am having a page on mechanical engineer. In such the H1 tag would be.

    <h1>Mechanical Engineer</h1>

    You can see here we have targeted the most relevant keywords in h1 tag.


Link Optimization

The best way to optimize the link is by using Anchor text. On important words/keywords you can specify the hyperlink. This help to establish the link.

Useful tips relating to link and hyperlink:

  • 1. Optimize the content part of a web page by using hyperlink on the important keywords/words.
  • 2. The link should be relevant must match with the words.
  • 3. This helps to transfer the link juice to the inner page of the website.
  • Syntax:

    <a href=”url”>keywords/words</a>

    Broadly links are of following types:

  • 1. No follow
  • 2. Dofollow
  • 3. Index
  • 4. Noindex
  • To get the detail idea on linking attributes and hyperlinking explore our blog on “Meta Robot and Linking Attribute”.


Image Optimization

Search engine spider cannot read the image. To make search engine crawler understand the image, must specify “Alt” attribute and name of the image.

Having proper alt attribute and file name help crawler to understand all about the image.

To optimize image you need to have following:-

  • 1. Image should have alt attribute.
  • 2. Target the keywords using alt attribute.
  • 3. Image must have proper file name.
  • 4. The alt attribute should not be very big. Maximum 3 or 4 words keyword you can use in image alt tag.
  • 5. Image must have the proper file name.
  • Syntax with example:

    <img src=”alljobshub.png” alt=”alljobshub” title=”alljobshub”/a>

    Note –

  • 1. PNG based image are easy to merge with the background.
  • 2. JPEG image are quicker to index over search engine.


Few Important Points every webmaster need to keep in mind while optimizing the source code as per search engine guidelines –

  • 1. Avoid excessive use of java script.
  • 2. Avoid using of Frames.
  • 3. The size of the image should not be very high.
  • 4. The text and image should have 1:3 ratio.


Follow us on social platform and get updated with “Digital Marketing Tips, Techniques and Updates”.



Most Important On-Page SEO Elements to Improve Website Visibility?

SEO activity is broadly divided into two important factors one is on-page element and the second one is off-page optimization. In this blog we are going to discuss in detail what are the most important on-page element that helps your website to gain visibility over search engine? So, before moving into detail let’s first understand what is on-page optimization?

On-page optimization is the process of optimizing the website by making changes in the website as per the instruction of the website.

Important On-page SEO Elements –

  • 1. Content Optimization: Content is one of the most important part in order to optimize the website. What you need to follow while optimizing the content?
    a) Content should be unique and informative.
    b) Keywords should be the part of the content. But make sure that keyword density should not be high. The Keywords density ratio should not be more than 2%.
    Keyword Density Ratio Formula –
    (No. of time keyword appears on a web page /Total Word Count) * 100

  • 2. URL Optimization: Few important tips can optimize all your URL. Let’s explore some important points relating to URL optimization.
    a) Using Keywords in your URL.
    b) Try to reduce the length of your URL to 100 Characters.
    c) Based on category and sub category create the URL. The name of the category should be properly used in the URL.
    For example if I am in a business of online fashion store and having category of shoes and its child category formal shoes.


    In such case we should have following URL structure:
    http://www.abc.com/shoes/formal-shoes
    d) Always use a dash operator (-) to separate the two words. The search engine treats it as a separator. In above URL we are using (-) operator to guide search engine crawler to treat formal and shoes as a separate word.
    You can target keywords using the same techniques as explained above.
    e) Never use _ (Underscore) in the URL.
    f) URL should be in small case. Never user capital letter or words in the URL.

  • 3. Image Optimization: Search engine crawler or spider cannot read the image. To make it understandable by crawler/spider you need to specify the “Alt” tag for every images.
    What other thing you need to keep in mind while optimizing the images:
    a) Image must have proper name
    b) Always try have reduce the name of an image 2-3 words.
    c) Make use of keywords in images Alt attribute or file name. But don’t make keywords stuffing. Image name should be related to the image.
    d) The size of the image should be small. If you have bigger size image it can increase the loading time of the website.

  • 4. Navigation and Structure of the website: Website have proper navigation which allow user and crawler to move deeper in the website and easily navigate to different level.
    a) The link structure should be perfect. User can easily move from one page to other page.
    b) Using hyperlink (A Href Tag) on important keywords to establish the link.


Before moving in deeper part let’s first explore the brief overview of Search Engine. This helps you to understand the title, URL and Description in a better way.

search engine overview

  • 5. Title Tag Integration: Every webpage must have the title. Title tag compare to very important to drive user traffic.
    Important points relating title:
    a) Google the most popular search engine use to display the title of a web page in pixel area over search engine. Most of SEO guys are confused in deciding the length of the title.
    You can restrict the length of the title to 65 characters.
    b) Use informative title that helps users to divert to your website.
    c) Make perfect use of targeted keywords in the title.
    d) Specify the brand name in the title.
    Syntax:
    <title>Targeted keywords | Brand Name</title>

  • 6. Description Tag Integration: The few important points relating to description part of the webpage.
    a) The length should not be more than 165 characters.
    b) Should be eye catching and informative.
    c) Integrate targeted keywords.
    Syntax:
    <meta name=”description” content=”Integrated targeted keywords in a form of sentence”>

  • 7. Keywords Tag: Google is not considering keywords tag as a ranking factor. But other search engine still consider it as an important on-page element. So, if you are targeting multiple search engine, you must include this on every page of your website/blog.
    Syntax:
    <meta name=”keywords” itemprop=”keywords” content=”keyword1, keyword2, keyword3,…”>
    Always make sure that while integrating the keywords, the keyword density should not be more.

  • 8. XML Sitemap Integration: For quick indexing always have a XML sitemap. This helps crawler/spider to quickly index all the pages that are listed under sitemap. To know more explore our blog why xml sitemap is important for SEO.
    a) The sitemap.xml file should be submitted in the root folder.
    b) Always assign the priority to each URL based on its importance.
    c) You can manage the sitemap based on server response.
    d) Submit the sitemap to the Google Webmaster/Google Search Console.