Bird
0
0

Given the permalink structure /%year%/%monthnum%/%postname%/, what would be the URL for a post titled "hello-world" published in March 2023?

medium📝 component behavior Q4 of 15
Wordpress - WordPress Settings and Configuration
Given the permalink structure /%year%/%monthnum%/%postname%/, what would be the URL for a post titled "hello-world" published in March 2023?
A/2023/03/Hello-World/
B/2023/03/hello-world/
C/23/03/hello-world/
D/2023/3/hello-world/
Step-by-Step Solution
Solution:
  1. Step 1: Understand permalink tags

    %year% outputs full year (2023), %monthnum% outputs two-digit month (03), %postname% outputs post slug in lowercase.
  2. Step 2: Construct URL with given data

    Year is 2023, month is March (03), postname is 'hello-world' lowercase.
  3. Final Answer:

    /2023/03/hello-world/ -> Option B
  4. Quick Check:

    Permalink output = /2023/03/hello-world/ [OK]
Quick Trick: Year is 4 digits, month is zero-padded two digits [OK]
Common Mistakes:
  • Using single digit month without zero
  • Capitalizing postname slug
  • Using two-digit year instead of four-digit

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Wordpress Quizzes