Ψηφιακή ανάπτυξη Course Unit #1 : Κατανοώντας τις βασικές σύγχρονες ψηφιακές αρχές Thematic Unit #1 : Τεχνολογίες Web και CMS Learning Objective : WordPress: εγκατάσταση και επέκταση Fabio Calefato Department of Computer Science, University of Bari
Σκοπός Κατανόηση των βασικών στοιχείων του web και της αρχιτεκτονικής του Κατανόηση των βασικών εννοιών του Content Management Systems Κατανόηση του τρόπου αύξησης των επισκεπτών σε ένα website 3
Περιεχόμενα Βασικά συστατικά του Web LAMP Architecture Βασικές έννοιες του CMS WordPress εγκατάσταση και επέκταση SEO e Analytics 4
WordPress
Blogging WordPress Προσωπικές δημοσιεύσεις Διαχείριση περιεχομένου- Content management system Ηλεκτρονικό εμπόριο 6
Βασικές πληροφορίες Ιδρύθηκε το 2003 Matt Mullenweg & Mike Little Οι εκδόσεις πήραν ονόματα jazzmen 7
Back end 8
Επιμελητής WYSISYG (What You See Is What You Get) 9
Στατικό περιεχόμενο Text and media Status Σελίδες Προσχέδιο, έλεγχος, δημοσίευση Ορατότητα - Visibility Δημόσιο, χρήση password, ιδιωτικό 10
Μορφή- Format standard, εικόνα, Κατηγορίες Tags Σχόλια Posts 11
Γραφιστικά Ανταποκρισιμότητα Δομή και πλοήγηση Menu and widget Eπιμέλεια php, html, css Θέματα 12
Widget 13
Χαρακτηριστικά Αποθετήριο Plugin https://wordpress.org/plugins/ Υποστήριξη και επικαιροποίηση 14
Χρήστες Ρόλοι Διαχειριστής Eπιμελητής Συγγραφέας Contributor Subscriber 15
Front end: δικτυακός τόπος 16
WordPress plugins και θέματα
Ασφάλεια Plugins WordFence, Limit Login Attempts Backup UpdraftPlus, Xcloner 18
Anti-spam Akismet, Captcha Ηλεκτρονικό εμπόριο WooCommerce Πολύ-γλωσσικό WPML, qtranslate Plugins 19
Κοινωνικά plugins WordPress στα κοινωνικά δίκτυα BuddyPress Διαμοιρασμός και cross-posting ShareThis Forum online bbpress 20
Blog, Magazine Ads, Real Estate Ηλεκτρονικό εμπόριο Εταιρικό Κινητές εφαρμογές Κοινωνικά δίκτυα Θέματα 21
WordPress Multisite
Δίκτυο δικτυακών τόπων Aπλή εγκατάσταση WordPress Ένας λογαριασμός για πολλά sites Επικαιροποιήσεις και συνολική αναβάθμιση Customizing WordPress στο συνολικό δίκτυο Κοινή βάση δεδομένων 23
Subdirectory Subsites www.mydomain.com/subsite1 Third-level Domain subsite.mydomain.com 24
Ενεργοποίηση MultiSite file wp-config.php Tools define('wp_allow_multisite', true); Network setup 25
Creating the network 26
Creating the network 27
wp-config.php define('multisite', true); define('subdomain_install', false); define('domain_current_site', 'localhost'); define('path_current_site', '/english/'); define('site_id_current_site', 1); define('blog_id_current_site', 1); 28
.htaccess RewriteEngine On RewriteBase /english/ RewriteRule ^index\.php$ - [L] # add a trailing slash to /wp-admin RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content admin includes).*) $2 [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L] RewriteRule. index.php [L] 29
Προσθέτοντας ένα subsite 30
Πως αλλάζει η βάση δεδομένων 31
Τέλος ενότητας
Funding This educational material is developed within the project "Open-up Entrepreneurship, OpEn", under the contract 2015-1-EL01-KA202-014168. The OpEn project is funded by the Erasmus+ programme of the European Union. The European Commission support for the production of this material does not constitute an endorsement of the contents which reflects the views only of the authors, and the Commission cannot be held responsi ble for any use which may be made of the information contained therein. 33
Notes
Note on History of Published Version The present work is the edition 0.1 35
License Notes The current material is available under the Creative Commons AttributionNonCommercial-ShareAlike 4.0 International license or later International Edition. The individual works of third parties are excluded, e.g. photographs, diagrams etc. They are contained therein and covered under their conditions of use in the section «Use of Third Parties Work Note». [1] http://creativecommons.org/licenses/by-nc-sa/4.0/ As Non-Commercial is defined the use that: Does not involve direct or indirect financial benefits from the use of the work for the distributor of the work and the license holder. Does not include financial transaction as a condition for the use or access to the work. Does not confer to the distributor and license holder of the work indirect financial benefit (e.g. advertisements) from the viewing of the work on website. The copyright holder may give to the license holder a separate license to use the work for commercial use, if requested. 36
Preservation Notices Any reproduction or adaptation of the material should include: the Reference Note, the Licensing Note, the declaration of Notices Preservation, the Use of Third Parties Work Note (if available), together with the accompanied URLs. 37
Note of use of third parties work This work makes use of the following works: Pictures/Shapes/Charts/Photos/Tables WordPress Logos from wordpress.org [http://wordpressfoundation.org/trademark-policy], Source: https://s.w.org/about/images/logos/wordpress-logo-stacked-rgb.png 38