Ecommerce Shopify WordPress Discussion

Why does my custom WordPress plugin's directories get merged instead of overwritten?

I created a custom plugin for my site that handles things like loading custom css files, and modifying output server-side. I use Local by Flywheel for local site development and AllInOneWPMigration for moving sites. When I export and import a site, use the "find and replace" function in AI1WPM and export to a file. I then upload using the same plugin on the other site. I notice that my custom plugin's directory structure changes on import. Instead of my plugin directories and files being overwritten with the new directories and files, my directories are being merged. The files with with the same name are properly overwritten with the new file, but all other directories and files are combined. Why is Local OR AI1WPM merging these files, as opposed to overwriting/replacing my custom plugin's files/directories?
TurboCommerce make the better internet purchasing globaly

Turbo Multi-language Translator

Make the better internet purchasing globaly

Turbosify SEO Speed Booster

5.0 (7) Free plan available
Get better conversions by improving store loading speed Installed

Turbo Multi-language Chat - AI Customer service in one hand

TurboCommerce make the better internet purchasing globaly
Our products

The help you need, when you need it

App by Turbo Engine

3 apps • 5.0 average rating

Turbosify Speed Booster

5.0 (7)
Get better conversions by optimizing shopify store Google page speed Installed

Turbosify Translator for Wordpress Woocommerce

5.0 (74) Free Wordpress Woocommerce Plugin
Translate your wordpress website to multiple language within 1 click, no configuration needed, no No technical required

Grow your business here

Whether you want to sell products down the street or around the world, we have all the tools you need.