Difference between revisions of "WordPress"

From XMission Wiki
Jump to: navigation, search
(Moving an Existing Wordpress to XMission Hosting)
(Moving your wordpress from one Domain to Another)
 
Line 141: Line 141:
 
<br><br>
 
<br><br>
 
[[2]] Choose SQL from the menu bar<br>
 
[[2]] Choose SQL from the menu bar<br>
[[File:phpmyadmin_database.png]]<br>
+
[[File:phpmyadmin_database.png|600px]]<br>
 
<br><br>
 
<br><br>
 
[[3]] Insert the following:
 
[[3]] Insert the following:
 
  UPDATE wp_options SET option_value = 'http://www.domain.com' WHERE option_name IN ('siteurl', 'home')
 
  UPDATE wp_options SET option_value = 'http://www.domain.com' WHERE option_name IN ('siteurl', 'home')
 
Insert that SQL query in the giant ‘Run SQL query/queries on database…’ field and change the http://www.domain.com to reflect the root level of the site you’re transferring to (so, if you’re moving WordPress to www.domain.com/bar make sure that the /bar is appended here)<br><br>
 
Insert that SQL query in the giant ‘Run SQL query/queries on database…’ field and change the http://www.domain.com to reflect the root level of the site you’re transferring to (so, if you’re moving WordPress to www.domain.com/bar make sure that the /bar is appended here)<br><br>
[[File:phpmyadmin_change_domain.png]]<br>
+
[[File:phpmyadmin_change_domain.png|600px]]<br>
 
<br><br>
 
<br><br>
 
[[4]] Next you will want to run another SQL command:
 
[[4]] Next you will want to run another SQL command:
 
  UPDATE wp_posts SET post_content=(REPLACE (post_content, '{old url}','{new url}'))
 
  UPDATE wp_posts SET post_content=(REPLACE (post_content, '{old url}','{new url}'))
 
If you’re moving from http://www.olddomain.com/blog to http://www.newdomain.com you’ll want '''{old url}''' to say ‘www.olddomain.com/blog’ and '''{new url}''' to say ‘www.newdomain.com’.)<br><br>
 
If you’re moving from http://www.olddomain.com/blog to http://www.newdomain.com you’ll want '''{old url}''' to say ‘www.olddomain.com/blog’ and '''{new url}''' to say ‘www.newdomain.com’.)<br><br>
[[File:phpmyadmin_update_wp_post.png]]<br>
+
[[File:phpmyadmin_update_wp_post.png|600px]]<br>
 
<br>
 
<br>
 
* After you run the above commands your WordPress site should now reflect your new domain.  
 
* After you run the above commands your WordPress site should now reflect your new domain.  

Latest revision as of 12:13, 8 December 2022

Wordpress one click install

Video


Easy Install

  • Enter your Username and Password

Plesk main login.png

  • Next select WordPress from the menu

Plesk WordPress Tab.png

  • Next choose Install

PleskWPtoolkit-1.png

  • Next you will choose the domain wish to install WordPress

NOTE: Pay attention to this section - The installation path is where WordPress is installed, leaving this field blank will ensure WordPress installs in the domain's root directory. If you want WordPress in a sub-directory put in the file name such as /wordpress, this will have your domain look like: domain.tld/wordpress.

PleskWPtoolkit-3.png

  • WordPress Administrator, Database and Automatic Update Settings are auto completed by the server.
  • Next just click Install and your setup is complete.

PleskWPtoolkit-4.png

  • There are some packaged Plugins available or you can skip and log in to WordPress.

XMission’s Shared Hosting Platform has the WordPress Toolkit enabled on all servers. The WordPress Toolkit is a single management interface that allows you to easily install, configure, and manage your WordPress Development.

Through the WordPress Toolkit you can:

  • New WordPress installs
  • Sync and Import current WordPress development
  • Detach and Remove current WordPress development
  • Migrate development from other hosts

To get started using the WordPress Toolkit

Advanced Setup

  • Next select WordPress from the menu

Plesk WordPress Tab.png

  • Next choose Install

PleskWPtoolkit-1.png

  • Next you will choose the domain wish to install WordPress

