SEO & Search Engine Marketing Essentials

Chapter 2
Search Engines, Crawling, Indexing, and Ranking

Diploma in Digital Marketing
SEO & Search Engine Marketing Essentials   •   Diploma

Search Engines, Crawling, Indexing, and Ranking

Introduction

Search engine optimisation (SEO) depends on understanding how search engines discover, interpret, store, retrieve and order information. A search result is not produced by a single action called “ranking.” It is the outcome of a large information-retrieval system involving web crawling, page rendering, content processing, indexing, query interpretation, ranking and presentation.

For digital marketers, this distinction is essential. A technically excellent page cannot rank if search engines cannot discover it. A discoverable page may not appear if it is excluded from the index. An indexed page may receive little visibility if its content is not relevant, useful, trustworthy or competitive for the search query. Consequently, SEO work must address both technical accessibility and the quality of the user experience.

Search engines also operate under changing conditions. Their systems use automated algorithms, machine-learning models, large-scale indexes and human quality policies. Marketers cannot control rankings directly; they can improve the probability that a page will be discovered, understood, considered relevant and judged valuable for a particular search.

Learning Objectives

By the end of this chapter, learners should be able to:

  1. Explain the functions of crawling, rendering, indexing, retrieval and ranking.
  2. Distinguish discovery, eligibility, indexing and search visibility.
  3. Describe how search engines interpret queries and documents.
  4. Explain the roles of relevance, content quality, authority, links, usability and context.
  5. Identify technical and content factors that affect visibility.
  6. Analyse why a web page may fail to appear prominently in search results.
  7. Apply a structured SEO diagnostic process to a practical business situation.
  8. Evaluate ethical, privacy and governance issues in search marketing.

1. Search Engines as Information-Retrieval Systems

A search engine is an information-retrieval system. Its purpose is to help a user locate information, products, services or answers from a very large collection of documents. The web is dynamic, duplicated, multilingual, partially inaccessible and constantly changing. Search engines therefore use automated systems to build and maintain representations of web content.

A simplified search process is:

Discovery → Crawling → Rendering and processing → Indexing → Query understanding → Retrieval → Ranking → Search-result presentation

These stages overlap in practice. A page can be crawled before it is fully rendered, processed several times, indexed in one form and later reprocessed, or retrieved but ranked below the visible part of the results page.

Simplified search engine process Web pages and links Crawler discovers pages Processing and rendering Index organised records Ranked results The search system pipeline A page must generally be discoverable, accessible, eligible, understood and competitive.
Simplified search engine process from web pages to search results
Figure: Simplified search engine process from web pages to search results

Figure: A simplified representation of the search engine pipeline.

The diagram is a conceptual model rather than a complete description of any particular search engine. Search engines may use separate systems for images, news, local results, shopping, video and other content types.

2. Discovery and Crawling

2.1 Discovery

Discovery is the process by which a search engine learns that a URL exists. Common discovery sources include:

  • links from already known pages;
  • XML sitemaps;
  • internal navigation;
  • redirects;
  • feeds and structured data;
  • manually submitted URLs in webmaster tools; and
  • previously known URLs that are revisited.

A URL’s inclusion in a sitemap does not guarantee crawling or indexing. It is a discovery and prioritisation signal, not an instruction that overrides search-engine quality or technical rules.

2.2 Crawling

Crawling is the automated retrieval of web resources by software agents commonly called crawlers, spiders or bots. A crawler requests a resource, receives a response and examines the content and links for further processing.

Important HTTP responses include:

ResponseGeneral meaning for SEO
200 OKThe resource was successfully returned.
301 or 308Permanent redirection; useful when consolidating URLs.
302 or 307Temporary redirection in ordinary use.
404The resource was not found.
410The resource is gone and intentionally unavailable.
5xxServer-side failure; repeated failures can reduce crawling reliability.

Crawlers do not behave like ordinary human visitors in every respect. They may request pages at different times, limit concurrent requests and omit some resources. A site’s server capacity, response speed, URL structure, duplicate content and internal linking affect how efficiently it can be crawled.

2.3 Crawl budget and crawl demand

