Jump into concepts and practice - no test required
or
Recommended
Test this pattern10 questions across easy, medium, and hard to know if this pattern is strong
Internal Linking Strategy
📖 Scenario: You are managing a website with multiple pages about gardening tips. You want to improve how these pages link to each other to help visitors find related information easily and to help search engines understand your site better.
🎯 Goal: Build a simple internal linking plan that connects related pages using clear link text and a logical structure.
📋 What You'll Learn
Create a list of page titles with their URLs
Define a main topic page to link from
Create a linking plan that connects related pages with descriptive link text
Add a final note on the importance of internal linking for user experience and SEO
💡 Why This Matters
🌍 Real World
Internal linking helps website visitors find related content easily and helps search engines understand the structure and importance of pages.
💼 Career
SEO specialists and web content managers use internal linking strategies to improve website usability and search engine rankings.
Progress0 / 4 steps
1
Create the list of pages
Create a list called pages with these exact entries as dictionaries: {'title': 'Home', 'url': '/home'}, {'title': 'Gardening Basics', 'url': '/gardening-basics'}, {'title': 'Plant Care', 'url': '/plant-care'}, {'title': 'Pest Control', 'url': '/pest-control'}, and {'title': 'Garden Tools', 'url': '/garden-tools'}.
SEO Fundamentals
Hint
Use a list of dictionaries where each dictionary has keys 'title' and 'url'.
2
Define the main topic page
Create a variable called main_page and set it to the dictionary representing the page with title 'Gardening Basics' from the pages list.
SEO Fundamentals
Hint
Use a generator expression with next() to find the page with the title 'Gardening Basics'.
3
Create the internal linking plan
Create a dictionary called internal_links where the key is main_page['url'] and the value is a list of dictionaries. Each dictionary in the list should have keys 'link_text' and 'target_url'. Add links from the main page to the pages with titles 'Plant Care', 'Pest Control', and 'Garden Tools' using their titles as link_text and their URLs as target_url.
SEO Fundamentals
Hint
Use the main page URL as the key and a list of link dictionaries as the value.
4
Add a final note on internal linking importance
Create a string variable called note with this exact text: 'Internal linking helps users navigate your site and improves SEO by distributing page authority.'
SEO Fundamentals
Hint
Assign the exact text to the variable note.
Practice
(1/5)
1. What is the main purpose of an internal linking strategy on a website?
easy
A. To add more images to the website
B. To increase the number of external backlinks
C. To improve website loading speed
D. To help visitors and search engines navigate the website easily
Solution
Step 1: Understand internal linking purpose
Internal linking connects pages within the same website to guide users and search engines.
Step 2: Identify correct purpose from options
Only To help visitors and search engines navigate the website easily mentions helping visitors and search engines navigate, which matches the purpose.
Final Answer:
To help visitors and search engines navigate the website easily -> Option D
Quick Check:
Internal linking = navigation aid [OK]
Hint: Internal links connect pages inside your site for easy navigation [OK]
Common Mistakes:
Confusing internal links with external backlinks
Thinking internal links improve loading speed
Believing internal links add images
2. Which of the following is the correct way to create an internal link in HTML?
easy
A. <a href='https://external.com'>Link</a>
B. <img src='/images/logo.png'>
C. <a href='/about-us'>About Us</a>
D. <link rel='stylesheet' href='/style.css'>
Solution
Step 1: Identify internal link syntax
Internal links use anchor tags with href pointing to a path within the same site, like '/about-us'.
Step 2: Check options for correct internal link
<a href='/about-us'>About Us</a> uses <a> tag with a relative URL, which is correct for internal linking.
Final Answer:
<a href='/about-us'>About Us</a> -> Option C
Quick Check:
Internal link = <a href='/page'> [OK]
Hint: Internal links use <a> with relative URLs starting with '/' [OK]
Common Mistakes:
Using full external URLs for internal links
Confusing <link> tag with <a> tag
Using image tags instead of anchor tags for links
3. If a website has a homepage linking to 3 category pages, and each category page links to 5 product pages, how many internal links are there from the homepage and category pages combined?
medium
A. 3 links from homepage + 15 links from categories = 18 links
B. 5 links from homepage + 3 links from categories = 8 links
C. 3 links from homepage + 5 links from categories = 8 links
D. 15 links from homepage + 3 links from categories = 18 links
Solution
Step 1: Count links from homepage
Homepage links to 3 category pages, so 3 links.
Step 2: Count links from category pages
Each of 3 category pages links to 5 product pages, so 3 x 5 = 15 links.