wordcamp 2015
TRANSCRIPT
CC BY-SA 2.0 · Jeff Vier @ Flickr
From Wordpress.com to Self-hosted WordCamp Vancouver · August 15, 2015
Luiza Libardi · @luizalibardi
Roadmap
• What is WordPress• WordPress.com• Self-hosting• Installing WordPress• Understanding your site• Migrating content• Customizing
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
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
• 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
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
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/
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
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
database username
database password
database name
localhost
wp_
Dashboardhttp://yourdomain.com/wp-admin
Migrating: export from WordPress.com
WP.com WP.com
Migrating: import to your site
Your site Your site
Migrating: import to your site
Your site Your site
Migrating: import to your siteYour site
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.
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
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.
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
Customizing WordPress: Themes
WP.com Your site
Always work with Child Themes!
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
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/
Customizing WordPress: Plugins
WP.com Your site
Always check Ratings and Support!
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/
Thank you! luizalibardi.com
luizalibardi
slideshare.net/luizalibardi/wordcamp-2015