![]() |
|
Adding a new domain name - 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: Adding a new domain name (/thread-12351.html) |
Adding a new domain name - dabisaleh - 2015-10-26 Hello, I have installed ZENPHOTO on a Domain Name and now I added another Domain Name, I can only see the first page. The albums gives an error message. The directory on the webserver is the same. I can run from the newdomain.com/zp-core/admin.php name, the setup.php gives an error message line 26. I am new to zenphoto, any help is appreciated. Adding a new domain name - acrylian - 2015-10-26 You have to decide if you want to run Zenphoto from a folder (http://domain.com/ZenPhoto) or under a domain root (http://domain.com/). You can't have both as that are really different paths. You can run under two domains so you have to either move Zenphoto out of the folder of the first or direct the first domain to the folder so it becomes the root. Also you should make one domain the main domain for SEO reasons to avoid duplicate content so the additional domains should link to the main domain. (Btw, this all is not really Zenphoto specific) Adding a new domain name - dabisaleh - 2015-10-27 Thank you're very much. I am a bit confused. The 2 domain names point to the same folder on the server. In fact, I don't want anymore the http://domain.com/ZenPhoto but I want http://newdomain.com/ both domains are hosted on the same server and uses same folder. Regards. Adding a new domain name - acrylian - 2015-10-27 If you have an url http://domain.com/ZenPhoto the domain is not pointing to the folder. Adding a new domain name - dabisaleh - 2015-10-27 Problem solved by editing manually the .htaccess file. Adding a new domain name - acrylian - 2015-10-27 Re-running setup also updates the htaccess file. That now fixes newdomain.com. But if you have Zenphoto still accessibley domain.com/ZenPhoto that will now not work anymore. To get the other domain as well you have to make it accessibly by domain.com/ Adding a new domain name - dabisaleh - 2015-11-02 Thank you Acrylian, but running //newdomain.com/zp-core/setup.php gives an error message line 26. I still have weired issues with it. But for now I can live with it. http://www.newdomain.com/zp-core/admin-options.php?action=saveoptions Warning: copy(/home/USERNAME/public_html/FOLDERNAME/cache/.htaccess): failed to open stream: Permission denied in /home/USERNAME/public_html/DOMAINNAME/zp-core/admin-options.php on line 275 Warning: Cannot modify header information - headers already sent by (output started at /home/USERNAME/public_html/NEWDOMAINNAME/zp-core/admin-options.php:275) in /home/USERNAME/public_html/NEWDOMAINNAME/zp-core/admin-options.php on line 449 Adding a new domain name - acrylian - 2015-11-02 If your site is still set to the |