I want to import data using a plugin, but I can't import files larger than 1GB

I’ve managed to get past the 300MB upload limit, but I’m still encountering a 1GB limit. I can upload the file successfully if I switch the Router Mode from “Site Domains” to “localhost.” Is there a better way to resolve this issue?

Are you able to upload what you need over localhost or do you need to be able to upload more large items over Site Domains as well? If you need to check and raise any resources such as memory, timeout, etc we have some instructions on the bottom of our Performance guide here.

You might also try disabling all plugins as well, as something could be competing for resources during import.

I’m using the default Site Domains setting, but I have to switch to localhost every time I upload a file, which is inconvenient. Ideally, I’d like to be able to upload files larger than 1GB while keeping the Site Domains setting.

Is this just happening on a specific site you’re working on @s.tsuchiya? For example if you create a new, blank Local site can you import a 1GB+ file into it with Site Domains set or does it also fail?

Even when I create a new, blank Local site and try to import the file, I get an error saying that the file exceeds the upload limit, so the import fails. It seems that the upload limit is set to 1000M in Local’s configuration.

Did you edit your upload_max_filesize in your php.ini.hbs @s.tsuchiya?

You mentioned getting past 300M so I thought maybe you did that. If so are you saying you raised it higher than 1000M and it still won’t accept anything larger?

Yes, it gets rejected when I set it to 1000M.

You might try this next @s.tsuchiya

I tried that as well, but there was no change.

Can you attempt an import, or a few, to failure and then share a copy of your Local Logs here? That way we can take a look and see if anything stands out.

You should see a new option for Download Local Logs that will grab everything at once into a zip file.

Here are the logs from my recent failed import attempts.

local-logs.zip (1.1 MB)

To confirm what have you set your client_max_body_size and upload_max_filesize settings to @s.tsuchiya?

2026/10/23 09:17:57 [error] 7380#22328: *161 client intended to send too large body: 1305453037 bytes, client: ::1, server: test-site.local, request: "POST /wp-admin/admin-ajax.php?action=ai1wm_import&ai1wm_import=1&ai1wm_manual_import=1 HTTP/1.1", host: "test-site.local", referrer: "http://test-site.local/wp-admin/admin.php?page=ai1wm_import"

You’ll want to make sure both values are set higher than 1305 MB and then after saving, Stop and Restart your site so Local can recompile the changes.

Have you tested doing any imports another way such as using Site Shell, SFTP, etc versus All in One importer?

php\php.ini.hbs

upload_max_filesize = 4800M

nginx\site.conf.hbs

client_max_body_size 4800M;

I want to import everything at once, so I haven’t tried any methods other than All-in-One WP Migration. I’m looking for a simple way to do this.