Answers.Body: <p>What you're asking for is fine. Create a subfolder within your public directory for each locale with it's own index.php and define the new path to craft/ and the locale. For example, within public_html/fr/index.php you might have:</p>
  
  <pre><code>// Path to your craft/ folder
  $craftPath = '../../craft';
  
  // Tell Craft to serve the FRENCH content
  define('CRAFT_LOCALE', 'fr');
  </code></pre>
  
  <p>With the single, you set the slug yourself within the section's settings (one slug for each locale that section is available to).</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-03-03T13:28:46.327Z
Answers.Text: Hi, thank you for your reply! I had already configured the language folders, so that wasn't the issue :) I guess I forgot to configure the single's slug in multiple languages, like you mentioned in the last paragraph of your comment. Thanks!
Answers.UserDisplayName: mdmngz
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-03-03T13:37:25.957Z
Answers.Text: Easy mistake to make.
Answers.UserDisplayName: Clive Portman
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-03-03T12:53:23.783Z
Answers.LastActivityDate: 2017-03-03T12:53:23.783Z
Answers.UserDisplayName: Clive Portman
Body: <p>How can I be able to have a single section page (so that clients can't create another one of this) that only needs 1 index.html template across different languages AND be accessible through following different slugs:</p>
  
  <ul>
  <li>x.dev/muziektoerisme</li>
  <li>x.dev/fr/tourisme-musical/</li>
  <li>x.dev/en/music-tourism/</li>
  </ul>
  
  <p>I currently have a setup similar to this one: <a href="https://craftcms.stackexchange.com/questions/1467/add-home-page-to-a-structure">Add home page to a structure?</a>, which is a structure section 'Pages' with my custom page entry type 'musictourism' under 'craft/templates/_pages/_types/' (so 'musictourism.html' sits in this folder)
  This works great, except for the fact that users are able to recreate a page of this entry type, which I don't want.</p>
  
  <p>Does my question make any sense? Or am I missing something fundamental here? :) I'm new to Craft by the way.</p>
  
  <p>Thanks in advance!</p>
  
Tags: <slug>
Title: Possible to have a single entry page with multilingual slugs and only one index.html?
ThreadText: # Possible to have a single entry page with multilingual slugs and only one index.html?
  
  (Asked by: username_0 on 2017-03-03)
  
  How can I be able to have a single section page (so that clients can't create another one of this) that only needs 1 index.html template across different languages AND be accessible through following different slugs:
  
  * x.dev/muziektoerisme
  * x.dev/fr/tourisme-musical/
  * x.dev/en/music-tourism/
  
  I currently have a setup similar to this one: [Add home page to a structure?](https://craftcms.stackexchange.com/questions/1467/add-home-page-to-a-structure), which is a structure section 'Pages' with my custom page entry type 'musictourism' under 'craft/templates/\_pages/\_types/' (so 'musictourism.html' sits in this folder)
  This works great, except for the fact that users are able to recreate a page of this entry type, which I don't want.
  
  Does my question make any sense? Or am I missing something fundamental here? :) I'm new to Craft by the way.
  
  Thanks in advance!
  
  **Tags:** slug
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2017-03-03. Score: 1 | Accepted answer
  
  What you're asking for is fine. Create a subfolder within your public directory for each locale with it's own index.php and define the new path to craft/ and the locale. For example, within public\_html/fr/index.php you might have:
  
  ```
  // Path to your craft/ folder
  $craftPath = '../../craft';
  
  // Tell Craft to serve the FRENCH content
  define('CRAFT_LOCALE', 'fr');
  
  ```
  
  With the single, you set the slug yourself within the section's settings (one slug for each locale that section is available to).
  
  > **Comments:**
  > **username_0**: Hi, thank you for your reply! I had already configured the language folders, so that wasn't the issue :) I guess I forgot to configure the single's slug in multiple languages, like you mentioned in the last paragraph of your comment. Thanks!  
  > **username_1**: Easy mistake to make.  
  
  ---
  
  