WordPress

From Hostek.com Wiki
Revision as of 03:55, 20 May 2014 by Briana (Talk | contribs)

Jump to: navigation, search


What is WordPress?

WordPress is an open source CMS, often used as a blog publishing application powered by PHP and MySQL.

How to Update WordPress

How to update your WordPress installation

How to Protect WordPress

  1. Edit or Create a file named .htaccess (yes, the file starts with .)
  2. Place this code in the .htaccess file (this example assumes your IP is 135.135.135.246). Click to see your IP.
RewriteEngine On
RewriteCond %{REMOTE_ADDR} !^135\.135\.135\.246$
RewriteCond %{REQUEST_URI} ^/wp-login\.php$ [NC]
RewriteRule ^.*$ - [F,L]


Changing Domain Name on a Wordpress Site

  1. Update Wordpress and all of your themes and plugins.
  2. Backup site files.
  3. Backup your database.
  4. Login to phpMyAdmin.
  5. Click the link to your Database (If your not sure what database its using check the main "wp-config.php" file. It will have your MySQL host, database name, and the database username/password).
  6. A list of your databases will appear. Choose the one that is your WordPress database.
  7. All the tables in your database will appear on the screen.
  8. From the list, look for wp_options. Note: The table prefix of wp_ may be different if you changed it when installing.
  9. Click on the small icon indicated as Browse.
  10. A screen will open with a list of the fields within the wp_options table.
  11. Under the field option_name, scroll down and look for siteurl.
  12. Click the Edit Field icon which usually is found at the far left at the beginning of the row.
  13. The Edit Field window will appear.
  14. In the input box for option_value, carefully change the URL information to the new address.
  15. Verify this is correct and click Go to save the information.
  16. You should be returned to your wp-options table.
  17. Look for the home field in the table and click Edit Field. Note There are several pages of tables inside wp_options. Look for the > symbol to page through them.
  18. In the input box for option_value, carefully change the URL information to the new address.
  19. Verify this is correct and click Go to save the information.
  20. Now, via your FTP for the site, Delete the folder wp-content/cache (this is a new folder added with WordPress 2.0).
  21. After following the steps above, login into your WordPress admin and change the domain name at the following places:
    1. Settings - General - Update the "WordPress address (URL)" and the "Blog address (URL):" if filled.
    2. Settings - Misc. - Update the domain name in the "Store uploads in this folder" path, if it has the olddomain.

WordPress - Video Tutorials

How to manage categories in WordPress

How to write a comment in WordPress

How to change your header in WordPress

How to install WordPress

How to manage pages in WordPress

How to change your password in WordPress

How to manage users in WordPress

How to manage your plugins in WordPress

How to write a new post in WordPress

How to edit your profile in WordPress

How to configure your settings in WordPress

How to update your WordPress installation