Looking for File Splitter for Blogger Import

James Huff


Volunteer Moderator

How about just increasing your maximum file upload size instead?

The maximum upload size is controlled at the server-level, not by WordPress. Here are three ways you can increase the upload limit:

1. If you can edit or override the system php.ini file, increase the maximum file and post sizes. For example, upload_max_filesize = 100M ; and post_max_size = 100M ;

2. If you cannot edit or override the system php.ini file, add php_value upload_max_filesize 100M and php_value post_max_size 100M to your .htaccess file.

3. If neither of these work, it’s time to ask your hosting provider to increase the maximum file and post sizes on your account. Keep in mind that most decent hosting providers allow this, and If your hosting provider won’t accommodate you, perhaps it’s time to find a new hosting provider.

(in the above examples, the limit is set to 100MB)

  • This reply was modified 2 days, 20 hours ago by James Huff. Reason: typo

I did that, though perhaps I did it wrong:

<filesmatch "^(.htaccess|wp-config.php|wp-settings.php)$">
    order allow,deny
    deny from all

Options All -Indexes
# AddHandler "proxy:unix:/run/php/7.0/msaroff|fcgi://localhost" .php
# AddHandler "proxy:unix:/run/php/8.0/msaroff|fcgi://localhost" .php
 AddHandler "proxy:unix:/run/php/7.4/msaroff|fcgi://localhost" .php

# BEGIN WordPress
# The directives (lines) between "BEGIN WordPress" and "END WordPress" are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /~msaroff/40years/
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /~msaroff/40years/index.php [L]
# END WordPress
    php_value upload_max_filesize 128M
    php_value post_max_size 128M
    php_value memory_limit 256M
    php_value max_execution_time 3000
    php_value max_input_time 3000

I could go to the ISP and get permission, but I would prefer not to, since I am months away from the move, but I want to start using the WP site as a backup now.

James Huff


Volunteer Moderator

post_max_size is missed an =

See my example above. 🙂

So, do I need an equals sign on all the lines, or just the post_max_size?

James Huff


Volunteer Moderator

Huh, actually you don’t, my mistake.

What you have is right, what I had is wrong, I’ll edit that above.

Try removing the spaces before the lines, align them direct to the left.

I found a solution, at least for Windows and Windows emulator users involving a PowerPhell script.

The guy posted about it on his blog about 7 years ago, and has a link to the .ps1 file, and the Github is here.

You need to modify the first line of the file to put in the file name, the number of records to group together, and the elements that you are counting (“entry” case sensitive without the quotes for Blogspot).

You need to dial in the number, to make it work. (This is a blogger importer crashing thing, the script works fine, at about 2000 posts a minute) It seems to be about 2M-4M for each thousand posts you break it at.

Source link