How to copy a WP blog to another niche?

3 replies
Hi

I've built up my first blog, and I have the necessary plugins and settings etc.

How can I make a clone of that blog, and use it in a different niche?

I mean, you can't build new blogs from scratch, it's gonna take too long.

I want to build 100 blogs, but I don't want to repeat the process a 100 times.

I've searched here and I've Googled, but nothing.
#blog #copy #niche
  • Profile picture of the author radhika
    Copy the whole blog folder with different folder name. (assuming it is FRESH installation with no articles whatsoever)

    Ex: if you have installed WP in 'niche1blog'. Copy that folder into another folder. Rename it to 'niche2blog' and move it back to your 'public_html'.
    Duplicate the database too.

    .
    Signature
    Follow up Autoresponder PRO :: 33% Discount!!
    FREE Upgrades! IMPROVED Email Deliverability!!
    {{ DiscussionBoard.errors[526101].message }}
    • Profile picture of the author alshir827
      Originally Posted by radhika View Post

      Copy the whole blog folder with different folder name. (assuming it is FRESH installation with no articles whatsoever)

      Ex: if you have installed WP in 'niche1blog'. Copy that folder into another folder. Rename it to 'niche2blog' and move it back to your 'public_html'.
      Duplicate the database too.

      .

      Have you tested this method? I interested to know. I was under the impression, it would be that easy. Do let me know. Thanks!
      {{ DiscussionBoard.errors[526149].message }}
      • Profile picture of the author Catalin Ionescu
        Unfortunately this method does NOT work as simple as that. Here's why...

        Wordpress stores it's environment in the database - site name, blog location and so on - in several places. Simply copying the database over a new one would cause problems as the new database would point over the old blog.

        There are a few additional steps involved. Here's a simple outline using tools that you probably already have access to. Assuming the old blog is at bloga.com and using Database A, the new blog will be at www.blogB.com and use Database B.

        1. Do the steps radhika suggested: copy database A to B, copy the files to the new location.

        2. Using a tool such as phpMyAdmin found in your site cPanel, do a FULL backup of the database B. Download this file to your computer. You will end up with a SQL file on your computer, which is essentially nothing more than a text file.

        3. Here's where it becomes interesting: Open this file with Notepad (or other similar TEXT editor), and do a Search & Replace. What you would want to do is replace every occurence of your first blog web address with the second one.

        Search for bloga.com and replace it with www.blogB.com.

        Do the same search & replace for the location where the blog is on your server.

        Save the text file under a new name; keep a backup of the original in case something goes wrong.

        4. Finally, back into phpMyAdmin, import the file with your changes back into database B.

        Test blog B.


        Hope this helps.

        - Catalin
        {{ DiscussionBoard.errors[526283].message }}

Trending Topics