📖 Scenario: You are managing a website with multiple pages. To help visitors and search engines find important pages easily, you want to create a clear internal link structure.
🎯 Goal: Build a simple internal link architecture by defining pages, setting a main page, linking related pages, and adding navigation links.
📋 What You'll Learn
Create a list of page names with exact titles
Define a main page variable with the exact page name
Create a dictionary linking each page to its related pages
Add navigation links to each page using the link structure
💡 Why This Matters
🌍 Real World
Websites use internal link architecture to help users find content easily and improve search engine rankings.
💼 Career
SEO specialists and web developers design internal links to improve site navigation and search visibility.
Progress0 / 4 steps
1
Create the list of pages
Create a list called pages containing these exact page names as strings: 'Home', 'About', 'Services', 'Blog', 'Contact'.
SEO Fundamentals
Hint
Use square brackets to create a list and include all page names as strings separated by commas.
2
Define the main page
Create a variable called main_page and set it to the string 'Home'.
SEO Fundamentals
Hint
Assign the string 'Home' to the variable main_page.
3
Create the link structure
Create a dictionary called links where each key is a page name from pages and the value is a list of pages it links to. Use these exact links: 'Home' links to 'About' and 'Services'; 'About' links to 'Home' and 'Contact'; 'Services' links to 'Home' and 'Blog'; 'Blog' links to 'Services' and 'Contact'; 'Contact' links to 'Home'.
SEO Fundamentals
Hint
Use curly braces to create a dictionary. Each key is a page name string, and each value is a list of linked page names.
4
Add navigation links to pages
Create a dictionary called navigation where each key is a page name and the value is a string listing its linked pages separated by commas. Use the links dictionary to build these strings exactly as shown in step 3.
SEO Fundamentals
Hint
Use a dictionary comprehension to create navigation. Join the linked pages with commas for each page.
Practice
(1/5)
1. What is the main purpose of internal link architecture on a website?
easy
A. To organize website pages and help visitors find content easily
B. To increase the number of external backlinks
C. To improve website loading speed
D. To create advertisements on the site
Solution
Step 1: Understand the role of internal links
Internal links connect pages within the same website to organize content.
Step 2: Identify the main goal of internal link architecture
It helps visitors and search engines find important pages easily by clear navigation.
Final Answer:
To organize website pages and help visitors find content easily -> Option A
Quick Check:
Internal link architecture = Organize pages and aid navigation [OK]
Hint: Internal links connect pages inside your site for easy navigation [OK]
Common Mistakes:
Confusing internal links with external backlinks
Thinking internal links speed up the website
Assuming internal links are for ads or promotions
2. Which of the following is the correct way to create an internal link in HTML?
easy
A. <a href='/about-us'>About Us</a>
B. <a href='https://external.com'>Link</a>
C. <link rel='stylesheet' href='/style.css'>
D. <img src='/images/logo.png'>
Solution
Step 1: Identify internal link syntax
Internal links use the <a> tag with a relative URL starting with '/' for same-site pages.
Step 2: Check each option
<a href='/about-us'>About Us</a> uses <a href='/about-us'>, which is a correct internal link. <a href='https://external.com'>Link</a> links externally, C is for stylesheets, D is an image tag.
Final Answer:
<a href='/about-us'>About Us</a> -> Option A
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. Consider a website with pages: Home, About, Services, Contact. If the internal link architecture links Home to About and Services, and Services links to Contact, which page is the most important for search engines?
medium
A. Contact
B. Home
C. Services
D. About
Solution
Step 1: Analyze link structure
Home links to About and Services, Services links to Contact. Home has the most direct links to other pages.
Step 2: Understand importance in internal linking
Pages with more internal links pointing to them or linking out are seen as more important. Home is the main hub here.
Final Answer:
Home -> Option B
Quick Check:
Most linked page = Home [OK]
Hint: Main hub page with most links is most important [OK]
Common Mistakes:
Choosing pages with fewer links as most important
Ignoring the direction of links
Assuming Contact is most important because it's last
4. A website has many pages but only links from the homepage to a few pages. What is the main problem with this internal link architecture?
medium
A. External backlinks will decrease
B. The homepage will load very slowly
C. Search engines may not find or rank all pages well
D. Users will see duplicate content
Solution
Step 1: Identify issue with limited internal links
If only a few pages are linked from the homepage, many pages remain isolated or hard to find.
Step 2: Understand impact on search engines
Search engines rely on internal links to discover and rank pages. Poor linking means some pages may be ignored or ranked lower.
Final Answer:
Search engines may not find or rank all pages well -> Option C
Quick Check:
Limited links = poor page discovery [OK]
Hint: All pages need links to be found by search engines [OK]
Common Mistakes:
Thinking homepage speed is affected by links
Confusing internal linking with duplicate content
Assuming external backlinks depend on internal links
5. You want to improve your website's internal link architecture to boost SEO. Which strategy is best?
hard
A. Remove all internal links to reduce page clutter
B. Add many links with generic text like 'click here' on every page
C. Link only to external websites to increase authority
D. Add clear, descriptive links from high-traffic pages to important but less visible pages
Good internal linking uses clear, descriptive links placed on pages with high traffic to guide visitors and search engines.
Step 2: Evaluate options
Add clear, descriptive links from high-traffic pages to important but less visible pages improves visibility of important pages. Add many links with generic text like 'click here' on every page uses poor link text. Link only to external websites to increase authority focuses on external links, not internal. Remove all internal links to reduce page clutter removes helpful links.
Final Answer:
Add clear, descriptive links from high-traffic pages to important but less visible pages -> Option D
Quick Check:
Descriptive links on key pages = better SEO [OK]
Hint: Use clear links from popular pages to important pages [OK]
Common Mistakes:
Using vague link text like 'click here'
Focusing only on external links
Removing internal links thinking it helps SEO
Recommended
Ready to prove it?
Pass the test and this pattern moves unknownstrongwhile earning +1 Grip toward your certificate.