درباره این اپیزود
Construct URL hierarchies using hyphenated keywords to signal site relevance to search engines. Implement 301 redirects to eliminate accidental content duplication between www and non-www variants.
Learning Objective: By the end of this lesson, learners will be able to apply keyword-rich URL structures and 301 redirect protocols to prevent content duplication.
Transcript Keyword Selection and Hyphenation RulesWhen you build a URL, the first move is selecting keywords that match the specific section of the site. You are not just naming a file; you are declaring what that part of the site is about to the search engine.
Take the example structure: sitename.com/widget-catalog/aquatic-widgets/underwater-submersible.html. Notice how each part of the path carries its own relevance. The domain sets the brand, the first directory names the broad category, and the filename identifies the specific product. This layered approach lets the engine understand the hierarchy instantly.
The rule for separating these keywords is simple: always use hyphens. Whether you are dealing with a multi-keyword domain or a filename, the hyphen is the standard separator. It tells the parser where one word ends and the next begins, which underscores are not guaranteed to do.
Keep the filename focused. Avoid stuffing too many keywords into a single name, as it dilutes the signal. A clear, concise filename like "underwater-submersible.html" is far more effective than a long, cluttered string.
If you are starting from scratch and branding allows, try to get a domain with one or two relevant keywords. Even if you can't, the hyphenation rule still applies to any multi-word domain you choose.
This foundation of keyword selection and hyphenation sets the stage for the directory structure that follows.
Key Points:
Use keywords in the URL structure that are relevant to the specific section of the site.
Separate keywords with hyphens (-) in both filenames and multi-keyword domains.
Avoid using too many keywords in a single filename to maintain clarity.
Example structure: sitename.com/widget-catalog/aquatic-widgets/underwater-submersible.html.
Search engines map your site’s hierarchy directly from the directory structure, so the placement of folders dictates how they understand your content. You need to place the most important directories at the top of the architecture, ensuring that the primary categories sit closest to the domain root. Keep the structure simple, and avoid having extraneous files in the directory structure at all costs, because every unnecessary path adds noise to the signal.
One major trap is the Content Management System automatically inserting sub-directories into your URLs. You must prevent the CMS from doing this if possible, as these hidden layers dilute the relevance of the entire site. The directory structure critically influences how link popularity is distributed throughout the site, meaning a clean, shallow hierarchy concentrates that authority where it matters most.
With a streamlined, keyword-focused hierarchy established, the next step is ensuring that both the www and non-www versions of your site point to the same canonical address.
Key Points:
Place the most important directories at the top of the site architecture.
Keep the structure simple and avoid extraneous files in the directory structure.
Prevent the CMS from automatically inserting sub-directories to avoid diluting site relevance.
Recognize that directory structure critically influences how link popularity is distributed.
The first concrete move is setting up a three-oh-one moved permanently redirect from the non-www address to the www version of your site. This step prevents accidental content duplication, which happens when a server resolves the same page with and without the www prefix. Search engines, particularly Yahoo, may index content at both URLs, treating them as distinct pages rather than duplicates.
This duplication condition tends to propagate when a third party links to your site without the www, or when your internal architecture uses dynamic link structures that omit the prefix. You mitigate these risks by establishing a single canonical source. The three-oh-one redirect is the only acceptable redirect type for search engine purposes, ensuring that link equity flows to one specific location.
When you implement this, you are applying the three-oh-one moved permanently status code to map old URLs to new ones on a one-to-one basis. This precise mapping preserves the relevance you built in your directory hierarchy.
Key Points:
Set up 301 Moved permanently redirects from http://site-in-question.com to http://www.site-in-question.com.
Prevent accidental content duplication when a site resolves with and without www.
Mitigate propagation risks caused by third-party links without www or dynamic link structures.
Ensure the 301 redirect is the only acceptable redirect type for search engine purposes.
[0.00s] Think about the moment you swap out your content management system. That change almost always forces every single URL to shift, which puts your entire site architecture at risk. Your first move is to preserve as many old URLs as possible, because keeping the existing structure intact saves you from a massive cleanup later.
[4.20s] But when URL changes are truly inevitable, you have to manage the transition carefully. You assign a status code of three-oh-one Moved permanently to every old URL, which tells search engines that the content has moved for good. This specific status code is the only acceptable redirect type for search engine purposes, so you never use temporary redirects here.
[12.60s] The mapping itself demands strict discipline. You execute redirects on a strict one-to-one basis from old URLs to new URLs, ensuring that no single old link points to multiple new destinations. This precision prevents link popularity from getting diluted or lost in the shuffle.
[20.40s] You also need to check your site’s taxonomy during this transition. Keyword targets must be reflected in the site's taxonomy, which means you avoid jargon that doesn’t match user search behavior. If you are selling widgets, you don’t call the product list just "catalog." You call it "Widget catalog."
[32.20s] This naming choice makes the whole site more relevant for the products being sold. It ties directly back to the initial goal of building keyword-rich structures. When you combine careful URL preservation, proper three-oh-one redirects, and precise taxonomy, you create a stable foundation. This is how you ensure your site remains visible and relevant, even as the underlying technology changes.
[48.00s] So the next time you plan a system migration, remember that the URLs are part of your strategy, not just technical details. Treat them with the same care you give to your content.
Key Points:
Preserve as many old URLs as possible when replacing a CMS.
If URL changes are inevitable, assign a status code of 301 Moved permanently to old URLs.
Execute redirects on a strict one-to-one basis from old URLs to new URLs.
Reflect keyword targets in the site's taxonomy to avoid jargon (e.g., use 'Widget catalog' not 'catalog').