Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Transferring files

From: Dreamweaver and WordPress: Core Concepts

Video: Transferring files

With your site design finalized, you are ready to go live. Let's take a look at the best way to accomplish that to make sure all of your files get transferred properly and WordPress works appropriately. The first task is to set up the remote server. So we'll need to open up the Site Setup dialog box, which you can do most easily by double-clicking on the site name in the Files panel. Once that opens up, we'll go into the Servers category where you'll recall we set up a testing server initially. Now we're going to add another server, so click the Add New Server option, and let's name this one remote.

Transferring files

With your site design finalized, you are ready to go live. Let's take a look at the best way to accomplish that to make sure all of your files get transferred properly and WordPress works appropriately. The first task is to set up the remote server. So we'll need to open up the Site Setup dialog box, which you can do most easily by double-clicking on the site name in the Files panel. Once that opens up, we'll go into the Servers category where you'll recall we set up a testing server initially. Now we're going to add another server, so click the Add New Server option, and let's name this one remote.

This time instead of going to local/network, we'll connect using FTP. So I'm going to put in my FTP Address which is actually a sub domain that I set up for testing purposes here, and it's roux.lowerytest.com. The Port stays the same and put in my Username and Password. Make sure that you've got the Save check box selected so you won't have to reenter it every time and then click Test. Well, good news. We've been connected to the web server successfully, always gratifying to see that.

Click OK, now this is going to a specific directory so I don't need to put in a Root Directory entry here, but I can go ahead and change the web URL so any link checking will be handled properly. Once that information is in, that's all we really need to do. So let's click Save and note that Dreamweaver automatically picks up that this is a Remote server and then checks that off, that's good. And let me save this configuration. Dreamweaver will recreate the cache, and once it's finished we'll be ready to upload the files.

Now to do this, I'm going to go ahead and expand my Files panel, and let's make this pretty big here. We'll have it take over the whole screen. When you first come in, you're very likely to have your Local Files on the right and a blank site on a Remote Server on the left. Note that there are up top both a Remote Server and Testing Server icons. You want to make sure that Remote Server is selected, and once that's selected click the Connect to Remote Server icon.

When Dreamweaver makes the connection, it will show you what files are located in the directory you specified if there are any. Since I just set this up as a sub domain, the folder is empty. Normally, when you set up a site, there may be a couple of files that were established by the company, including a standard index.html file saying that the site is being set up as well as some corporate images perhaps. You want to be sure to remove any and all those files. Now I'm ready to upload this site, and you might think that I would just leave the uppermost folder selected and choose Put, but that's going to upload all of the files on the site, and for our purposes that's not quite correct.

We want to upload almost all the files. In fact, we want upload them all except for two. To explain what I mean, let's first expand the blog folder. Now the one file in here that I don't want to upload is wpconfig.php, because I'm planning on installing WordPress remotely. One way to avoid this being uploaded is to right- click on it, choose Cloaking, and then select Cloak. You'll see a red slash through the file, kind of the universal symbol of don't do that, and here it's telling Dreamweaver not to upload this file.

The other file that you want to be concerned with is within the Connections folder. The Connections folder was created in the lesson adding WordPress dynamic data to pages. And within the Connections folder is my connexhibits.php. Now this has all of the connection information for my local database which may be, and most likely is, different from what's on your Remote Server. Now honestly Dreamweaver doesn't really handle this very well. There are third-party extensions to Dreamweaver which allow you to work with any number of database connections and handle those appropriately, but instead of installing those, let me show you a workaround that I've developed.

I'm going to duplicate it twice, so I'll press Command+D once, and then again, and you can see that Dreamweaver appends the term Copy and Copy to the file name. I am going to change this first file name to connexhibits-local, and this file we'll just leave alone. This is actually just a direct copy of our local Connection file. This other one I'll rename to connExhibits remote. Now this is the file that you would open up, go into Code view, and then change the hostname, if there is a change, database name, database username, and database password.

