I have been searching this forum for days already, I found out there is only one similar problem with no solution and no answer from that post. So, I decided to post my question here, if I missed anything or any threads, please let me know. Thank you all for helping.
Ok, here is my problem:
- I have a main domain, let's call http://www.maindomain.com
(files under root: /public_html); and an addon domain, http://www.addondomain.com
(files under subdirectory: /public_html/addondomain)
- My main domain has SSL installed and all addon domains that added under the main domain can share the same SSL.
- Both main domain and addon domain have already installed Joomla 1.0.X. And, the addon domain used to be handled by "forward" method, but I just changed it by using addon and after changing some settings in configuration.php and .htacess files, everything looks fine.
- Joomla SEO (Search Engine Friendly URLs: yes and htaccess.txt already rename to .htaccess) on both sites.
NOW, big problem happened when I type "https://www.addondomain.com" (or any page under addondomain.com, even /administrator will go to https://www.maindomain.com/administrator
) into browser, it will jump to "https://www.maindomain.com" (the first page of maindomain).
Does anyone know how to fix this problem? My hosting company said the problem could be at .htaccess file (redir or rewrite), but I have no clue how to fix it. If anyone has the same or similar problem before and solved, please let me know, really appreciate your help and your time. Thank you very much.