Hi,
after setting up my site english/german I tried to use the Subdomain feature.
Here is my problem:
My main site is:
www.ralf-kerkhoff.de
I have created a subdomain which is only possible without the www.
So the subdomain is:
en.ralf-kerkhoff
After enabling the subdomain feature in the dynamic-locale plugin, zenphoto tries to reach:
en.www.ralf-kerkhoff.de
Any suggestions to get rid of the www? - Except that I redirect www.ralf-kerkhoff.de to ralf-kerkhoff.de
Is there something to add to the htaccess - I am using the original one generated during installation.
Cheers
Ralf
Comments
Btw, to clarify `www` is a subdomain as `en` is. That it is used everywhere is actually a kind of legacy.
via the host backend.
thanks a lot.
As said my desired solution would be not to redirect www.ralf-kerkhoff.de to ralf-kerkhoff.de.
If possible the english version should be redirected to en.ralf-kerkhoff.de - just without the wwww.
Ralf
thanks a lot.
As said my desired solution would be not to redirect www.ralf-kerkhoff.de to ralf-kerkhoff.de.
If possible the english version should be redirected to en.ralf-kerkhoff.de - just without the wwww.
Ralf
maybe i have misinterpreted the instructions...
I have created a subdomain including the www, which means the subdomain is
en.www so the whole subdomain is:
en.www.ralf-kerkhoff.de
Was this the 'trick' or is there something else to change?
Ralf
to be honest I dont understand the part 'you dont need it at all'...
If i am right, www.ralf-kerkhoff.de is a subdomain of ralf-kerkhoff.de
Both of this domains are pointing to the directory where zenphoto is installed in.
If I open the domain ralf.kerkhoff, the english flag points to en.ralf-kerkhoff.de
Doing so with www.ralf-kerkhoff the english site is:
en.www.ralf-kerkhoff.de
So I need two subdomains for the english 'version':
en.www.ralf-kerkhoff.de
en.ralf-kerkhoff.de
Until now I see only one chance to avoid two 'en' subdomains:
Either redirect www.ralf-kerkhoff.de to ralf-kerkhoff.de or vice versa.
Just wondering what might be the most elegant and seo friendyl way...
`www.ralf-kerkoff.de` => subdomain named "www" - the usage of the "www" was actually never really needed but people are still used to for "www" meaning "world wide web". Both the www to non www are technically both addresses are completely independent. You do the redirection basically for search engines so one domain is the "main" one to avoid "duplicated content"
and thats exactly the problem I have.
When I open my site with the www Zenphoto tries to reach the english site:
en.www.ralf-kerkhoff.de
If I delete the subdomain named en.www. I end with a 404 error.
So my guess for a solution was:
redirect wwww.ralf-kerkhoff to ralf-kerkhoff
This way I only need the en.ralf-kerkhoff for the english part.