subdomains and clean urls

Permalink
I'm wanting to point multiple sub-domains to one hosted site using concrete5... I have concrete5 setup to use multiple languages using internationalization.

Right now, the site works like this:

http://www.mysite.com/english/ <---- That's the English Homepage
http://www.mysite.com/spanish/ <---- That's the Spanish Homepage

I want to create sub-domains like:

en.mysite.com that points to English
sp.mysite.com that points to Spanish

The Domain Mapper is cool expect that I read that once a user clicks an internal page, the links get the added language folder back on them... So, it would show en.mydomain.com for the homepage, but then en.mydomain.com/english/otherpages

That will not work for me or search engines...

Is there any way around this? If I use modrewrite, it's still going to show the /english/ in the links...

Is this even possible?

 
ScottC replied on at Permalink Reply
ScottC
If i grant you a license to my addon,http://www.concrete5.org/marketplace/addons/url-director/... will you try to see if it would solve your use case?

I think you could probably handle this w/ it but I am curious to see if you could wrangle it to work.

Thanks and let me know.

-Scott
smphillips replied on at Permalink Reply
Hey man... I read your description on your add-on. Does it change how Concrete5 would actually link things? When someone is on the english subdomain, how would this help it to not include /english/ on the nav urls and so on?

Thanks for your help!
ScottC replied on at Permalink Reply
ScottC
It doesn't. You could like to a resource that doesn't actually exist and redirect a few times to get the session stuff set up. This was just an idea I don't really know if it is at all applicable. I figured I'd give you a license if you think it would work.
smphillips replied on at Permalink Reply
Thanks man... But, I'd have to get it to do that... Thanks for the offer though!
nteaviation replied on at Permalink Reply
nteaviation
If you have access to your apache config, could you use "Name-based Virtual Host Support"

http://httpd.apache.org/docs/2.2/vhosts/name-based.html...
jlines41 replied on at Permalink Reply
jlines41
This is a good question. Did anyone ever find a solution? Thanks!