0
0
No-Codeknowledge~30 mins

URL structure optimization in No-Code - Mini Project: Build & Apply

Choose your learning style9 modes available
URL Structure Optimization
📖 Scenario: You are managing a website for a local bakery. You want to organize the website URLs so that visitors and search engines can easily understand the content and navigate the site.
🎯 Goal: Build a clear and simple URL structure for the bakery website that groups pages logically and uses friendly words.
📋 What You'll Learn
Create a list of main website sections as URLs
Add a variable to hold the base domain
Combine the base domain with each section to form full URLs
Add a final URL for the homepage
💡 Why This Matters
🌍 Real World
Organizing URLs clearly helps visitors find pages easily and improves search engine ranking.
💼 Career
Web developers and SEO specialists often design URL structures to make websites user-friendly and optimized for search engines.
Progress0 / 4 steps
1
Create the main website sections list
Create a list called sections with these exact entries: "about-us", "menu", "locations", "contact"
No-Code
Need a hint?

Think of the main pages your bakery website needs and list them as simple words separated by commas inside square brackets.

2
Add the base domain variable
Create a variable called base_domain and set it to the string "https://www.localbakery.com"
No-Code
Need a hint?

The base domain is the main website address. Store it as a string in a variable named base_domain.

3
Combine base domain with sections to form full URLs
Create a new list called full_urls that contains the full URLs by joining base_domain, a slash "/", and each section from sections using a list comprehension
No-Code
Need a hint?

Use a list comprehension to join the base domain and each section with a slash between them.

4
Add the homepage URL
Create a variable called homepage_url and set it to the value of base_domain (the homepage URL is just the base domain without extra paths)
No-Code
Need a hint?

The homepage URL is the main domain without any extra path. Just assign base_domain to homepage_url.