The term crawl budget is a practical description of the amount and frequency of crawling that a search engine allocates to a site. It is not a fixed number that marketers can simply purchase or set. Crawl activity is influenced by factors such as site size, update frequency, server performance, perceived usefulness of URLs and the search engine’s resource constraints.

Small websites should not treat crawl budget as their primary SEO problem. For large ecommerce, publishing or marketplace sites, however, millions of near-duplicate URLs, session parameters, faceted navigation and endless calendars can waste crawling resources and complicate indexing.

2.4 Robots directives

The robots.txt file provides instructions about crawler access to URL paths. A Disallow directive may prevent crawling of a path, but it should not be confused with a guaranteed removal method. If a blocked URL is known from external references, its address may still be remembered, and the crawler may have insufficient content to interpret page-level instructions.

Page-level directives can include noindex, which requests exclusion from the index, and nofollow, which provides guidance about following links. These directives must be delivered in a way the search engine can access. If crawling is blocked before a crawler can read a page-level instruction, the instruction may not be observed.

3. Rendering and Page Processing

Modern web pages often contain HTML, CSS, JavaScript, images, video, structured data and content loaded from APIs. Crawling the initial HTML is therefore not always equivalent to seeing the page as a user does.

Rendering is the process of constructing a representation of a page by interpreting its resources and executing appropriate client-side code. Search systems may first process the server-delivered HTML and later render the page. Rendering consumes resources and may be delayed. Important content should therefore be available in accessible HTML whenever practical, rather than relying entirely on complex client-side scripts.

A page can fail or become incomplete during rendering because of:

  • blocked JavaScript or CSS resources;
  • unsupported or faulty scripts;
  • dependence on user interaction such as scrolling or clicking;
  • content loaded only after authentication;
  • API failures or inconsistent server responses;
  • excessive processing requirements; and
  • differences between mobile and desktop implementations.

Server-side rendering, static generation or progressive enhancement can improve reliability. These approaches do not eliminate the need for JavaScript, but they make core content and navigation available before advanced interaction is required.

Rendering is also relevant to mobile-first indexing. Search engines commonly use the mobile version of a page as the primary version for evaluation. If the mobile page omits text, links, structured data or important media present on desktop, the site may lose discoverability or relevance signals.

4. Indexing: From Documents to Searchable Records

An index is a large, structured representation of information extracted from processed documents. It is not simply a folder containing complete copies of every webpage. Search engines analyse words, entities, links, media, language, page structure, canonical relationships and other signals to create searchable records.

4.1 Eligibility and inclusion

A page may be crawled but not indexed. Possible reasons include:

  • the page is a duplicate or near-duplicate of another page;
  • the page contains little distinctive value;
  • a noindex directive is present;
  • the URL is inaccessible or repeatedly fails;
  • the page is a soft 404, appearing successful but communicating that content is absent;
  • the search engine has not selected the page as the preferred canonical version; or
  • quality, spam or policy systems restrict its inclusion.

Indexing is therefore a decision, not an automatic reward for publishing. The page must be accessible and provide a sufficiently useful, interpretable and eligible resource.

4.2 Canonicalisation and duplication

The same information can be accessible through multiple URLs, for example through tracking parameters, printer versions, filters, HTTP and HTTPS variants, or different capitalisation conventions. Search engines attempt to identify the canonical, or preferred, version.

Canonical links, redirects, consistent internal links and coherent XML sitemaps help communicate URL preferences. They are signals rather than absolute commands in every situation. A canonical declaration that conflicts with page content, redirects or internal linking may be ignored.

Duplicate content is not automatically a penalty. The central problem is usually inefficiency and ambiguity: search engines may select an unexpected version, divide signals among URLs or show a less useful result.

4.3 Structured data

Structured data uses a defined vocabulary to describe entities and relationships, such as products, organisations, events, articles and reviews. It can help search engines interpret content and may make a page eligible for enhanced search-result features. Eligibility does not guarantee that an enhancement will appear, and structured data must accurately represent visible page content and comply with relevant guidelines.

5. Query Understanding and Retrieval

When a user submits a query, the search engine must infer what the user means and what type of result would satisfy the need. Query understanding may involve spelling correction, synonyms, language detection, location, freshness, entities and search intent.

