![]() |
|
setup scripts missing -- two domain names pointing to same place - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: setup scripts missing -- two domain names pointing to same place (/thread-9314.html) |
setup scripts missing -- two domain names pointing to same place - spheniscus - 2011-11-30 ZenPhoto version 1.4.1.6 was installed accessing my website as aaa.com. Another domain name is defined to my website host as bbb.com; it points to the same directory/folder tree as aaa.com (e.g., they both see the same index.php file, which points to the zenphoto installation in a subdirectory). setup scripts missing -- two domain names pointing to same place - acrylian - 2011-11-30 You need to appoint one domain as the main domain using .htaccess redirects to that one domain for all others you have. Zenphoto thinks this are two different installs. Doing this is also recommended practice for SEO (try a web search on "duplicated content" and you will find that, too). setup scripts missing -- two domain names pointing to same place - sbillard - 2011-11-30 The reason for this problem is that the "roots" for all your paths are different when accessed from different domains so things like the rewrite rules cannot work in both cases. |