Once you have all of those bits of information, save the file. I'm just going to make this password just to insert something different here. I'll save that file, close it, and let's go back to our Files panel, and I'm going to expand again. Well, now I'm going to use my same Cloaking ability for the local files, and I can actually select them both simultaneously and then right- click and choose Cloaking > Cloak, which should Cloak both of those files. And once I close my folder, I'm ready to select all of my files and put them online. So I'll click Put.

Dreamweaver will ask if we want to put up dependent files. Since I have everything selected, I can go ahead and click No, and it will begin the process of uploading the files. Now once the files are transferred, you'll be ready to take the next step which depends on how you want to bring your data in. If you want to use WordPress' import/export future, follow the steps outlined in the exporting and importing WordPress files lesson. If you'd prefer to go the direct database route, go for the approach detailed in backing up and restoring your database.

Either way, you'll be able to move your local development to the remote location on your way to go in life.

Show transcript

This video is part of

Image for Dreamweaver and WordPress: Core Concepts
Dreamweaver and WordPress: Core Concepts

55 video lessons · 51368 viewers

Joseph Lowery
Author

 
Expand all | Collapse all
  1. 4m 7s
    1. Welcome
      58s
    2. Using the exercise files
      1m 54s
    3. A word about updates
      1m 15s
  2. 15m 28s
    1. Overview
      1m 51s
    2. Creating the database and the initial site
      3m 45s
    3. Configuring WordPress
      5m 54s
    4. Establishing a Dreamweaver site
      3m 58s
  3. 20m 18s
    1. Accessing dynamically related files
      4m 12s
    2. Filtering files
      4m 20s
    3. Following links
      4m 15s
    4. Employing Live Code
      2m 54s
    5. Enabling site-specific code hinting
      4m 37s
  4. 21m 8s
    1. Adding blog posts
      4m 55s
    2. Editing blog posts
      3m 20s
    3. Adding new pages
      2m 59s
    4. Including images
      6m 59s
    5. Adding videos to posts
      2m 55s
  5. 18m 12s
    1. Understanding WordPress structure
      3m 52s
    2. Activating a theme
      7m 21s
    3. Setting up a child theme
      6m 59s
  6. 1h 29m
    1. Updating the page structure and the background
      12m 53s
    2. Working with web fonts
      4m 3s
    3. Styling a header
      11m 48s
    4. Adding header functions
      7m 40s
    5. Setting up content columns
      10m 9s
    6. Changing the main content
      5m 17s
    7. Managing the content code
      4m 48s
    8. Customizing the sidebar
      10m 32s
    9. Styling search
      7m 8s
    10. Working with search text
      5m 49s
    11. Integrating the footer
      9m 40s
  7. 27m 18s
    1. Setting up media queries
      6m 12s
    2. Customizing for tablets
      12m 19s
    3. Building smartphone layouts
      8m 47s
  8. 23m 28s
    1. Working with categories and posts
      5m 31s
    2. Developing category-driven pages
      11m 22s
    3. Changing headers by category
      6m 35s
  9. 36m 32s
    1. Adding Spry accordion panels
      17m 44s
    2. Working with Spry form validation
      11m 56s
    3. Integrating jQuery functionality
      6m 52s
  10. 11m 7s
    1. Understanding WordPress plugins
      6m 20s
    2. Styling plugin output
      4m 47s
  11. 25m 44s
    1. Customizing the Dashboard
      6m 52s
    2. Working with WordPress functions
      8m 7s
    3. Including administration interactivity
      10m 45s
  12. 13m 10s
    1. Setting up the data in WordPress
      2m 17s
    2. Adding dynamic data from WordPress to your web pages
      10m 53s
  13. 11m 38s
    1. Modifying general settings
      4m 12s
    2. Setting up users
      3m 11s
    3. Restricting access to specific WordPress pages
      4m 15s
  14. 26m 38s
    1. Exporting and importing WordPress files
      7m 9s
    2. Backing up and restoring the database
      8m 10s
    3. Transferring files
      6m 3s
    4. Testing and fine-tuning
      5m 16s
  15. 18s
    1. Next steps
      18s

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Join now "Already a member? Log in

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Dreamweaver and WordPress: Core Concepts.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?

No

Your file was successfully uploaded.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.