5.1 Search intent

Search intent describes the underlying purpose of a query. Common categories include:

  • Informational: seeking knowledge, such as “how does composting work?”
  • Navigational: seeking a particular website, brand or page.
  • Commercial investigation: comparing options before purchase.
  • Transactional: attempting to buy, subscribe, download or complete an action.
  • Local: seeking a nearby business or service.

These categories overlap. The query “best accounting software for freelancers” may be informational and commercial at the same time. A page’s format should match the dominant need: a tutorial, comparison, product page, location page or another appropriate resource.

5.2 Retrieval

Retrieval is the selection of candidate documents that might answer a query. Search engines use inverted indexes and other data structures to find documents associated with words, concepts and entities. Retrieval is usually designed for efficiency: a very large collection is narrowed to a candidate set before more complex ranking systems are applied.

A result can be retrieved without appearing near the top. Retrieval establishes potential relevance; ranking determines relative ordering among candidates.

6. Ranking Systems and Algorithms

Ranking systems order candidate results according to many signals and models. A simplified conceptual model is:

Visibility ≈ technical eligibility × relevance × quality/authority × usability × contextual fit

This is not an official search-engine equation and should not be treated as a calculable score. It illustrates that a severe failure in one area can limit the effect of strengths elsewhere. For example, excellent content that is blocked from crawling has little search visibility.

Search engines use multiple systems rather than one permanent algorithm. Different systems may address text relevance, links, spam, local search, news, images, freshness, product results or page experience. Machine-learning models may combine signals in ways that are not transparent or constant.

6.1 Relevance

Relevance is the degree to which a result addresses the query and the user’s likely need. Signals may include:

  • terms and concepts in the content;
  • headings, title and descriptive metadata;
  • entities and relationships;
  • language and geographic context;
  • alignment with the search intent;
  • content format; and
  • freshness where the topic changes over time.

Keyword repetition is not the same as relevance. A useful page may use natural language, synonyms and related concepts without repeating a phrase unnaturally. Over-optimisation can reduce readability and may resemble spam.

6.2 Authority and reputation

Authority refers broadly to the perceived reliability, expertise, prominence or reputation of a source for a topic. Links from other websites can act as discovery paths and signals of importance, but their value depends on context, quality and editorial legitimacy. A large number of low-quality or manipulated links does not equal genuine authority.

Authority is often topic-dependent. A respected medical institution may be authoritative for public health but not necessarily for automotive repair. Marketers should build authority through accurate content, credible evidence, expert involvement, positive experiences and legitimate relationships—not through link schemes.

6.3 Content quality and usefulness

Search engines attempt to reward pages that provide substantial value compared with available alternatives. Quality includes accuracy, clarity, completeness appropriate to the task, originality, maintenance and suitability for the audience.

Useful content should answer the actual question, communicate the answer efficiently and make important claims responsibly. For high-stakes subjects such as health, finance or safety, evidence, qualifications and editorial controls become particularly important.

6.4 Freshness

Freshness matters when information changes rapidly, such as breaking news, prices, software versions, regulations and event schedules. It matters less for stable reference topics. Updating a date without improving the substance of a page is not a reliable freshness strategy.

6.5 Page experience and performance

Page experience includes mobile usability, secure delivery, intrusive interstitial practices, accessibility-related qualities and loading responsiveness. Performance metrics can help diagnose user experience, but they should not be treated as a substitute for relevance and quality.

Important practical factors include:

  • stable layout that avoids unexpected movement;
  • responsive design;
  • readable text and usable controls;
  • efficient images and scripts;
  • secure HTTPS connections; and
  • acceptable interaction and loading performance.

7. Personalisation, Context and Search Features

Search results may vary according to language, location, device, time, search history, query wording and the type of result sought. Personalisation can improve usefulness but complicates SEO measurement. Two users may see different local businesses, news items or recommendations for the same apparent query.

Local search commonly considers relevance, distance and prominence. A business can improve local visibility by maintaining accurate business information, creating a complete profile on relevant platforms, earning legitimate local references, collecting genuine reviews and publishing useful location-specific information. Businesses must not create fake locations or manipulate reviews.

