Blog URL String SOP

Blog URL String SOP

1. Create the Desired Categories

  • Navigate to Posts → Categories in your WordPress dashboard.
  • Add a new category that fits your content, such as “News” or others:
  • Enter the Name (e.g., “News”).
  • Add a Slug (e.g., “news”). This will be the URL-friendly version of the category name. Optionally, select a parent category if this is a subcategory.
  • Click Add New Category.

2. Assign Categories to Posts

  • Go to Posts → All Posts.
  • Locate the posts you want to categorise under “News” or other categories.
  • Hover over a post and click Edit.
  • In the Categories box (usually on the right-hand side or below the content editor), select the appropriate category (e.g., “News”).
  • Click Update or Publish to save the changes.

3. Update Permalink Settings

  • Go to Settings → Permalinks.
  • Under Common Settings, select Custom Structure.
  • In the custom structure box, enter the following format: /resources/%category%/%postname%/

  • %category%: Dynamically includes the category slug in the URL.
  • %postname%: Dynamically includes the post slug (post title).

  • Click Save Changes to apply the new permalink structure.

4. Verify and Test

  • Visit posts on your site that you’ve assigned to categories (e.g., a “News” post).
  • Confirm that the URLs now reflect the updated structure, such as: /resources/news/post-name/.
  • Test multiple categories to ensure consistency.