Moving your development site to your production site

A good way to get your Backlight site ready to go is to design and develop it in a test folder or a test sub-domain. You can get everything working just right without upsetting your existing site and then when you’re ready, simply move it into place.

Here are a few things to help you with that.

In your existing site, when you’re ready to make the move, you’ll need to remove existing index.php and index.html files. Remove the existing .htaccess files. If you had any special coding in the .htaccess file then just download it to your computer for safe keeping and accessibility.

You should also remove other stand alone files, like images you might be using for a favicon or other purposes. Folders that you use to house site images can stay in the root of your site, but you’re actually better off moving them after you’ve uploaded the new site. (Create a folder to store your extra images in /backlight/custom/ to house your extra images and reference them from there.)

If you have a blog installed in its own folder, leave that where it is.

Assuming you’ve moved or deleted what you don’t need from the root of your site, you’re ready to go.

There are two ways of making the move. Using your FTP program, you can move all the files from your development folder to the root, or you can download all the files to your computer and then upload them to the root of your site.

I recommend the latter approach. The reason for this is to leave your test site intact in case you want to add some customization. Test any customization first in your test site before risking a big blank white screen of death for your main site.

After the files are moved/copied, log into Backlight in your main site and change the Site and Company URL to the new location. If using WordPress, change the WordPress URL as well.

If you were using Lightroom to upload albums in your test site, then be sure to change the API URL in Lightroom Publisher Settings for that instance of Publisher.

That’s basically all you need to do. If you got a bit elaborate with your site and added images to text, you may need to edit the copy of those pages to update the URLs to those images.

 

4 thoughts on “Moving your development site to your production site”

  1. I am about ready to switch to the production site and I am a little bit scared because I have never done this before….🙂
    I did read your guide above and will use your suggested second approach (uploading). I am currently backing up the complete newly developed subdomain site (FZ-Test) and my current production site (public_html to my DT.
    Is there a reason why I should not delete all folders/folders in public_html before the upload?

  2. I guess that depends on what’s there and what your updating from. If you’re updating from Backlight 1, then you should follow the instructions in the TTG docs (unless you’re starting from scratch). If it is an update from an earlier version of TTG CE4 or Backlight and you want to save things like albums and cart settings, you definitely don’t want to delete the files that contain all that info.

  3. To clarify – It’s a completely new development. I freshly installed BL3.X on the subdomain (FZ-Test.franzzihlmannphoto.com). The all new site was developed on this subdomain and all images were uploaded there.

  4. I guess it still depends on what was in the public_html folder to begin with. Anything to do with the contents of any old site can probably be deleted. I don’t know about any other files though, such as those your host originally place.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

About this site

This site is: a repository of time-savers and best practices from a user's perspective, picked up from several years of using TTG plugins.
This site is not: a support site.
Read more here.

Subscribe to new posts

Tip Jar

If this site has saved you some time, kept your hair attached, or otherwise prevented you from tossing the mouse through the monitor, feel free to donate.

Categories


Highly recommended. This is my go-to Lightroom book. Click on the book image. (affiliate link)

Affiliate link!

Current TTG versions

Backlight  4 & 5

See the Backlight Modules page on your site for latest Backlight and module versions and changelogs.

You’ll also find the latest version number and download link for the Lightroom Publisher plugin.
(BL 3 and later)

 

Backlight 1 Versions

Backlight 1.2.4
Pages module 1.2.4
Cart Add-on 4.1.7
Client Response Add-on 7.1.3
Theater Add-on 1.2.6
Galleria Add-on 1.0.0
WordPress Add-on 1.2.6
Publisher 3.2.3

Backlight 1 has seen its end of life. See this post.

CE4 Versions

note: CE4 is no longer being developed or sold. See this post.

TTG-BE: 2.0.5a
Autoindex: 7.0.8
Cart: 3.1.4a
CRG: 6.1.3a
Gallery: 6.1.10
Pages: 7.0.15
Publisher: 2.3.3
Stage: 6.1.6
Theme for WordPress: 3.1.2