Search-result pages may include featured snippets, maps, images, videos, shopping listings, questions, news and other vertical features. Ranking for a traditional blue link is not the only form of search visibility. Marketers should evaluate the search feature that best serves the user and business objective.

8. Factors Affecting Search Visibility

A professional SEO audit considers interacting factors rather than isolated “ranking tricks.”

AreaQuestions for analysis
Technical accessCan crawlers reach important pages and resources?
ArchitectureAre important pages close to the main navigation and linked clearly?
IndexabilityAre desired pages eligible, canonical and free from accidental noindex directives?
ContentDoes each page provide distinctive value and match intent?
RelevanceAre topic, language, entities and format clear?
AuthorityDoes the site have credible references and a trustworthy reputation?
ExperienceIs the page usable, secure, mobile-friendly and reasonably fast?
GovernanceAre claims, reviews, data and promotional practices ethical and compliant?
MeasurementAre impressions, clicks, conversions and technical trends monitored?

Internal linking is especially important because it supports discovery, distributes contextual signals and helps users move through a site. Links should be descriptive and useful, not created solely to manipulate rankings.

9. A Practical Diagnostic Framework

When a page receives little organic traffic, use the following sequence:

  1. Confirm the objective. Define the target audience, query intent and desired conversion.
  2. Check availability. Test the URL, server status, HTTPS configuration and mobile response.
  3. Check crawling. Review robots rules, internal links, sitemap inclusion and server logs where available.
  4. Check rendering. Compare the initial HTML with the rendered page and confirm that important content is visible.
  5. Check indexing. Inspect index status, canonical selection, duplicate versions and page-level directives.
  6. Check relevance. Compare the page with the intent and content formats currently satisfying the query.
  7. Check quality and authority. Assess evidence, originality, expertise, links, reputation and user trust.
  8. Check experience. Review usability, accessibility, mobile layout, speed and intrusive elements.
  9. Measure outcomes. Examine impressions, clicks, click-through rate, engagement and business conversions.
  10. Test and improve. Make controlled changes, document them and allow sufficient time for recrawling and evaluation.

Search Console data can help distinguish low impressions from low clicks. Low impressions may indicate limited indexing, poor relevance or weak demand alignment. Strong impressions but few clicks may indicate an uncompetitive title, snippet, result position or search intent mismatch. Clicks without conversions may reveal a landing-page, offer or measurement problem rather than a ranking problem.

10. Applied Case: GreenBasket Online Grocers

Background

GreenBasket is an illustrative online grocery retailer serving three cities. It publishes recipe articles and has category pages for organic vegetables, pantry goods and household products. Traffic from search has declined even though the marketing team has published more articles.

Problem

An initial review finds that many recipe URLs contain tracking parameters and filter combinations. The mobile site loads product information through JavaScript. Several important category pages are not linked from the main navigation. The XML sitemap contains redirected and discontinued URLs. Articles target broad phrases but do not clearly connect to products or local delivery information.

Analysis

The decline is not explained by one algorithmic event. The site has several interacting weaknesses:

  • duplicated URL versions create canonical ambiguity;
  • discontinued pages return soft 404 responses;
  • important product content is delayed during rendering;
  • internal links do not reflect commercial priorities;
  • content intent is disconnected from the customer journey; and
  • the sitemap does not accurately represent preferred live URLs.

Approach and solution

The team first establishes a clean URL policy. Filter parameters are controlled, preferred URLs are declared consistently and discontinued products return appropriate responses with relevant alternatives where suitable. The sitemap is regenerated to include only canonical, indexable URLs.

Core product and category information is placed in accessible HTML, while JavaScript remains available for enhanced filtering and interaction. Navigation is revised so that users and crawlers can reach strategic categories directly. Recipe articles are reorganised around user needs such as seasonal meal planning, with clear links to relevant products and delivery areas.

The team also improves author information, sources nutritional claims responsibly, compresses large images and tests mobile usability. Performance and indexing are monitored through crawler reports, Search Console and analytics.

Outcome

