• Hello, I want to move my blog from wordpress.com to my own hosting primarily so I have more control over it and can use adsense to monetize my blog.

    My new blog domain is hosted by godaddy and I have already used their automatic installer to install wordpress and now the blog is there and ready to be populated with my 2000+ posts from my old wordpress.com blog.

    First, I went to my old wordpress.com blog in the tools section and used the export button to create my export file. The file is 8.78 MB.

    Then, I went to my new www.ads-software.com blog and went to tools, and then pressed import but it says there is an 8 MB file limit.

    So then I found a WXR file splitter at rangerpretzel and used it to split the 8.78 MB file into 3 smaller pieces of about 3.5 MB each, but when I try to import the smaller pieces to my new blog I get this error:

    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 16384 bytes) in D:\Hosting\3979337\html\wordpress\wp-includes\plugin.php on line 302

    So now I’m at a dead end. Is there any way to transfer all my posts, comments, tags, and catagories from my old blog to the new one? I’m even willing sacrifice some of my old posts to get below the 8MB limit, but I don’t know how to make the file smaller. Any help will be greatly appreciated.

    Thank you,
    Roger

Viewing 11 replies - 1 through 11 (of 11 total)
  • 1. Try adding this line to your wp-config.php file:
    define('WP_MEMORY_LIMIT', '64M');
    
    2. If you have access to your PHP.ini file, change the line in PHP.ini
    If your line shows 32M try 64M:
    memory_limit = 64M ; Maximum amount of memory a script may consume (64MB)
    
    3. If you don't have access to PHP.ini try adding this to an .htaccess file:
    php_value memory_limit 64M
    
    4. Talk to your host.
    Thread Starter rj4520

    (@rj4520)

    Thank you for your response. I added this line of code to my wp-config.php file: define(‘WP_MEMORY_LIMIT’, ’64M’);

    I then tried to upload the 8.78 MB file and it still failed to upload.

    I then called my host godaddy.com and they weren’t sure if they would support this problem, but he suggested doing something to my PHP.ini file and I asked if I had access to this file but he didn’t see a PHP.ini file. He said I could create a PHP.ini file using notepad.

    Now I am going to make a notepad file with the one line of code you suggested in #2

    memory_limit = 64M ;

    and name it PHP.ini and upload it to the wordpress folder in my godaddy account.

    If that doesn’t work, where can I find an .htaccess file as you suggested in #3? I’ve looked in my wordpress folder but don’t see that. Any additional help is greatly appreciated.

    Thank you,
    Roger

    Thread Starter rj4520

    (@rj4520)

    I made the PHP.ini file with the one line of code

    memory_limit = 64M ;

    and uploaded it to my wordpress folder.

    The 8.78 MB still wouldn’t upload.

    Now I am at a dead end again.

    Any further help is greatly appreciated.

    Roger

    Thread Starter rj4520

    (@rj4520)

    When creating the wordpress export file you are given a choice to export by author. So I added a 2nd author to my wordpress.com and bulk edited about 300 of my 2000 posts to the new author. Then I created an export file of just the 2nd author’s posts which gave me a file size of just below 2 MB. So I thought I had this problem licked, but when trying to import the file to my www.ads-software.com blog, I am still getting a fatal error. This is very frustrating. So it seems I can’t import any size file to my new blog. Any suggestions? Thank you, Roger

    Might not be the issue, but I’ve never had luck with GD’s automatic WP installer. If you get a linux hosting plan without anything installed, you’ll have a clean directory with an exisiting php.ini file. Then you can add the memory bump lines to it, or make an .htaccess file.

    If you do that, I can’t remember if you will have web access via IP to do your own install of WP, or if you’ll have to go ahead and change DNS. If you do point your .com domain at GD, make sure you’ve got the export file and the WXR file splitter ready to go.

    Thread Starter rj4520

    (@rj4520)

    Thank you for the information. I will have to look into this more. If I get a linux hosting plan without anything installed does this mean I have to start fresh with a whole new domain? I am presently trying to incorporate my blog into an existing website. Food for thought. Thank you so much for the response and if anyone else is having this problem please let me know how you were able to transfer your wordpress.com blog posts to www.ads-software.com.

    Best Regards,
    Roger

    No, you can keep your domain, but you may have to save your files from the other website so GoDaddy can set up or change the hosting – from the automatic WP hosting to “plain” linux – and then reupload them. Best to ask GoDaddy.

    Are you on Windows hosting now? That may be the whole problem. Do yourself a favor and change to linux. GoDaddy can do that in a few hours: Switching Your Hosting Account Operating System – GoDaddy Help Center

    Thread Starter rj4520

    (@rj4520)

    I am on Windows hosting now. Thank you for the suggetion to switch to linux. I will have to read up on all the precautions I’ll have to take so that I don’t lose anything. I may just decide to stay on wordpress.com or take anther route to monetize my content – this is much more complicated than I bargained for.

    I think the whole problem is Windows; it’s well documented in these forums. WordPress is much easier to work with on Linux.

    Thread Starter rj4520

    (@rj4520)

    Thank you very much for the information. I will work towards switching over to Linux. I’ll have to learn alot more about it first. I appreciate the help!

    Roger

    thanks for the splitter idea…to bad it just wont spew out the entire db and then one could split the xml by hand…

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Importing blog larger than 8Mb from WordPress.com to www.ads-software.com.’ is closed to new replies.