Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2015-02-22 02:57:10
- Derekstaff
- Member
- Registered: 2014-10-23
- Posts: 28
live and development installations of txp on the same server?
I initially installed Textpattern in a subdirectory of my client’s domain on the server, so I could develop the site on the server while their earlier version of the website was still live. I since finished the first stage of development, and copied the installation to the root directory as suggested in the Textpattern documentation. I had intended to keep the subdirectory installation, with all the original settings, in order to continue to work on further iterations before making the changes to the “live,” root installation. Is this possible, or will it somehow interfere with the root installation?
Offline
#2 2015-02-22 06:14:55
- milosevic
- Member
- From: Madrid, Spain
- Registered: 2005-09-19
- Posts: 390
Re: live and development installations of txp on the same server?
If I where you I would work in a subdomain rather than a folder on the main domain. dev.your-client-site.com or something like.
You can block the subdomain for search engines with a robots.txt and work there on your next iterations of the main site.
<txp:rocks/>
Offline
Re: live and development installations of txp on the same server?
milosevic wrote #288500:
You can block the subdomain for search engines with a robots.txt […].
Just to add my 2c to this – use .htaccess to block everyone but you accessing it. Some search engines respect robots.txt rules, others don’t. If you use .htaccess and configure the blocking correctly, this is a safer approach. Anyone visiting who isn’t you (search engines, robots, real people) will be thrown a 403 error instead.
There are plenty of code snippets on Stack Overflow, and also around here, that will achieve this.
Offline
Re: live and development installations of txp on the same server?
Remember that the two installations will need to use different databases or at least database table prefixes.
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline