Skip to content
Rashmar edited this page Mar 17, 2025 · 4 revisions

Welcome to the move-from-localhost wiki!

Move From LocalHost helps developers to move their e-commerce WordPress website from their localhost directory to online hosting.

As a web developer you may want to do the most of developing work and tests on a localhost platform. But moving to the online host can be tricky. Lets say you have issues with uploading the hole directory to the host. License may not work, files can be missing, etc.

However you can always your "uploads" folder and then move your woocomerce data to your new host. (This is after installing the theme)

Why do I need this script?

If you are a non English speaker developer you may also refer to different kinds of issues happening because of the Language you're working with. Most of these issues are related to text encoding and can be easily fixed. However not every web developer is a programmer!

That's where the Move-From-Localhost comes in! When you want to import your woocomerce data you may see an error which indicates the missing directory for images and videos. And this is because of the saved addresses of your files on your localhost.

All you need to do is to replace the first part of the csv exported file and Microsoft Excel happens to have a "find and replace" function built in. However you will face problems when you want to save the file. You'll see all of your non English data will be lost!

How to use?

All you need to do is to install python, open the "move.py" file and replace the related field with your csv file's path. Then you define the problematic phrase and the replacement. Run the script and let it do it's work. There you go! Your "new.csv" file is ready and all your non English data is still fine!

Have I ever tested it?

I myself have used this simple script for the development of following websites:

https://shahocamp.com

https://khonakkala.com

https://banehtasvir.com

https://baharcooler.com

https://appleidcity.com

As you can see all of these websites are non-English and all the products are looking sound.