Bird
0
0

Given the permalink structure /%category%/%postname%/, what would be the URL for a post titled "Summer Tips" in the "Travel" category?

medium📝 component behavior Q13 of 15
Wordpress - WordPress Settings and Configuration
Given the permalink structure /%category%/%postname%/, what would be the URL for a post titled "Summer Tips" in the "Travel" category?
A/travel/summer-tips/
B/summer-tips/travel/
C/category/travel/summer-tips/
D/travel/category/summer-tips/
Step-by-Step Solution
Solution:
  1. Step 1: Understand the structure tags

    The structure /%category%/%postname%/ means the URL starts with the category slug, then the post slug.
  2. Step 2: Apply to given post and category

    Category "Travel" becomes "travel" and post "Summer Tips" becomes "summer-tips". So URL is /travel/summer-tips/.
  3. Final Answer:

    /travel/summer-tips/ -> Option A
  4. Quick Check:

    Category + postname = /travel/summer-tips/ [OK]
Quick Trick: Category comes first, then postname in this structure [OK]
Common Mistakes:
  • Swapping category and postname order
  • Adding extra words like 'category' in URL
  • Using capital letters in URL slugs

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Wordpress Quizzes