Moving your Pligg Website

Written on February 23, 2008 – 4:51 pm | by boxed |

In my recent project with a client. I was involved in integrating Pligg with his existing website. The project mainly involved design and user login integration. Throughout the website there were many hick-ups and I got to learn a lot about Pligg. One of the tasks was to move the site from development server to live server. I thought this may will help a newbie to learn how to migrate or move a Pligg website.

  • Create a backup. Yes, its very important to create a backup no matter what you do. If you are using cpanel then go to Backups > New backup > Full backup (files and database)
  • Using an FTP client, download all the files from your root folder (public_html). This step is not required if you’re moving the site from localhost to live server.
  • Using Phpmyadmin or equivalent software, export the database tables. This step is required even if the database is on localhost.
  • Upload all the downloaded files to the new server. Either in root folder or sub-folder.
  • Create the database and user. In cpanel, go to Databases > New Database and similarly create new user and map user to the database.
  • Now open lib/dbconnect.php file in your favorite text editor (editplus, dreamweaver etc) and change the database connection strings as per your new database.
  • CHMOD /cache and /template_c folders to 777.
  • Edit your site name in /config.php
  • Also, login to Pligg Administration, go to Configuration > Location >Update site url.

Thats it, visit your site and you should see it as it is. Test your site fully before launching or marketing it. If you land into any trouble do comment here and will try to help you out.

  1. 1 Trackback(s)

  2. Feb 24, 2008: PHP5 Header Problem - Pligg Forum

Post a Comment

About Me

Like most of the people living in USA, I recently joined 'the two jobs on shoulder' club. Working my ass off throughout the day as a software consultant and at night as a freelance web developer, this is my attempt at earning $1.1 million in 3 years. While this blog is mainly focused at freelancing, I take pleasure in writing about other things that interests me. If you like any of my posts, please do subscribe! And also keep an eye on my goals list ;) More

Want to subscribe?

 Subscribe in a reader Or, subscribe via email:
Enter your email address:  

hireme

Find entries :