31
CC BY-SA 2.0 · Jeff Vier @ Flickr From Wordpress.com to Self-hosted WordCamp Vancouver · August 15, 2015 Luiza Libardi · @luizalibardi

WordCamp 2015

Embed Size (px)

Citation preview

Page 1: WordCamp 2015

CC BY-SA 2.0 · Jeff Vier @ Flickr

From Wordpress.com to Self-hosted WordCamp Vancouver · August 15, 2015

Luiza Libardi · @luizalibardi

Page 2: WordCamp 2015

Roadmap

• What is WordPress• WordPress.com• Self-hosting• Installing WordPress• Understanding your site• Migrating content• Customizing

Page 3: WordCamp 2015

What is WordPress?

Content Management System (CMS)

Top Content Management Systems (August 2015)

a.k.a. publishing platform

50% 2% 2%9%

Source: http://trends.builtwith.com/cms

Page 4: WordCamp 2015

What is WordPress?

Open Source

GPLv2

The GNU General Public License is the most widely used, free

software license, which guarantees individuals, organizations

or companies the freedom to use, study, share, and modify

the software. The GPL guarantees:

• the freedom to use the software for any purpose

• the freedom to change the software to suit your needs

• the freedom to share the software

• the freedom to share the changes you make

CommunityDon't miss:Who Works on What in WordPress @ 4pm Room #280, downstairs

Page 5: WordCamp 2015

• Create an account• Free hosting• Free subdomains name.wordpress.com• Abide to their Terms of Service• Restricted customization• No access to FTP files or database

WordPress.com

Page 6: WordCamp 2015

Self-hosting: WordPress.org

• WordPress CMS repository (no login required)

• Themes and Plugins repository (no login required)

• Information about WordPress (no login required)

• Forums (login required)

Don't miss:Help Me Help You: The Art and Science of Getting Good WordPress Support @ 11am Room #820, here

Page 7: WordCamp 2015

Self-hosting: Filesystem and Database

• Files have a name and path (folders)

• Files have metadata associated with them (last modification date, media type)

• Content is accessed through an FTP software (such as Filezilla or Fetch)

• Content is a series of entries in a table

• Content can be "connected" to other entries in the database system

• Content is accessed through an online management system

WordPress uses PHP (programming language) to store and retrieve data from a database.

DATABASEFILESYSTEM

More about WP database: http://www.wpbeginner.com/beginners-guide/beginners-guide-to-wordpress-database-management-with-phpmyadmin/

Page 8: WordCamp 2015

Self-hosting: choosing a hosting company

Minimum requirements to run WP:• PHP version 5.2.4 or greater

• MySQL version 5.0 or greater

• The mod_rewrite Apache module

Also good to check:• Active 24/7 support

• Uptime

Useful resources:https://wordpress.org/hosting/https://wordpress.org/about/requirements/

Don't miss:Why Security Matters @ 2pm Room #820, here

Page 9: WordCamp 2015

Installing WordPress

root wp-admin wp-content wp-includes index.php license.txt readme.html wp-activate.php wp-blog-header.php wp-comments-post.php wp-config-sample.php wp-cron.php wp-links-opml.php wp-load.php wp-login.php wp-mail.php wp-settings.php wp-signup.php wp-trackback.php xmlrpc.php

If your hosting company doesn't provide a

automatic installation:

1. Download and unzip the WordPress package.

2. Create a database for WordPress on your web server, as well as a MySQL user who has all privileges for accessing and modifying it.

3. (Optional) Find and rename wp-config-sample.php to wp-config.php, then edit the file and add your database information.

4. Upload the WordPress files to the desired directory on your web server.

5. Run the WordPress installation script by accessing the URL in a web browser. This should be the URL where you uploaded the WordPress files.

Detailed instructions: https://codex.wordpress.org/Installing_WordPress

Page 10: WordCamp 2015
Page 11: WordCamp 2015
Page 12: WordCamp 2015

database username

database password

database name

localhost

wp_

Page 13: WordCamp 2015
Page 15: WordCamp 2015
Page 16: WordCamp 2015

Dashboardhttp://yourdomain.com/wp-admin

Page 17: WordCamp 2015

Migrating: export from WordPress.com

WP.com WP.com

Page 18: WordCamp 2015

Migrating: import to your site

Your site Your site

Page 19: WordCamp 2015

Migrating: import to your site

Your site Your site

Page 20: WordCamp 2015

Migrating: import to your siteYour site

Page 21: WordCamp 2015

Understanding your siteWhere are my posts stored? Why aren't they in the FTP? Post contents are stored in the database along with comments, users, links and relationships.

Page 22: WordCamp 2015

Understanding your siteWhere are my images and uploads?Everything you upload via Media uploader, on your

Dashboard, goes to the uploads folder located under the

following structure: root/wp-content/uploads

The media is organized in subfolders named after the

year-month of the upload date.

root wp-admin wp-content index.php languages plugins themes uploads wp-includes index.php license.txt readme.html wp-activate.php wp-blog-header.php wp-comments-post.php wp-config.php wp-cron.php wp-links-opml.php wp-load.php wp-login.php wp-mail.php wp-settings.php wp-signup.php wp-trackback.php xmlrpc.php

Page 23: WordCamp 2015

Options

Migrating: redirect the readers

http://yoursite.wordpress.com

http://yoursite.com

• WordPress.com offers a Site Redirect service for $13 per year. See detailed instructions: http://en.support.wordpress.com/site-redirect/

• Alternatively, you can write a post to let users know you have migrated to a different address.

Page 24: WordCamp 2015
Page 25: WordCamp 2015

Customizing WordPress: Themes

What are Themes?Get them at http://wordpress.org/themes/

Same content

Different views

More about Themes: http://codex.wordpress.org/Themes

Don't miss:Shortcut to choosing your WordPress Theme @ 1pm - Room #820, here

Page 26: WordCamp 2015

Customizing WordPress: Themes

WP.com Your site

Always work with Child Themes!

Page 27: WordCamp 2015

Customizing WordPress: Themes

Where to learn?

• w3schools CSS Tutorials

• w3schools HTML Tutorials

• A Beginner’s Guide to HTML & CSS

• An Advanced Guide to HTML & CSS

• WordPress Masterclass on Lynda.com

Don't miss:Debugging CSS @ 11amRoom #820, Atrium

Page 28: WordCamp 2015

Customizing WordPress: Plugins

Plugins are pieces of code to extend the

functionality of your site.

More about Plugins: http://codex.wordpress.org/Plugins

What are Plugins?Get them at http://wordpress.org/plugins/

Page 29: WordCamp 2015

Customizing WordPress: Plugins

WP.com Your site

Always check Ratings and Support!

Page 30: WordCamp 2015

Jetpack is a free WordPress plugin released in 2011 that enables you to use features

previously only available on WordPress.com on any WordPress website.

Customizing WordPress: Plugins

• Stats

• Photon

• Email subscriptions

• Social networking comment system

• The WP.me URL shortener

• Automatic posting to social networks

• Grammar checker

• Embedded galleries

• Mobile theme

• Sign in using your WordPress.com log-in credentials

• And more...

Download link: https://wordpress.org/plugins/jetpack/

Page 31: WordCamp 2015

Thank you! luizalibardi.com

luizalibardi

slideshare.net/luizalibardi/wordcamp-2015