Hmm, I'm no expert in this area but I think you should be able to achieve it by having a root page, which is www.vespasympa.be and then you can configure the hostnames for nl and be like www.vespasymapa.be/nl and www.vespasymapa.be/fr...
so your content structure is setup like this
site - Website (NL) - page 1 - page 2 - etc. - Website (FR) - page 1 - page 2 - etc.
Hope this makes sense and that someone will correct me if I'm wrong :)
Maybe your not an expert in this matter but your advice worked well!
I configured the content tree as you suggested:
the managed hostname settings for the language nodes (nl, fr) are:
domain: localhost/nl language: Dutch (Belgium)
and
domain: localhost/fr language: French (Belgium)
Also the url rewrite in the UrlRewriting.config file, as suggested by Sebastiaan Janssens in the blogpost "the ultimate site structure setup" still seems to work:
problem with multilingual site
Hi,
Currently I'm struggling with a multilingual website (Dutch and French). My content tree looks like this:
for local development I have configured the hostname settings for the 'nl' node like this:
however, if I try to go to the home node in website I get a 404-page. What am I doing wrong?
Thanks for your help,
Anthony
This is kind of driving me crazy.
Tried to edit the hosts.htc file but no success:
127.0.0.1 localhost
127.0.0.1localhost.nl
Is it possible to have multiple domains on a local machine anyway?
thanks for your advice,
Anthony
You could simply try /nl for a hostname instead of localhost/nl. It might also be related to this: http://our.umbraco.org/forum/getting-started/installing-umbraco/28790-Multiple-multilingual-website-hostname-problem.
Jeroen
Hi Anthony
Is there any reason why you do localhost/nl instead of localhost.nl?
/Jan
@ jeroen, jan
I solved the issue like this:
set my hosts file like this:
127.0.0.1 nl.local
127.0.0.1 fr.local
I also configured the host headers in iis and I set the host names on the 'nl' and 'fr' nodes respectively to:
nl.local
language (Dutch Belgium)
fr.local
language (French Belgium)
Everything works fine.
The only thing I wonder about, if it is possible to have one domainname
eg. www.vespasympa.be/nl/home.aspx
instead of a subdomain like
www.nl.vespasympa.be/home.aspx
greetings,
Anthony
Hi Anthony
Hmm, I'm no expert in this area but I think you should be able to achieve it by having a root page, which is www.vespasympa.be and then you can configure the hostnames for nl and be like www.vespasymapa.be/nl and www.vespasymapa.be/fr...
so your content structure is setup like this
site
- Website (NL)
- page 1
- page 2
- etc.
- Website (FR)
- page 1
- page 2
- etc.
Hope this makes sense and that someone will correct me if I'm wrong :)
/Jan
Hi Jan,
Thanks for the advice, I will try it out and let you know if it works.
greetings,
Anthony
Hi Jan,
Maybe your not an expert in this matter but your advice worked well!
I configured the content tree as you suggested:
the managed hostname settings for the language nodes (nl, fr) are:
domain: localhost/nl
language: Dutch (Belgium)
and
domain: localhost/fr
language: French (Belgium)
Also the url rewrite in the UrlRewriting.config file, as suggested by Sebastiaan Janssens in the blogpost "the ultimate site structure setup" still seems to work:
virtualUrl= "^~/home$"
rewriteUrlParameter="ExcludeFromClientQueryString"
destinationUrl="~/"
ignoreCase="true"
redirect="Application"
redirectMode="Permanent" />
I wonder from an SEO perspective which is the best solution for a multilingual website. To use url's like this:
http://www.nl.vespasympa.be/home.aspx
http://www.fr.vespasympa.be/accueil.aspx ;
or to have url's like this:
http://www.vespasympa.be/nl/home.aspx
http://www.vespasympa.be/fr/accueil.aspx
Thanks for the help and advice,
Anthony
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.