NOTE: Pay attention to this section - The installation path is where WordPress is installed, leaving this field blank will ensure WordPress installs in the domain's root directory. If you want WordPress in a sub-directory put in the file name such as /wordpress, this will have your domain look like: domain.tld/wordpress.

PleskWPtoolkit-2.png

  • Version - You are able to install older versions if you'd like, however we do not recommend it.
  • WordPress Administrator -automatically fills in, however you are able customize this information
  • Database - Click here to customize your database do your liking, it is automatically filled in


PleskWPtoolkit-5.png

  • We recommend that you keep automatic updates on to keep your site secure.
  • Update WordPress Automatically - Yes, all minor updates will keep your WordPress version updated
  • Update plugins automatically - Define individually
  • Update themes automatically - Define individually
  • Next just click Install and your setup is complete.

PleskWPtoolkit-4.png

XMission’s Shared Hosting Platform has the WordPress Toolkit enabled on all servers. The WordPress Toolkit is a single management interface that allows you to easily install, configure, and manage your WordPress Development.

Through the WordPress Toolkit you can:

  • New WordPress installs
  • Sync and Import current WordPress development
  • Detach and Remove current WordPress development
  • Migrate development from other hosts

To get started using the WordPress Toolkit

Moving an Existing Wordpress to XMission Hosting

1 Follow the above section


2 Export the Database for your WordPress and save it to your local computer

  • Most Hosting companies will use PHPMyAdmin - you can log into this and export your database.



3 Once your Database has been exported you will log into your control panel as stated above in Step 2 then click on Websites & Domains as in Step 3


4 Click on Databases



5 Choose the Database that reflects your Wordpress Install
PleskMySQL-3.png


6 Click on the phpMyAdmin button



7 Once in PHPMyAdmin - select Database from the menu
Phpmyadmin database.png


8 Next Select your Database
Phpmyadmin database select.png


9 Choose Check All under all the tables -
Phpmyadmin checkall.png


10 Where is says With Selected choose Drop
Phpmyadmin drop.png


11 Choose Yes after you select Drop this will remove all the tables that the Pre-Installed WordPress has created and allow you to import your database.


12 Now choose Import from the menu bar
Phpmyadmin database.png


13 In the Section File to Import: Click on Choose File so you can select your database to import.
Phpmyadmin import.png


14 Once you have imported your database - you can then FTP your files to your new server. Use an FTP program like FileZIlla that is free and will work for Mac, Windows, and Linux

  • IF you are using FileZilla fill in the following information:

Filezilla.png

    • Host Name - your domain name (i.e. domain.com )
    • Username - your FTP username
    • Password - your FTP password
  • When you FTP your files to your new Hosting - DO NOT include the wp-config.php or the .htaccess files

15 Once you have FTP'd all of your files - you can then log in to your Admin panel (i.e. http://domain.com/wp-admin/) you can log in with the same username and password that you always have.

  • Once you have logged in you will want to Click on Settings > Permalinks make sure it is currently set to Default .. click Save .. This will crate a .htaccess file. Now you can set the Permalinks the way you want.


Your Site should now be up and running the way it was at your old host.

Moving your wordpress from one Domain to Another

1 Follow the sections above - However After Step 13 follow these instructions


2 Choose SQL from the menu bar
Phpmyadmin database.png


3 Insert the following:

UPDATE wp_options SET option_value = 'http://www.domain.com' WHERE option_name IN ('siteurl', 'home')

Insert that SQL query in the giant ‘Run SQL query/queries on database…’ field and change the http://www.domain.com to reflect the root level of the site you’re transferring to (so, if you’re moving WordPress to www.domain.com/bar make sure that the /bar is appended here)

Phpmyadmin change domain.png


4 Next you will want to run another SQL command:

UPDATE wp_posts SET post_content=(REPLACE (post_content, '{old url}','{new url}'))

If you’re moving from http://www.olddomain.com/blog to http://www.newdomain.com you’ll want {old url} to say ‘www.olddomain.com/blog’ and {new url} to say ‘www.newdomain.com’.)

Phpmyadmin update wp post.png

  • After you run the above commands your WordPress site should now reflect your new domain.
  • Continue steps 14 and 15 above as you will also want to edit your settings in Wordpress to reflect your new Domain name


Additional Development Help

Applications

Domain Management