After recrawling and subsequent content evaluation, the site has fewer duplicate indexed URLs, more reliable discovery of category pages and improved visibility for locally relevant queries. The most important business improvement is not merely higher rankings: organic visitors reach suitable category pages more often, and conversion tracking provides evidence about which content produces profitable orders.

Learning points

The case demonstrates that SEO is a system. Publishing additional content cannot compensate for poor architecture, rendering failures or unclear intent. Technical remediation, useful content, internal linking, trustworthy claims and measurement must work together.

11. Ethical, Legal and Governance Considerations

SEO affects what information people encounter, so professional practice carries ethical responsibilities. Marketers should not misrepresent products, fabricate reviews, hide important terms, use deceptive redirects, cloak content, generate large volumes of worthless pages or manipulate links through undisclosed schemes.

Privacy is also significant. Personalisation and measurement may involve location, device identifiers or behavioural data. Organisations should follow applicable privacy laws, provide appropriate notices and consent mechanisms where required, minimise data collection and secure stored information.

Accessibility should be treated as a quality and inclusion requirement, not merely a ranking tactic. Meaningful alternative text, keyboard access, readable contrast, clear headings and understandable forms improve access for users with disabilities and often improve machine interpretation as well.

Artificial intelligence can assist with topic research, content outlines, translation, code review and technical analysis. However, automatically generated material must be checked for factual errors, duplicated language, bias, inappropriate claims and lack of original value. Human accountability remains necessary, especially in high-stakes subjects.

12. Contemporary Developments and Best Practice

Search is increasingly multimodal: users may combine text, images, voice and location. Search systems also answer more queries directly through summaries and structured result features. This makes it important to create content that is clear, well organised, factually supported and connected to identifiable entities.

The following practices provide a durable foundation:

  • design for users before search engines;
  • maintain a logical, shallow and internally linked architecture;
  • provide important content in accessible HTML;
  • use descriptive titles, headings and links;
  • keep sitemaps accurate and robots rules deliberate;
  • manage canonical URLs and redirects consistently;
  • publish distinctive, evidence-based and maintained content;
  • earn authority through genuine expertise and relationships;
  • optimise mobile usability and performance;
  • measure business outcomes, not rankings alone; and
  • review changes, guidelines, legal obligations and emerging search features regularly.

No practice guarantees a particular position. Search visibility is probabilistic and competitive. The professional objective is to make the site technically understandable, genuinely useful and trustworthy for the audiences it serves.

Chapter Summary

Search engines operate as large information-retrieval systems. They discover URLs, crawl resources, render and process pages, decide what may enter the index, retrieve candidate documents for queries and rank those candidates according to numerous signals and models. Crawling is not indexing, indexing is not ranking, and ranking is not the same as business success.

Visibility depends on technical accessibility, clear architecture, indexability, relevance, content usefulness, authority, freshness where appropriate, page experience, context and search intent. Personalisation and specialised search features mean that results vary by user and query type. Effective SEO diagnosis therefore checks the complete pathway from discovery to conversion.

Ethical SEO rejects deception, manipulation, fabricated reputation and careless data practices. Sustainable search marketing combines technical competence, audience understanding, credible content, accessibility, measurement and continuous improvement.

Key Terms

Crawling: Automated retrieval of web resources by a search-engine crawler.

Crawler: Software agent that discovers and fetches web resources.

Discovery: The process by which a search engine learns that a URL exists.

Rendering: Processing page resources and scripts to construct a representation of a page.

Index: A structured search-engine representation of processed documents and their attributes.

Indexing: The process of analysing and storing eligible page information in the index.

Canonical URL: The preferred version among duplicate or substantially similar URLs.

Robots.txt: A file containing crawler access guidance for specified URL paths.

Noindex: A directive requesting that a page not be included in a search index.

Retrieval: Selection of candidate documents that may satisfy a query.

Ranking: Ordering candidate results according to relevance and other signals.

Search intent: The underlying purpose or need represented by a search query.

Relevance: The degree to which a result addresses a query and its likely intent.

Authority: Perceived credibility, prominence or reliability of a source for a topic.

Internal link: A link connecting pages within the same website.

Structured data: Machine-readable information describing page entities and relationships.

Personalisation: Adjustment of results according to user or contextual characteristics.

