Go Back   WarriorForum - Internet Marketing Forums > The Warrior Forum > Main Internet Marketing Discussion Forum
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
LinkBack Thread Tools
Old 10-14-2009, 10:11 AM   #1
BACKLINK MOGUL
War Room Member
 
howudoin's Avatar
 
Join Date: Jun 2008
Location: Warrior Forum
Posts: 739
Thanks: 35
Thanked 46 Times in 27 Posts
Social Networking View Member's Twitter Profile 
Contact Info
Send a message via Skype™ to howudoin
Default A WordPress Transfer related question

So I've designed my Wordpress based site offline (Using XAMPP) and now I want to transfer it to my web host.

I'm aware that by transferring the theme and the content I can get the "Look and Feel" of the original site (On my web host), But can I also transfer my plugins

Or is it that I have to manually reinstall all the plugins at the New WP installation on my web host?

Picture me refreshing this page every 1 minute..

howudoin is offline   Reply With Quote
Old 10-14-2009, 10:14 AM   #2
.
 
Sumit Menon's Avatar
 
Join Date: Aug 2008
Location: Mumbai, India
Posts: 657
Thanks: 552
Thanked 246 Times in 153 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile  View Member's YouTube Profile
Contact Info
Send a message via MSN to Sumit Menon Send a message via Skype™ to Sumit Menon
Default Re: A WordPress Transfer related question

You can upload the plugins.. but you'll have to reactivate it. Actually, you can copy the whole content directory.

Out of context:
Is XAMPP good? I'm using WAMP.

Sumit.

Things you can do to save Warrior Kim Winfrey - Kim's Story

Donate |
Buy Warrior AllStars WSO | Like The Facebook Page | Bookmark Kidney Failure Stages
Sumit Menon is offline   Reply With Quote
Old 10-14-2009, 10:20 AM   #3
BACKLINK MOGUL
War Room Member
 
howudoin's Avatar
 
Join Date: Jun 2008
Location: Warrior Forum
Posts: 739
Thanks: 35
Thanked 46 Times in 27 Posts
Social Networking View Member's Twitter Profile 
Contact Info
Send a message via Skype™ to howudoin
Default Re: A WordPress Transfer related question

Thanks for the Answer Sumit.

By uploading the "the whole content directory" do you mean everything in the "wp-content" folder??

Never used WAMP, so really can't make a comparison, but my experience with XAMPP has been good.

Although, its instruction manual says that it works offline, I always get "page not found error" with that. So to make it work you need to be connected to the net, however once the login is done, then it works just as fine.

howudoin is offline   Reply With Quote
Old 10-14-2009, 10:29 AM   #4
.
 
Sumit Menon's Avatar
 
Join Date: Aug 2008
Location: Mumbai, India
Posts: 657
Thanks: 552
Thanked 246 Times in 153 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile  View Member's YouTube Profile
Contact Info
Send a message via MSN to Sumit Menon Send a message via Skype™ to Sumit Menon
Default Re: A WordPress Transfer related question

Quote:
Originally Posted by howudoin View Post
Thanks for the Answer Sumit.

By uploading the "the whole content directory" do you mean everything in the "wp-content" folder??

Never used WAMP, so really can't make a comparison, but my experience with XAMPP has been good.

Although, its instruction manual says that it works offline, I always get "page not found error" with that. So to make it work you need to be connected to the net, however once the login is done, then it works just as fine.
yep.. the wp-content directory.

Ideally, if you're installing anew you'd upload all the files onto the new server and import the database backup.

Things you can do to save Warrior Kim Winfrey - Kim's Story

Donate |
Buy Warrior AllStars WSO | Like The Facebook Page | Bookmark Kidney Failure Stages
Sumit Menon is offline   Reply With Quote
Old 10-14-2009, 10:29 AM   #5
HyperActive Warrior
 
Join Date: Aug 2008
Posts: 128
Thanks: 40
Thanked 16 Times in 15 Posts
Default Re: A WordPress Transfer related question

The way you want to do it is to do a fresh WordPress install online and install all the plugins there fresh, too. There's no need to make things any more complicated. In fact, although I have a virtual local server, I never even bother doing a WordPress preinstall in it. It's easy enough to just do a WP install online, keep robots from scanning while you tinker and then go live when your ready. I even keep a couple of online subdomains handy for testing themes and plugins.

Wade Watson
Wade Watson is offline   Reply With Quote
Old 10-14-2009, 10:37 AM   #6
HyperActive Warrior
War Room Member
 
blur's Avatar
 
Join Date: Mar 2009
Posts: 232
Thanks: 43
Thanked 21 Times in 20 Posts
Default Re: A WordPress Transfer related question

You don't need to do all that Don't make it harder for yourself.

Just upload your complete wp installation (with plugins, etc..) to your webserver.

Then create a new database on your webserver for your site (obviously make note of your user name and password)

Using phpmyadmin on your machine (which I think comes with XAMMP) export your database to a text file. Then go to the phpmyadmin on your webserver and import your text file.

