index.htlm before index.php

General questions about CMSimple
Post Reply
Nicky
Posts: 164
Joined: Sun Feb 08, 2009 9:50 am
Location: Antwerp, Belgium

index.htlm before index.php

Post by Nicky » Tue Mar 26, 2013 6:08 pm

3-language site, homepage is the nl version, which is installed at the root of the server.

2 extra folders fr & nl.

Client wants - directly on www.domain.com - an opening page offering 'choose your language'.

I made this page in html, and uploaded to the server as index.html

Next step, made .htaccess file to render index.htlm before index.php

So far so good. But now the 'problem' is, when I want to offer the nl (prime) language on the index.html page, I have to put the link www.domain.com/index.php to start the cmsimple site. This works fine, but now of course all url's of the nl prime version get the extra 'index.php'.

So in fact, I have changed all URL's of the website's prime nl-version, site is online for some time and had quite good Google results. When I search Google now for this site, every page is listed, but when I click, I'm always forwarded to the 'choose language' (index.html) page.

Is there any other way to accomplish this without changing the original url's?
Thanks in advance for yr reactions.

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: index.htlm before index.php

Post by cmb » Tue Mar 26, 2013 6:35 pm

Hi Nicky,

you might consider using an intro page, i.e. the first page of the three languages is hidden and displays the language selection.

Christoph
Christoph M. Becker – Plugins for CMSimple_XH

Post Reply