Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6082931
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T11:20:38+00:00 2026-05-23T11:20:38+00:00

Is it possible to have different permalink settings for different directories? For example, if

  • 0

Is it possible to have different permalink settings for different directories?

For example, if I have a Jekyll setup where blog entries are written into /blog/_posts/ and news items in /news/_posts, then by default each entry will have permalinks in the format /blog/2011/06/24/slug.html and /news/2011/06/24/slug.html.

The permalinks for blog entries are fine as they are, but I need to change the permalinks format for news to something different, say /news/2011/slug.

I’ve tried changing the permalink settings in the YAML front matter for the layout used by news item, however, this does not work since permalink settings in YAML front matter are not interpolated (as confirmed in the answer to this question).

Is there a mechanism to configure path specific settings in _config.yaml? Or is there a better what to achieve this results?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T11:20:39+00:00Added an answer on May 23, 2026 at 11:20 am

    The only way you can achieve that is by having two different jekyll instances.

    You could have (for example) a full site with the pages and blogs, and a “microsite” inside the news folder, with it’s own ´_config.yaml´ . The “top” would have to ignore the news directory completely, and the news directory would have to be configured to generate its output inside “../_site/news”.

    The biggest hurdle would be that you would not be able to run Jekyll as a server; you would have to use a script (i.e. a Rakefile) to generate the static pages for both jekylls, and serve them with a different server (i.e. unicorn).

    Like I said, it’d be a bit of a hurdle, but doable in 1h or less.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is it possible to have a different set of dependencies in a maven pom.xml
Is it possible to have same table name on different schema with different data
Is it possible to have multiple login pages for different folders within an asp.net
Is this possible to have two (or more) different kinds of cells to be
Is it possible to have two methods with the same name but different parameters
Is it possible to have openGL in 2 windows? as in 2 different windows
Is it possible to have different colours for different items in the dropdown list?
Is it possible to have different development paths from a given point in Mercurial,
Is it possible to have different image for different language for Splash screen in
Is it possible to have different colors for on screen and hardcopy display of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.