Edit your wp-config on the webserver to reflect your database crednetials and that should do it.


blur is offline   Reply With Quote
Old 10-14-2009, 11:11 AM   #7
BACKLINK MOGUL
War Room Member
 
howudoin's Avatar
 
Join Date: Jun 2008
Location: Warrior Forum
Posts: 739
Thanks: 35
Thanked 46 Times in 27 Posts
Social Networking View Member's Twitter Profile 
Contact Info
Send a message via Skype™ to howudoin
Default Re: A WordPress Transfer related question

Quote:
You don't need to do all that Don't make it harder for yourself.

Just upload your complete wp installation (with plugins, etc..) to your webserver.

Then create a new database on your webserver for your site (obviously make note of your user name and password)

Using phpmyadmin on your machine (which I think comes with XAMMP) export your database to a text file. Then go to the phpmyadmin on your webserver and import your text file.

Edit your wp-config on the webserver to reflect your database crednetials and that should do it.
Thanks for the answer Blur, Will do it right away and let me get back with in an hour...

howudoin is offline   Reply With Quote
Old 10-14-2009, 11:27 AM   #8
Watching you...
War Room Member
 
Istvan Horvath's Avatar
 
Join Date: Dec 2008
Location: Waterdown, Ontario, Canada
Posts: 5,963
Blog Entries: 2
Thanks: 1,574
Thanked 2,713 Times in 1,651 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile  View Member's YouTube Profile
Contact Info
Send a message via Skype™ to Istvan Horvath
Default Re: A WordPress Transfer related question

What blur said with a small addition:
after you imported the DB file (usually a ***.sql file if you checked the "save as file" option when exporting) go to the options table and find the "home" and "site_url" rows.
Edit their value from "localhost/whatever" to the new location "hffp://example.com", of course use tt instead of ff

In the first half of the year we are supposed to work for the taxman. I think that's a mistake.
Help me to get rid of the taxman ASAP - thanks! (You, too, should make less mistakes!)


Istvan Horvath is online now   Reply With Quote
Old 10-14-2009, 11:28 AM   #9
Advanced Warrior
War Room Member
 
Jay Rhome's Avatar
 
Join Date: Feb 2009
Posts: 627
Thanks: 153
Thanked 119 Times in 84 Posts
Default Re: A WordPress Transfer related question

Thanks Blur!

The step I was missing when I did my transfers was the phpadmin part to export and import the database.

Too late but will do in the future.

So in essence, we don't even need to install WP again if we import all the files and adjust for the new database?

Sweet
Jay Rhome is offline   Reply With Quote
Old 10-14-2009, 11:33 AM   #10
Watching you...
War Room Member
 
Istvan Horvath's Avatar
 
Join Date: Dec 2008
Location: Waterdown, Ontario, Canada
Posts: 5,963
Blog Entries: 2
Thanks: 1,574
Thanked 2,713 Times in 1,651 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile  View Member's YouTube Profile
Contact Info
Send a message via Skype™ to Istvan Horvath
Default Re: A WordPress Transfer related question

Quote:
Originally Posted by Jay Rhome View Post
So in essence, we don't even need to install WP again if we import all the files and adjust for the new database?
That's right. You just create an empty database and import the .sql file into it. Then make the modifications I described above.
Edit the config file. Upload the files via FTP.
It should work.

In the first half of the year we are supposed to work for the taxman. I think that's a mistake.
Help me to get rid of the taxman ASAP - thanks! (You, too, should make less mistakes!)


Istvan Horvath is online now   Reply With Quote
Old 10-14-2009, 12:02 PM   #11
Suzanne
War Room Member
 
sbucciarel's Avatar
 
Join Date: Jan 2007
Location: Virginia, USA.
Posts: 10,646
Blog Entries: 1
Thanks: 1,211
Thanked 4,048 Times in 2,261 Posts
Default Re: A WordPress Transfer related question

Quote:
Originally Posted by blur View Post
You don't need to do all that Don't make it harder for yourself.

Just upload your complete wp installation (with plugins, etc..) to your webserver.

Then create a new database on your webserver for your site (obviously make note of your user name and password)

Using phpmyadmin on your machine (which I think comes with XAMMP) export your database to a text file. Then go to the phpmyadmin on your webserver and import your text file.

Edit your wp-config on the webserver to reflect your database crednetials and that should do it.

This is the way I do it too. Easy and fast.

sbucciarel is offline   Reply With Quote
Old 10-14-2009, 12:03 PM   #12
Brandon Landis - SICK SEO
War Room Member
 
Branlan17's Avatar
 
Join Date: Aug 2009
Location: Seattle, WA
Posts: 883
Thanks: 145
Thanked 56 Times in 32 Posts
Default Re: A WordPress Transfer related question

I've been curious about using wordpress, a lot of people seem to like it.
Branlan17 is offline   Reply With Quote
Old 10-14-2009, 01:07 PM   #13
BACKLINK MOGUL
War Room Member
 
howudoin's Avatar
 
