Welcome Guest, Not a member yet? Register   Sign In
language subdomains
#7

Those first two in the Config class itself don't matter. One's just a comment, the other is the form definition.

Calendar.php (which we don't appear to be using) just makes links, so it should be fine.

Javascript/Jquery.php (which we also don't appear to be using) -- it's not clear whether this will be affected or not. We don't appear to be using this either.

html_helper.php -- We also don't appear to be using this. Looking at the source, I don't think this would be broken either *as long as* our images and javascript and so on will still be accessible under their language domain. E.g., if some image like www.example.com/images/my-image.jpg can also be accessed at es.example.com/images/my-image.jpg then we should be fine. **There may be SEO considerations** because we might have multiple URLs for the same resource.

form_helper.php -- the site_url function is only used in here to set an action attribute for a form -- this probably should work as expected. If you're viewing en.example.com, you want the form to post to en.example.com.

url_helper.php -- not 100% certain, but the actions in here like redirect, current_url, anchor, and anchor_popup all seem like they should work fine too.
Reply


Messages In This Thread
language subdomains - by sneakyimp - 11-18-2017, 12:42 PM
RE: language subdomains - by Kaosweaver - 11-20-2017, 05:53 AM
RE: language subdomains - by Narf - 11-20-2017, 06:31 AM
RE: language subdomains - by Kaosweaver - 11-20-2017, 09:56 AM
RE: language subdomains - by sneakyimp - 11-21-2017, 11:17 AM
RE: language subdomains - by sneakyimp - 11-22-2017, 12:17 PM
RE: language subdomains - by sneakyimp - 11-22-2017, 02:39 PM
RE: language subdomains - by Kaosweaver - 11-24-2017, 08:12 AM
RE: language subdomains - by myhanet - 12-07-2017, 04:05 PM



Theme © iAndrew 2016 - Forum software by © MyBB