Tutorial: Manually moving WordPress & Coppermine

Common steps

1. Download the WP & CPG folders and files via FTP or cPanel.

2. Export the databases via phpMyAdmin.

  1. Go to the database you want to export.
  2. Click ”Export”. In the new window, click ”Go”.
  3. Save the file in your computer.

3. Back-up all the files above before proceeding.

WordPress

1. Open the database file in Notepad or Notepad++. Go to the options table and edit the first 2 rows with the new URLs for your site: siteurl and home.

2. Open the file ”wp-config.php” in Notepad or Notepad++ and edit the new MySQL settings as needed: database, username, password, hostname.

3. Upload your WP folders and files to the new server.

4. Import the database via phpMyAdmin.

  1. Create a new database through cPanel or via phpMyAdmin.
  2. Go in the new database in phpMyAdmin and click ”Import”.
  3. Click ”Browse” to select the file from your computer.
  4. Click ”Go”. A succes message will appear.

Coppermine

1. Open the file ”include/config.inc.php” in Notepad or Notepad++. Edit the new MySQL settings as needed.

2. Upload your CPG folders and files to the new server.

3. Import the database via phpMyAdmin – follow the steps in point 4 from WordPress section.

4. Go to the new CPG installation, login, go to Config, and change the URLs for your gallery.

FileZilla Filters

Downloading a gallery is time consuming, so you might want not to bother with the files Coppermine creates for each photo – thumb_ and normal_. You can set FileZilla to ignore them:

1. Go to View -> Filename Filters.

fzltut1

2. Click Edit filter rules…

fzltut2

3. Click New -> choose a name for the filter (Copp for this tutorial) -> set the folowing conditions.

fzltut3

4. Click OK. Select the filter for remote files (the ones on your FTP).

fzltut4

5. If you go to an album folder, you’ll notice the files are filtered out.

fzltut5

4 responses... add one

I am using this but its not working for me still downloading the thumbs and normal files.

Leave a Reply

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