Join Date: Jun 2008
Location: Warrior Forum
Posts: 739
Thanks: 35
Thanked 46 Times in 27 Posts
Social Networking View Member's Twitter Profile 
Contact Info
Send a message via Skype™ to howudoin
Default Re: A WordPress Transfer related question

OK Blur, all things are set......Might had given you 2 Thanks If possible

What Blur had said is explained in detail, with screenshots, at the following link
Convert A Local WordPress XAMPP Installation Into A Live Site | Jestro

(No affiliation with above site)

howudoin is offline   Reply With Quote
Old 10-14-2009, 09:27 PM   #14
HyperActive Warrior
War Room Member
 
blur's Avatar
 
Join Date: Mar 2009
Posts: 232
Thanks: 43
Thanked 21 Times in 20 Posts
Default Re: A WordPress Transfer related question

Glad to see that you're all set! Moving sites isn't as 'mystical' as sometimes it may seem. You can use the same procedure to move almost any kind of site, just make sure all the variables that have ANYTHING to do with the server, server path, passwords, etc.. are changes.

In fact, I know people who have a default install for their WP/drupal/joomla/etc... in which all they do is move a copy of the master site to the server. This is actually faster than installing the core of the script, installing plugins, getting the themes, etc...

It's always a good practice to develop local and move it to the web when it's finished.

ooooo.....almost forgot - make sure your upload directies (I believe it's content/uploads) has the right permissions or else you wont be able to upload pics from the backend of WP. You can do this in cpanel by clicking on the folder, then permissions, then (and someone will disagree with me here) changing the 'numbers' to 777 (or clicking all the boxes).


blur is offline   Reply With Quote
Old 10-14-2009, 09:37 PM   #15
Senior Warrior Member
War Room Member
 
wordwizard's Avatar
 
Join Date: Oct 2007
Location: Virginia, USA.
Posts: 1,324
Thanks: 182
Thanked 234 Times in 139 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile 
Default Re: A WordPress Transfer related question

Hmmm,

you mean changing the directories to 777? Just for the uploading & installation, right?

Also, will this work if I have to transfer a WordPress installation from one host or location to another?

Thanks for the detailed explanation.

Elisabeth

wordwizard is offline   Reply With Quote
Old 10-15-2009, 01:09 AM   #16
Judy K - WSOTD Copywriter
War Room Member
 
Join Date: Jan 2004
Location: San Jose (Silicon Valley), CA , USA.
Posts: 4,617
Blog Entries: 1
Thanks: 151
Thanked 238 Times in 162 Posts
Social Networking View Member's Twitter Profile 
Contact Info
Send a message via Skype™ to zapseo
Default Re: A WordPress Transfer related question

Well, there are a couple of gotchas here.

If you are using a cpanel host, you can't just simply use the same db credentials.

And you need to go into the text file (easiest to do it when it's a text file, rather than once you've imported the file (actually, executed an sql query) and edit the domain name. Most (not all) of the places where you've used localhost, you'll want to change to the domain you are uploading to.

Live JoyFully!

Judy

Quote:
Originally Posted by blur View Post
You don't need to do all that Don't make it harder for yourself.

Just upload your complete wp installation (with plugins, etc..) to your webserver.

Then create a new database on your webserver for your site (obviously make note of your user name and password)

Using phpmyadmin on your machine (which I think comes with XAMMP) export your database to a text file. Then go to the phpmyadmin on your webserver and import your text file.

Edit your wp-config on the webserver to reflect your database crednetials and that should do it.

zapseo is offline   Reply With Quote
Old 10-15-2009, 01:20 AM   #17
Judy K - WSOTD Copywriter
War Room Member
 
Join Date: Jan 2004
Location: San Jose (Silicon Valley), CA , USA.
Posts: 4,617
Blog Entries: 1
Thanks: 151
Thanked 238 Times in 162 Posts
Social Networking View Member's Twitter Profile 
Contact Info
Send a message via Skype™ to zapseo
Default Re: A WordPress Transfer related question

Quote:
Originally Posted by wordwizard View Post
Hmmm,

you mean changing the directories to 777? Just for the uploading & installation, right?

Also, will this work if I have to transfer a WordPress installation from one host or location to another?

Thanks for the detailed explanation.

Elisabeth
Elisabeth ---

setting files and folders is one of the gotchas of script installation.
Many installation manuals say to do this, but then people start getting Internal Server errors (500).

The reason is that many hosting companies are now running php from cgi, so that all scripts, files and folders are owned by the user, instead of the rather arcane unix user known as "nobody". This is a much more secure way to run php, but it also sets things up so that any file or folder accessed that has permissions set to 777, it will give an internal server error (as it also will if a script attempts to set a file or folder to 777 permissions.)

So, the answer to your question is...it depends.

In general, it should work. If you run into problems doing it, just contact me and I'll get it fixed right up for you.

Live JoyFully!

Judy

zapseo is offline   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > The Warrior Forum > Main Internet Marketing Discussion Forum

Tags
question, related, transfer, wordpress

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -6. The time now is 01:40 PM.