Function getLanguage() works on .de but not on .com domain?
Did I forgot sth. right in the code?
Joomla Stack Exchange is a question and answer site for Joomla! administrators, users, developers and designers. It only takes a minute to sign up.Sign up to join this community
I'm going to write this as an answer to I can go into further detail and explain things clearly :)
Ok so you have 2 websites:
It appears that the
.de domain is your primary website. So, then you go to the
.com website, it will either redirect to the
.de website or simply display the website.
If you navigate to www.example.com/administrator, again, it should either redirect or not. If it doesn't then they are most likely 2 different websites.
So far you should be able to tell us what happens when you view the
Assuming there is no redirect, go your your File Manager (hosting cpanel or FTP) and you will see the files/folders for your Joomla site. You may also see a sub-folder with a separate Joomla installation side it. If you do then you will also need to import the API from this sub-folder too.