Codeigniter, multiple domains - codeigniter

I am building a multi-language site with english and french. The site is made so that my default controller is /en and the french site entry controller will be at /fr.
The problem is that the french site will have a different domain, will that be a problem to point the french domain to the /fr controller ?

No, it shouldn't be. If you have 2 domains then it's best if you "hide" the /fr and /en part from the URI (using .htaccess), otherwise you'll end up with domain.com/en and domain.fr/fr.
Here's an interesting article on this topic: http://googlewebmastercentral.blogspot.nl/2010/03/working-with-multi-regional-websites.html

Related

difference between using a locale as a subpath, subdomain and not

I've seen many websites use subpath or subdomain for the locale.
eg. Apple, Samsung, etc...
At the same time, I've seen many websites without locale.
They don't use any subpath or subdomain for a locale.
eg. Twitch, Twitter and Instagram
I wonder why someone uses a subpath for the locale, and someone doesn't use it.

magento - HTTPS on frontend with all pages

I have Magento 1.9.2.0.
With this version, enabling SSL only works with account pages, and order pages.
BTW it is funny the english text in system configuration only says
"Use Secure URLs in Frontend" Yes/No
but the french translation is more explicit:
"Utiliser des URLs sécurisées pour le front office (mon compte et passage de commande)"
the part between brackets means "my account and order pages".
is there any workaround to apply HTTPS everywhere?
I had a look to the way the menu is displayed, it leverages this from the Core:
this->getUrlModel()->getCategoryUrl($this)
this does not take into account whether SSL is required or not, that also confirms the limitation.
I might need to override this method at least for the menu.
and then I need to do the same for links to other pages (product detail etc...)
is this feature only part to magento 2.0?
thanks,
Rod
note: of course a htaccess redirection is NOT the solution I am looking at.
First Goto systems->Configuration->General->Web->unsecure and secure->base URL put https://www.yourdomain.com / in both first try only with secure and SSL should be SSL_OFFLOADED if its work then don't change unsecured URL if not then you need to change both base URL
Unfortunately this is the expected behavior, to have the site serve over https protocol you can set the base secure and base unsecure urls to https://yourdomain.com/

Magento: StoreView URL redirect for multiple languages?

In my store I have got 2 languages, English (default) and German. I also have a category, lets call it other.
The url key for other is other and sonstiges for the German view. Now, when I send somebody a link to the German view (www.example.com/sonstiges.html), it generates a 404 not found until I select German as language. Afterwards it works when the link is clicked.
I removed the store view code from my url by the way, it has to stay that way.
Why is that and how can I change it?
Thanks!
Its happening for url rewrite problem.
Example : For product if you provide different url key for different store view like different url key for English and different url key for German then if you share the url from english site and if someone open in German view then he will get 404 not found.
Solution : Go to that particular product in the admin then switch store view and set same url key for both store view. Either dont provide url key for any store view so Magento will generate by own.
Thanks .

Refinerycms multiple languages dependent on TLD

I want to create a website with the refinerycms and now I have a question.
I have 4 domains for my website.
mydomain.at
mydomain.de
mydomain.ch
mydomain.com
In the beginning there only will be a german translation.
Now my question:
Option 1:
I do a redirect to mydomain.com and "map" the domains to:
mydomain.com/de-at
mydomain.com/de-de
mydomain.com/de-ch
dependent on the country where the website is called.
Option 2:
I do not make a redirect an just show the content in the TLD. I just do a redirect dependent on the country, where the website is called.
For example website gets called in Germany over mydomain.at => I will redirect to mydomain.de
Now my question: How could I implement one of these options within the scope of the refinerycms?
I know the refinerycms-i18n gem and I also know the frontend locales and the normal "stuff". But I did not find anything about "multiple-same-languages" like "de-at", "de-de" and "de-ch". Because in the end all these translations are only one german translation, but the customer wants to specify the "sub-language" to make it more personal..
Anybody an idea?

joomla site with regional differences

I have a Joomla site which is based in one country (US). We've been tasked to create a UK/GB version of the site which has it's own domain, but shares the same common pages/posts/backend. About 75% of the pages are the same on both versions but there will be a few sections (like About and Contact) where they are different to account for regional differences.
Example
US site (www.example.com) has
Home About Services Contact UK Site (www.example.co.uk) has 3 pages
(2 different, 1 the same)
Home (The same as US, but the URL should be www.example.co.uk) About
(Different content, the URL should be www.example.co.uk/about)
Services (The same as US, but URL should be
www.example.co.uk/services) Contact (Different content, the URL
should be www.example.co.uk/contact)
How do I go about setting up the UK/GB version of the site which use the same backend and most of the same content from the base site, but has a few page differences and different domain?
I think you should somehow rely on the multilingual feature of Joomla! (http://multilingual-joomla-demo.cloudaccess.net/multi-lingual-steps-by-steps.html)
Define for example languages for US / UK. Pages that are identical for both, just leave the language setting to "All".
For the rest specify the language.
Hope this helps.

Resources