Crawl budget: The practical amount and frequency of crawling allocated to a site.

Soft 404: A page that appears technically successful but communicates that requested content is absent.

Search visibility: The extent to which a site or page is eligible to appear and is seen in search results.

Review Questions

Short Answer Questions

  1. What is the difference between crawling and indexing?
  2. Why does rendering matter for JavaScript-based websites?
  3. Define search intent and provide two examples.
  4. What is the purpose of a canonical URL?
  5. Name four factors that can affect search visibility.

Long Answer Questions

  1. Explain the complete process from URL discovery to ranked search-result presentation.
  2. Discuss how relevance, authority and content quality interact in ranking.
  3. Explain why a crawled page may not be indexed.
  4. Describe how mobile-first evaluation can affect SEO implementation.
  5. Evaluate the ethical responsibilities of an SEO professional.

Analytical / Application Questions

  1. A retailer has excellent product descriptions, but its key category pages are blocked in robots.txt. Diagnose the likely visibility problem and recommend corrective actions.
  2. A local business receives many impressions but few clicks for “emergency plumber near me.” Analyse possible causes and propose tests.
  3. An international publisher has thousands of translated and parameter-based URLs. Design a practical crawling, canonicalisation and indexing plan.

Multiple Choice Questions with Answers

Question 1

Which sequence best represents the simplified search-engine process?

A. Ranking → indexing → crawling → discovery

B. Discovery → crawling → processing → indexing → retrieval and ranking

C. Indexing → discovery → ranking → rendering

D. Rendering → advertising → crawling → indexing

Correct Answer: B. Discovery → crawling → processing → indexing → retrieval and ranking

Question 2

What does a sitemap primarily provide?

A. A guarantee that every URL will rank

B. A method for forcing pages into the index

C. A discovery and URL-prioritisation signal

D. A replacement for internal linking

Correct Answer: C. A discovery and URL-prioritisation signal

Question 3

What is the main purpose of rendering?

A. To purchase advertising space

B. To interpret page resources and construct a page representation

C. To remove all duplicate URLs automatically

D. To determine a website’s legal ownership

Correct Answer: B. To interpret page resources and construct a page representation

Question 4

Which statement about crawling and indexing is correct?

A. Every crawled page must be indexed

B. Indexing always occurs before crawling

C. A page may be crawled but excluded from the index

D. Only paid pages can be indexed

Correct Answer: C. A page may be crawled but excluded from the index

Question 5

Which query most clearly represents commercial investigation intent?

A. What is photosynthesis?

B. Official university homepage

C. Best laptops for graphic design students

D. Buy printer ink online

Correct Answer: C. Best laptops for graphic design students

Question 6

What is the main role of retrieval in a search system?

A. To select candidate documents that may satisfy a query

B. To write the page’s marketing copy

C. To guarantee a featured snippet

D. To prevent all personalisation

Correct Answer: A. To select candidate documents that may satisfy a query

Question 7

Which action is most likely to improve canonical consistency?

A. Creating unlimited parameter URLs

B. Using consistent preferred URLs, redirects and canonical signals

C. Blocking every page with robots.txt

D. Repeating the same keyword in every heading

Correct Answer: B. Using consistent preferred URLs, redirects and canonical signals

Question 8

Why might search results differ for two users entering the same query?

A. Search engines never use algorithms

B. Results can reflect location, language, device and other context

C. One user must have deleted the web page

D. Ranking is determined only by page colour

Correct Answer: B. Results can reflect location, language, device and other context

Question 9

Which practice is most consistent with ethical SEO?

A. Fabricating customer reviews

B. Buying large quantities of unrelated links

C. Publishing accurate, useful content supported by credible evidence

D. Showing search engines different deceptive content from users

Correct Answer: C. Publishing accurate, useful content supported by credible evidence

Question 10

A page has strong content but its important text appears only after a failed client-side script. What is the most relevant initial concern?

A. Rendering and accessibility of the content

B. The number of office employees

C. The colour of the company logo

D. The age of the domain registration alone

Correct Answer: A. Rendering and accessibility of the content

SEO & Search Engine Marketing Essentials
Chapter 2 of 14