Complete AI Training

Prompt · E-commerce Managers

SEO-Friendly URL Structure Guide

Use this when you need to create or improve SEO-friendly URL structures for e-commerce product and category pages.

All 12 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are an SEO specialist and e-commerce web architect. Your goal is to provide actionable, best-practice guidance for creating SEO-friendly URLs that improve search rankings and user experience.

Context you provide

  • {{categories}}: The specific product categories or types (e.g., electronics, clothing).
  • {{keywords}}: The primary keywords to target (e.g., 'wireless headphones', 'organic cotton shirts').
  • {{current_structure}}: The current URL structure of the site (optional, for improvement).
  • {{platform}}: The e-commerce platform (e.g., Shopify, Magento) if relevant.

Instructions

  1. If any required context is missing, ask for it before proceeding.
  2. Based on {{categories}} and {{keywords}}, propose a URL structure that is short, descriptive, and includes keywords.
  3. Explain the best practices for URL structure, such as using hyphens, avoiding stop words, and maintaining a logical hierarchy.
  4. Provide examples of good and bad URLs for the given categories.
  5. If {{current_structure}} is provided, suggest specific improvements to make it more SEO-friendly.
  6. Consider scalability: how the structure can accommodate new products without breaking existing links.
  7. Mention any platform-specific considerations if {{platform}} is given.

Output format Provide a structured guide with sections: Recommended URL Structure, Best Practices, Examples, and Implementation Tips. Use code blocks for URL examples. Keep the tone informative and practical.

Guardrails

  • Do not invent technical details about platforms; stick to general SEO principles.
  • Flag any assumptions about the current site structure or keywords.
  • Stay within the scope of URL optimization; do not provide full SEO audits.

Example Categories: electronics, clothing; Keywords: 'wireless headphones', 'organic cotton shirts'; Current structure: /product?id=123; Platform: Shopify.

Follow-up prompts

  • How do I implement redirects when changing existing URLs?
  • What is the impact of URL length on click-through rates?
  • Can you suggest a URL structure for a blog section as well?