1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to duplicate ready and optimized WP template

Discussion in 'Cloaking and Content Generators' started by bigspade, Mar 30, 2009.

  1. bigspade

    bigspade Junior Member

    Joined:
    Mar 13, 2009
    Messages:
    114
    Likes Received:
    125
    Occupation:
    Silver Hat Entrepreneur wannabe
    Location:
    Warzone
    Hi guys

    I was wondering if anyone here know how to duplicate ready and optimized wp template (included the activated plugins) for other domains so that we will not need to re-optimize and input the settings? I tried to upload the entire optimized WP template on another domain but it ends up re-directed back to the source. Any idea on how to do it?

    Your reply will be very much appreciated :D

    Blackhat style = lazy style = smart style
     
  2. pappasaa

    pappasaa Newbie

    Joined:
    Aug 7, 2008
    Messages:
    43
    Likes Received:
    5
    Home Page:
    need more details
     
  3. bigspade

    bigspade Junior Member

    Joined:
    Mar 13, 2009
    Messages:
    114
    Likes Received:
    125
    Occupation:
    Silver Hat Entrepreneur wannabe
    Location:
    Warzone
    Let's say I installed a new wordpress blog(blank) on a domain. Since it's mainly for auto blogging purpose. So, I installed a theme, added all the plugins than I optimized the setting and options for pulling in feeds, added ads on sidebar...etc

    Done! A complete and optimized WP blog ready to take on the world. The question is, is there anyway I can replicate the complete and optimized WP template into another domain? Like copy the optimized WP folder and paste it into a new domain? After all if I will to do this over and over again, editing the options, activating the plugins and setting...etc I might go nuts :p

    Just wondering if anyone know of any method to crack this, thanks! :)
     
    Last edited: Mar 30, 2009
  4. xxkixx

    xxkixx Newbie

    Joined:
    Apr 17, 2008
    Messages:
    32
    Likes Received:
    20
    I just had to move a blog from one site to another where just the tld was different, but this should work for any site change, but I have not checked it on a whole site ...

    Create a blank site with all the settings you want.

    Download all the files (if you have the newer version of cpanel you can zip the files up through the file manager and download the zip).

    Make a backup of the database through phpmymysql.

    Open the .sql with notepad and do a find and replace of the domain name to the new domain name and save the file with a new name.

    On the new site upload the zip with the files in via cpanel file manager and unzip and delete.

    Create a database and import the new sql file through phpmyadmin.

    Edit wp-config.php to reflect the new database details.

    You should be good to go, just go to yourdomain.com and check :D

    If this works, please say here so othes can benefit.
     
    • Thanks Thanks x 1
  5. bigspade

    bigspade Junior Member

    Joined:
    Mar 13, 2009
    Messages:
    114
    Likes Received:
    125
    Occupation:
    Silver Hat Entrepreneur wannabe
    Location:
    Warzone
    Let me try it out first, will be back with the result, thanks :D
     
  6. dumdumz

    dumdumz Registered Member

    Joined:
    Jan 5, 2009
    Messages:
    50
    Likes Received:
    6
    You can create custom installation files. Most functions in the wordpress installation are wrapped with if(!function_exists()) which means you can override them with your own functions. Take a look in wp-admin/functions/upgrade.php That is where most of the installation happens and should get you started on the right path. Also, take a look at this article wpbits.wordpress.com/2007/08/10/automating-wordpress-customizations-the-installphp-way/ Its a bit old but I don't think very much has changed since it was written and should get you started.
     
    • Thanks Thanks x 2
  7. infomycin

    infomycin Newbie

    Joined:
    Feb 24, 2008
    Messages:
    46
    Likes Received:
    4
    Top post dumdumz, given thanks.
     
  8. sharonrocks

    sharonrocks Newbie

    Joined:
    Dec 30, 2008
    Messages:
    14
    Likes Received:
    30
    Don't forget to change the permalinks to reflect new url.
     
  9. gr8divas

    gr8divas Registered Member

    Joined:
    Mar 28, 2009
    Messages:
    57
    Likes Received:
    7

    This is the trick I also do same for my blog installations...