I open a new folder in the content folder, let’s say “learn”.
Then I start entering my content under the “learn” folder and add “_index.md” inside this folder.
I open a “learn” folder under the “Layouts” folder and create my designs and when I enter the url “example.org/learn/” I get the result I want.
But I know that even if I add a slug value to the “_index.md” file under the “learn” folder, I cannot change the url, it is not possible.
I just wanted to explain so far, my main question is this:
I will use the “learn” folder in multiple languages and the url of this folder is “example.org/learn/”. I want to change this url to another language. If I make the folder name different, the multilingual structure cannot detect it. If I make the same name, I will not be able to change the url in the other language.
I didn’t know that! I have already translated like 100 pages and added the language prefix because I thought it is required (and because now I realize the leading slash was the cause of the URLs not working for translated pages)/