Chapter 3: Building an SEO Friendly Website

The SEO process starts with building your website as it should be optimized, so the search spiders can crawl it and index its content once it is published on the Internet. The SEO preparation steps include creating the website structure, ensuring easy crawling, establishing the correct links hierarchy, and avoiding any errors that might prevent search engine indexing.


Plan for an Optimized Website

Create a Website Sitemap

Create a Robots.txt File

Using the Nofollow Attribute

Build an .htaccess File

Protect Website Images with .htaccess

Redirect Non-WWW Traffic to WWW

Work with 301 Redirects

Get Teach Yourself VISUALLY Search Engine Optimization (SEO) now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.