![]() |
|
Dynamic Locale Subdomains - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: Plugins (https://forum.zenphoto.org/forum-6.html) +--- Thread: Dynamic Locale Subdomains (/thread-12085.html) |
Dynamic Locale Subdomains - Ralf - 14-01-2015 Hi, Here is my problem: I have created a subdomain which is only possible without the www. After enabling the subdomain feature in the dynamic-locale plugin, zenphoto tries to reach: 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 Dynamic Locale Subdomains - acrylian - 14-01-2015 How do you do the redirection from www to non www, via your host's backend or via htaccess? Btw, to clarify Dynamic Locale Subdomains - Ralf - 14-01-2015 Hi Acrylian, Dynamic Locale Subdomains - acrylian - 14-01-2015 I will have to try on my own host tomorrow. Has been a while I did. Dynamic Locale Subdomains - Ralf - 14-01-2015 Hi, thanks a lot. If possible the english version should be redirected to en.ralf-kerkhoff.de - just without the wwww. Ralf Dynamic Locale Subdomains - Ralf - 14-01-2015 Hi, thanks a lot. If possible the english version should be redirected to en.ralf-kerkhoff.de - just without the wwww. Ralf Dynamic Locale Subdomains - Ralf - 14-01-2015 Me again, maybe i have misinterpreted the instructions... I have created a subdomain including the www, which means the subdomain is Was this the 'trick' or is there something else to change? Ralf Dynamic Locale Subdomains - acrylian - 14-01-2015 You actually created a subdomain named [i]en.www[/i] instead of [i]en[/i] now. Since [i]www[/i] is a subdomain itself already you don't need it at all. http://de.wikipedia.org/wiki/Domain_(Internet)#Aufbau_und_Regeln Dynamic Locale Subdomains - Ralf - 16-01-2015 HI Acrylian, 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 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: So I need two subdomains for the english 'version': Until now I see only one chance to avoid two 'en' subdomains: Dynamic Locale Subdomains - acrylian - 16-01-2015 I try again: [list] Dynamic Locale Subdomains - Ralf - 16-01-2015 Hi, and thats exactly the problem I have. If I delete the subdomain named en.www. I end with a 404 error. So my guess for a solution was: Dynamic Locale Subdomains - acrylian - 16-01-2015 Must be something specific to your server/host. Actually the www to the non www address redirection should not affect other subdomains at all. |