Quote:
Originally Posted by KW802
Some code that I am using in the vBa CMPS index.php script to identify the domain and then to specify a different default home page per domain as needed. Essentially I created a home page for each of my additional domains, modified them with their own copies of the vBa modules, etc. so that the content shown on each page is unique to the corresponding domain, and then did a little bit of code in the index script so that if I am on Domain A (the master domain) then it is BAU but if I am on Domain B then to use a specified CMPS page as the default page and then if I am on Domain C to use a specified CMPS as the default page, and so on for each domain. Just a small bit of code that works but not polished enough for me to package & post since it requires some edits directly to the CMPS index script.
|
Thanks KW, I thought it must have been some way of determining the domain. Instead of having to change a cmps source file do you think there would be an opportunity to use htaccess to redirect to a cmps page?
Also, in the addon there is the plugin to disable the archive and as mentioned in earlier posts the errors associated with having it turned on. What do you think was the authors intention of having the archive turned off? Because if you just disable the archive plugin component of the mod the archive works ok although showing all the forums for all domains...so it it possible due to search engines not distinguishing the different domains by using the archive?