<p>Well that was easy enough.  I had forgotten about the <code>.htaccess</code> in the subfolders.  Everything works like planned now.</p>

<p><code>public/.htaccess</code> (redirects to craft.php if file doesn't exist)<br>
<code>public/index.html</code> (splash page)<br>
<code>public/craft.php</code> (craft loader)</p>

<p><code>public/fr/.htaccess</code> (redirects to index.php if file doesn't exist)<br>
<code>public/fr/index.php</code> (craft loader for french)</p>

<p><code>public/en/.htaccess</code> (redirects to index.php if file doesn't exist)<br>
<code>public/en/index.php</code> (craft loader for english)</p>

CC BY-SA 3.0
2016-05-24T17:58:55.227Z
2016-05-26T14:14:17.543Z
2016-05-26T14:14:17.543Z
Eric Chantigny
<p>I'm trying to get something working and I keep breaking my internal links doing it.</p>

<p>Here's what I'd like:</p>

<p>public/index.html (this page would be the language select screen and can be dealt with outside the cms)</p>

<p>public/fr/index.php (craft loader for french)
public/en/index.php (craft loader for english)</p>

<p>I would also like the CP to load from the root.  I thought of having it redirect to a "craft.php" page that would be the loader if the requested file doesn't exist, and it worked for the CP.  But of course, it grabs any of the calls to the site that is not fr/ or en/ only.  As soon as there's something else in the uri, it goes to 404.</p>

<p>Any idea for this one?</p>

<localization><language>
Multi-lingual site with a splash (language select screen) at the root
# Multi-lingual site with a splash (language select screen) at the root

(Asked by: username_0 on 2016-05-24)

I'm trying to get something working and I keep breaking my internal links doing it.

Here's what I'd like:

public/index.html (this page would be the language select screen and can be dealt with outside the cms)

public/fr/index.php (craft loader for french)
public/en/index.php (craft loader for english)

I would also like the CP to load from the root. I thought of having it redirect to a "craft.php" page that would be the loader if the requested file doesn't exist, and it worked for the CP. But of course, it grabs any of the calls to the site that is not fr/ or en/ only. As soon as there's something else in the uri, it goes to 404.

Any idea for this one?

**Tags:** localization, language

---

## 1 answers

### Answer by username_0 on 2016-05-24. Score: 5 | Accepted answer

Well that was easy enough. I had forgotten about the `.htaccess` in the subfolders. Everything works like planned now.

`public/.htaccess` (redirects to craft.php if file doesn't exist)  
`public/index.html` (splash page)  
`public/craft.php` (craft loader)

`public/fr/.htaccess` (redirects to index.php if file doesn't exist)  
`public/fr/index.php` (craft loader for french)

`public/en/.htaccess` (redirects to index.php if file doesn't exist)  
`public/en/index.php` (craft loader for english)


---

