eskimopest
eskimopest

Reputation: 469

Migrating site to wordpress

A client asked me to migrate a website to wordpress. The theme is made, everything is working fine locally and now im thinking the best way to make the migration. I'm thinking on makeing the instalation on a subfolder for testing and then moving it to the root of the server. Is there anything i need to do other than copy the files from wordpress folder to the root? Anyone know a good tutorial or a better way to make the migration?

Upvotes: 2

Views: 502

Answers (5)

eskimopest
eskimopest

Reputation: 469

followed this tutorial and worked like a charm. Wordpress installation moved to the root of the server and everythig works fine. Themes and plugins. Just made the test right now.

http://www.inmotionhosting.com/support/edu/wordpress/329-move-folders

Thanks for the answers.

Upvotes: 0

WildProgrammers
WildProgrammers

Reputation: 368

Yes, you have to do lot more things than you specified. Follow below steps :-

  1. Download "Wp Migrate DB" plugin from https://wordpress.org/plugins/wp-migrate-db/ to your existing site

  2. Open db migrator. When you will try migrating, it will prompt you to give folder path and website url for new site(old site is already filled by plugin so don't change them)

  3. After adding folder path and URL start db migration

  4. Copy files and folders from your local to live

  5. Import migrated db to new database

  6. Copy new credentials for db connect to wp-config file

  7. Re save permalinks, as it may won't work after migration

After this you are all set to go...

Let me know if you need further assistance.

Upvotes: 0

Ced
Ced

Reputation: 1549

In order to migrate a Wordpress website you should 1. Copy your www folder using FTP Client (FileZilla, Fire FTP or WinSCP). 2. Export you database (important!) and then import the database in your new Web Hosting (Like OVH or other..).

Let me know if you have any others question !

Upvotes: 0

R.K.Bhardwaj
R.K.Bhardwaj

Reputation: 2192

Example: yourlocalwebsite.com

Example: yourlivewebsite.com

Step 1 Upload you all local files or WordPress setup to the live server.

Step 2 Export your localhost database and edit it with notpad++ editor.

Step 3 find your local website name into notpad++ something yourlocalwebsite.com then go to replace tab and all replace tab your yourlocalwebsite.com with yourlivewebsite.com. now save it.

Step 4 check database name username and password into wp-config.php it should be correct which one you using live server database.

Step 5 go to you live database and take backup it then removes it and then imports your local database now.

Step 6 for making sure go to wp_options table and check the URL it should be now yourlivewebsite.com if not then change it

Step 7 go to wp-admin and set the permalinks to the post name

and check it is working fine or not.

local site comes properly but when we deploy same folder on server ... it shows broken pages

Upvotes: 2

Ala Eddine JEBALI
Ala Eddine JEBALI

Reputation: 7891

Take a look at this tutorial from Sitepoint I'm always referring to it when I want to move WP websites and it works.

Upvotes: 2

Related Questions