SlideShare une entreprise Scribd logo
1  sur  47
Télécharger pour lire hors ligne
Checklist for Drupal site builder and web admin Adolfo G. Nasol http:// danreb.com
The Topic I’ve got the idea after attending on the last Drupal PH meet-up ( Jan 14, 2011) These are my list of best practice ( I hope it is ) Drupal site building strategy Dedicated for web admin, site builder, Drupal themer and junior developer and Drupal newbie. Purpose : to be able to hear feedback from fellow developer about their own strategy and practice.
About Me I am a Freelancer working as Drupal Site builder, Drupal Themer / Designer and Website admin A total of 1 year and 39 weeks since I started using Drupal and registered as a member in PhDrug -> http://groups.drupal.org/philippines Information and Communication Technology Student Short Course trainers teaching Dreamweaver and Fireworks
Category checklist Deployment  Performance  Administration  Troubleshooting Security
Always check “Status report” Deployment : Check “Status report” PATH :  /admin/reports/status Resolve any errors shown in status report
Always check “Status report” Deployment : Check “Status report” PATH :  /admin/reports/status/sql PATH :  /admin/reports/status/php Status report page gives you a lot of useful information for troubleshooting your Drupal sites and it will allow you to resolve almost  90% of the problem of your Drupal sites just by resolving errors and issues found in this page.
Check the  “Site Information” Check if all information define here is correct such as “E-mail address and Site name”.        - use email address ending in sites domain  Set the default front page, slogan if needed, footer and mission statement If you installed Poormans cron module, you can set the time interval in this page for running cron. Deployment :  Check the “ Site Information”
Check “User registration” settings Path :  /admin/user/settings The default value of Visitors can create accounts and no administrator approval is required is easily overlooked, and often undesired. Deployment :  Check the “ User registration” settings
Check “User registration” settings If you disable the public registration and choose Only site administrators can create new user accounts you may also interested removing the link “Request new password” in the login block or page, the module  “No request new password” will allow you to do this. Module Download URL : http://drupal.org/project/noreqnewpass Deployment :  Check the “ User registration” settings
Disallow odd usernames If you enabled the public registration for your Drupal sites, It is recommended that you prevent users from registering on your website with some odd usernames like: root, admin, webmaster, administrator etc. To prevent this from happening:       - Go to Administer > User management > Access rules > Add rule        - Set Access type to Deny       - Set Rule type to Username       - In Mask type root        - Click the Add rule button Repeat this for every username you don't want to be created on your site. Deployment : Disallow odd usernames
Disallow odd usernames Deployment : Disallow odd usernames You can also add rule to disallow users who registered using disposable emails, or certain domain name.
Confirm “Email” settings Often, placeholder email addresses will be filled in during development, and should be updated before deployment. Try to start with the correct addresses from the beginning when possible.  In addition to Drupal's global site mail, email addresses is stored in a variety of places: The admin user's account, contact forms, webforms, ubercart etc. Deployment :  Confirm  “ Email” settings
Confirm “Email” settings In every site I’ve maintain, I always set the notification for new security release to send updates to my email account , PATH -> /admin/reports/updates/settings Deployment :  Confirm  “ Email” settings
Adjust “Database logging” row limit The default row limit of 1000 can wrap quickly, database logging gives you information for vital debugging when you need it. The average row length is generally around 1kB, so you can boost this up to 100,000 rows and still leave you with a manageable watchdog table. Note : If your website is running on a shared hosting account, turning off database logging and automatic updates will speed up loading of your Drupal sites.  PATH :  /admin/settings/logging/dblog PATH :  /admin/reports/dblog Deployment :  Adjust “Database logging” row limit
Use “PhpMyadmin”  to remove database overhead, optimize and check your Drupal’s database regularly If you don’t regularly check your Drupal sites database,  overhead will grow bigger and bigger in size and your site will slow down  loading pages. Deployment and Performance  : Use PhpMyadmin to repair and optimize Drupal database tables
Set-up “Cron”  Easiest way is to install “Poormanscron” modules, download URL is - > http://drupal.org/project/poormanscron Then in “Site Information” page you can adjust the time intervals of your Drupal sites to run cron. You can also setup cron in your website cPanel, information on setting up cron can be found here : http://drupal.org/cron Poormanscron is now part of Drupal 7 Deployment :  Set up cron : Install Poormanscron module
Check “Error reporting ” page Deployment :  Check “Error reporting “ PATH : /admin/settings/error-reporting
 Error 403 and Error 404  pages If you don’t want visitors trying to go to restricted directory redirected into user login page, then alternatively you can create a node with some extra information so that your visitors don't ever fall on the default blank 403 access denied page. Create the node and remember its node ID Go back to Administer > Site configuration > Error reporting Set Default 403 (Access denied) page to the node ID you just created Save your settings and repeat the same step for setting up Error 404 page. If you want you can also use the Search 404 module , download URL : http://drupal.org/project/search404  Deployment :  Error 403 and Error 404 pages
 Disable “Error reporting” On a production site, it's best to suppress on-screen error reporting by choosing Write errors to the log. - Go to Site configuration >      Error reporting ,[object Object], to Write errors to log - Save configuration Deployment :  Disable :Error reporting”
Install Backup and Migrate Deployment : Install Backup and Migrate I Use Backup and Migrate module to backup client Drupal database automatically
Install Backup and Migrate Deployment : Install Backup and Migrate  - I Use Backup and Migrate module to easily extract database and migrate Drupal site.  - Then copy the sites folder  To the new server, excluding the file “settings.php” ,[object Object],Download URL : http://drupal.org/project/backup_migrate
Use “FireFTP” to synchronized and upload files Deployment : Use “FireFTP” to synchronized and upload files
Use “FireFTP” to synchronized and upload files Download URL : http://fireftp.mozdev.org/     - FireFTP is an FTP clients extension for Mozilla Firefox Deployment :  Use “FireFTP”  to upload and synchronized files
Install WYSIWYG for your site users or clients Deployment : Install WYSIWYG  editor
Install WYSIWYG for your site users or clients Deployment : Install WYSIWYG  editor I used the combination of the following  modules : ,[object Object]
  CKEditor link  - http://drupal.org/project/ckeditor_link
  CKEditor SWF - http://drupal.org/project/ckeditor_swf
  Image resize filter - http://drupal.org/project/image_resize_filter
  IMCE - http://drupal.org/project/imce
  IMCE Mkdir - http://drupal.org/project/imce_mkdir
  IMCE Rename - http://drupal.org/project/imce_rename
  IMCE Crop - http://drupal.org/project/imce_crop
  Better Formats - http://drupal.org/project/better_formatsWHEW! That’s a lot of modules!
Don’t forget to set your “favicon” Deployment :  Set your “favicon” A – If your themes comes with a favicon icon. B – Or else you can upload image to be use as favicon I prefer to use the themes default favicon, I create favicon using the online generator  at the URL : http://favicon-generator.org A B
Check modules and themes directory Common mistakes for newbie is to put contributed modules and themes in the wrong directory. Don’t drop contributed modules and your custom theme in these Directory, this is for core modules And core theme only. Deployment : Check “modules and themes” directory
Check modules and themes directory Put it inside “sites/all/modules”  for modules and “sites/all/themes” for your custom theme. You can drop your downloaded contributed modules and themes or custom modules and themes into these directory. You can create folder named “modules” or “themes” inside this 2 folder and drop your module or theme there. Deployment : Check “modules and themes” directory
Check and set Caching mode PATH :  /admin/settings/performance Deployment  and Performance :  Check  and set Caching mode
Set Page compression and Block Cache PATH :  /admin/settings/performance Deployment  and Performance :  Set Page compression and Block cache
Optimize and Gzip CSS and Javascript file PATH :  /admin/settings/performance  - I use Javascript aggregator module to gzip and minify javascript. URL to download: http://drupal.org/project/javascript_aggregator   - I use cssgzip module to gzip css file URL to download : http://drupal.org/project/css_gzip ,[object Object],URL to download : http://drupal.org/project/boost Deployment  and Performance :  Optimize and Gzip CSS  and Javascript file
Confirmation : before CSS and Javascript optimization That’s a lot of http request! Deployment  and Performance :  Before optimizing CSS and Javascript
Confirmation : after optimization, only 2 http request, WOW what a great improvement! Deployment  and Performance :  Before optimizing CSS and Javascript
Use “Web developer toolbar” to confirm css and javascript file compression Uncompressed size Compressed size Take note of the big difference in the file sizes, really cool! You can download Web Developer toolbar here URL : http://chrispederick.com/work/web-developer/ Deployment  and Performance :  Use “Web developer toolbar”
Use “Yslow” to grade and check performance of your Drupal site  You can download Yslow here in this URL :  http://developer.yahoo.com/yslow/ Deployment  and Performance :  Use “Yslow”
Test  Performance and page speed using the free services of http://www.webpagetest.org According to survey, visitors go leave your site if it doesn’t load within 7 seconds Deployment  and Performance :  Use  webpagetes.org website to measure page speed
Check Module Page PATH :  /admin/build/modules Before deploying a site, disable all developer modules.      Example :         - views_ui         - imagecache_ui         - masquerade         - devel - theme editor Disable and uninstall module that your site don’t need. If you delete previously installed modules, you may want to clean your Drupal site system table, use “System table cleaner” module. URL : http://drupal.org/project/system_table_cleaner Note : Drupal 7 already included system table cleaner functionality Deployment  and Performance :  Check  Module Page
Check “.htaccess” Decide whether to redirect your visitors to domain with www prefix or without www prefix, good for SEO Add configuration for ETag Deployment  and SEO :  Check  “.htaccess”
Enable Clean URL / check URL aliases Enable path module and install pathauto. You may want to set update action in pathauto settings not to change the url alias if nodes are updated, this will avoid broken link and SEO  Problem. PATH : /admin/build/path/settings You may also install “transliteration” module to handle sanitation of file names. Deployment  and SEO :  Enable  clean URL / check URL aliases

Contenu connexe

Tendances

Take Command of WordPress With WP-CLI
Take Command of WordPress With WP-CLITake Command of WordPress With WP-CLI
Take Command of WordPress With WP-CLIDiana Thompson
 
Drupal is from Mars, Wordpress is from Venus: Finding your library's CMS soul...
Drupal is from Mars, Wordpress is from Venus: Finding your library's CMS soul...Drupal is from Mars, Wordpress is from Venus: Finding your library's CMS soul...
Drupal is from Mars, Wordpress is from Venus: Finding your library's CMS soul...sbclapp
 
Wampserver installation ajay-di-sharma
Wampserver installation ajay-di-sharmaWampserver installation ajay-di-sharma
Wampserver installation ajay-di-sharmaAjay Di Sharma
 
Tutorial PHP and Dreamweaver CS3
Tutorial PHP and Dreamweaver CS3Tutorial PHP and Dreamweaver CS3
Tutorial PHP and Dreamweaver CS3Halizah Ahmad
 
Tour of sh404SEF - SEO and security for Joomla
Tour of sh404SEF - SEO and security for JoomlaTour of sh404SEF - SEO and security for Joomla
Tour of sh404SEF - SEO and security for Joomlavdrover
 
SugarCE For Small And Medium Enterprises
SugarCE For Small And Medium EnterprisesSugarCE For Small And Medium Enterprises
SugarCE For Small And Medium EnterprisesDashamir Hoxha
 
ViA Bootstrap 4
ViA Bootstrap 4ViA Bootstrap 4
ViA Bootstrap 4imdurgesh
 
MySQL crash course by moshe kaplan
MySQL crash course by moshe kaplanMySQL crash course by moshe kaplan
MySQL crash course by moshe kaplanMoshe Kaplan
 
WordPress vs Other Content Management System
WordPress vs Other Content Management SystemWordPress vs Other Content Management System
WordPress vs Other Content Management SystemHTS Hosting
 
Drupal kickstart-workshop
Drupal kickstart-workshopDrupal kickstart-workshop
Drupal kickstart-workshopTed Husted
 
Front-end optimisation & jQuery Internals (Pycon)
Front-end optimisation & jQuery Internals (Pycon)Front-end optimisation & jQuery Internals (Pycon)
Front-end optimisation & jQuery Internals (Pycon)Artur Cistov
 
Take Command of WordPress With WP-CLI
Take Command of WordPress With WP-CLITake Command of WordPress With WP-CLI
Take Command of WordPress With WP-CLIDiana Thompson
 

Tendances (18)

Take Command of WordPress With WP-CLI
Take Command of WordPress With WP-CLITake Command of WordPress With WP-CLI
Take Command of WordPress With WP-CLI
 
Drupal is from Mars, Wordpress is from Venus: Finding your library's CMS soul...
Drupal is from Mars, Wordpress is from Venus: Finding your library's CMS soul...Drupal is from Mars, Wordpress is from Venus: Finding your library's CMS soul...
Drupal is from Mars, Wordpress is from Venus: Finding your library's CMS soul...
 
Team lab install_en
Team lab install_enTeam lab install_en
Team lab install_en
 
Wampserver installation ajay-di-sharma
Wampserver installation ajay-di-sharmaWampserver installation ajay-di-sharma
Wampserver installation ajay-di-sharma
 
Tutorial PHP and Dreamweaver CS3
Tutorial PHP and Dreamweaver CS3Tutorial PHP and Dreamweaver CS3
Tutorial PHP and Dreamweaver CS3
 
Big Data Workshop
Big Data WorkshopBig Data Workshop
Big Data Workshop
 
Upload[1]
Upload[1]Upload[1]
Upload[1]
 
Tour of sh404SEF - SEO and security for Joomla
Tour of sh404SEF - SEO and security for JoomlaTour of sh404SEF - SEO and security for Joomla
Tour of sh404SEF - SEO and security for Joomla
 
SugarCE For Small And Medium Enterprises
SugarCE For Small And Medium EnterprisesSugarCE For Small And Medium Enterprises
SugarCE For Small And Medium Enterprises
 
An Introduction to Drupal
An Introduction to DrupalAn Introduction to Drupal
An Introduction to Drupal
 
ViA Bootstrap 4
ViA Bootstrap 4ViA Bootstrap 4
ViA Bootstrap 4
 
MySQL crash course by moshe kaplan
MySQL crash course by moshe kaplanMySQL crash course by moshe kaplan
MySQL crash course by moshe kaplan
 
Killer word press-checklist
Killer word press-checklistKiller word press-checklist
Killer word press-checklist
 
Joomla Manual in Compatible with XAMPP
Joomla Manual in Compatible with XAMPPJoomla Manual in Compatible with XAMPP
Joomla Manual in Compatible with XAMPP
 
WordPress vs Other Content Management System
WordPress vs Other Content Management SystemWordPress vs Other Content Management System
WordPress vs Other Content Management System
 
Drupal kickstart-workshop
Drupal kickstart-workshopDrupal kickstart-workshop
Drupal kickstart-workshop
 
Front-end optimisation & jQuery Internals (Pycon)
Front-end optimisation & jQuery Internals (Pycon)Front-end optimisation & jQuery Internals (Pycon)
Front-end optimisation & jQuery Internals (Pycon)
 
Take Command of WordPress With WP-CLI
Take Command of WordPress With WP-CLITake Command of WordPress With WP-CLI
Take Command of WordPress With WP-CLI
 

En vedette

Content Analysis
Content AnalysisContent Analysis
Content Analysisstoliros
 
Slide cast FOR FACEBOOK
Slide cast FOR FACEBOOKSlide cast FOR FACEBOOK
Slide cast FOR FACEBOOKchloepan
 
Critical perspectives
Critical perspectivesCritical perspectives
Critical perspectivesstoliros
 
Portfolio katrulina a price
Portfolio katrulina a pricePortfolio katrulina a price
Portfolio katrulina a priceAnna Katrulina
 
step skills pixs sy 2009-2010
step skills pixs sy 2009-2010step skills pixs sy 2009-2010
step skills pixs sy 2009-2010Nancy Tugnao
 
Triduo Sr Angela Vallese_3 giorno eng
Triduo Sr Angela Vallese_3 giorno engTriduo Sr Angela Vallese_3 giorno eng
Triduo Sr Angela Vallese_3 giorno engMaike Loes
 
Protocolo Captura 2011 Eu
Protocolo  Captura 2011 EuProtocolo  Captura 2011 Eu
Protocolo Captura 2011 EuKatalogador
 
Telemetry over gprs vico indonesia
Telemetry over gprs vico indonesiaTelemetry over gprs vico indonesia
Telemetry over gprs vico indonesiaImam Mashari, MBA
 
Brezhnev-Themes in Soviet Life (2)
Brezhnev-Themes in Soviet Life (2)Brezhnev-Themes in Soviet Life (2)
Brezhnev-Themes in Soviet Life (2)mhill52
 
Flight of the black and yellow
Flight of the black and yellowFlight of the black and yellow
Flight of the black and yellowMichele Kearns
 
Lep awards winners2010
Lep awards winners2010Lep awards winners2010
Lep awards winners2010stoliros
 
Arul NCOAUG presentation - Aug 2010
Arul NCOAUG presentation - Aug 2010Arul NCOAUG presentation - Aug 2010
Arul NCOAUG presentation - Aug 2010asenapathi
 

En vedette (20)

Pati alegre (fil eminimizer)
Pati alegre (fil eminimizer)Pati alegre (fil eminimizer)
Pati alegre (fil eminimizer)
 
Content Analysis
Content AnalysisContent Analysis
Content Analysis
 
Slide cast FOR FACEBOOK
Slide cast FOR FACEBOOKSlide cast FOR FACEBOOK
Slide cast FOR FACEBOOK
 
Critical perspectives
Critical perspectivesCritical perspectives
Critical perspectives
 
Portfolio katrulina a price
Portfolio katrulina a pricePortfolio katrulina a price
Portfolio katrulina a price
 
step skills pixs sy 2009-2010
step skills pixs sy 2009-2010step skills pixs sy 2009-2010
step skills pixs sy 2009-2010
 
Tema 3
Tema 3Tema 3
Tema 3
 
arguments
argumentsarguments
arguments
 
Triduo Sr Angela Vallese_3 giorno eng
Triduo Sr Angela Vallese_3 giorno engTriduo Sr Angela Vallese_3 giorno eng
Triduo Sr Angela Vallese_3 giorno eng
 
Novembre 2011
Novembre 2011Novembre 2011
Novembre 2011
 
Kirill
KirillKirill
Kirill
 
Protocolo Captura 2011 Eu
Protocolo  Captura 2011 EuProtocolo  Captura 2011 Eu
Protocolo Captura 2011 Eu
 
Telemetry over gprs vico indonesia
Telemetry over gprs vico indonesiaTelemetry over gprs vico indonesia
Telemetry over gprs vico indonesia
 
Pareidolia
PareidoliaPareidolia
Pareidolia
 
Brezhnev-Themes in Soviet Life (2)
Brezhnev-Themes in Soviet Life (2)Brezhnev-Themes in Soviet Life (2)
Brezhnev-Themes in Soviet Life (2)
 
TV online
TV onlineTV online
TV online
 
Marxism
MarxismMarxism
Marxism
 
Flight of the black and yellow
Flight of the black and yellowFlight of the black and yellow
Flight of the black and yellow
 
Lep awards winners2010
Lep awards winners2010Lep awards winners2010
Lep awards winners2010
 
Arul NCOAUG presentation - Aug 2010
Arul NCOAUG presentation - Aug 2010Arul NCOAUG presentation - Aug 2010
Arul NCOAUG presentation - Aug 2010
 

Similaire à Drupal Checklist for Site Builder and Web admin

Introduction to Drupal - Installation, Anatomy, Terminologies
Introduction to Drupal - Installation, Anatomy, TerminologiesIntroduction to Drupal - Installation, Anatomy, Terminologies
Introduction to Drupal - Installation, Anatomy, TerminologiesGerald Villorente
 
Drupal 7x Installation - Introduction to Drupal Concepts
Drupal 7x Installation - Introduction to Drupal ConceptsDrupal 7x Installation - Introduction to Drupal Concepts
Drupal 7x Installation - Introduction to Drupal ConceptsMicky Metts
 
SynapseIndia drupal presentation on drupal best practices
SynapseIndia drupal  presentation on drupal best practicesSynapseIndia drupal  presentation on drupal best practices
SynapseIndia drupal presentation on drupal best practicesSynapseindiappsdevelopment
 
3 Configuring Drupal
3 Configuring Drupal3 Configuring Drupal
3 Configuring DrupalWingston
 
8 Web Practices for Drupal
8  Web Practices for Drupal8  Web Practices for Drupal
8 Web Practices for DrupalWingston
 
Introduction of drupal7 by ayushi infotech
Introduction of drupal7 by ayushi infotechIntroduction of drupal7 by ayushi infotech
Introduction of drupal7 by ayushi infotechMandakini Kumari
 
Drupalxamppxp 1229687989691791 1
Drupalxamppxp 1229687989691791 1Drupalxamppxp 1229687989691791 1
Drupalxamppxp 1229687989691791 1beckman16
 
Installation of Drupal on Windows XP with XAMPP
Installation of Drupal on Windows XP with XAMPPInstallation of Drupal on Windows XP with XAMPP
Installation of Drupal on Windows XP with XAMPPRupesh Kumar
 
Anthony McKeown Drupal Presentation
Anthony McKeown Drupal PresentationAnthony McKeown Drupal Presentation
Anthony McKeown Drupal PresentationTony McKeown
 
LuisRodriguezLocalDevEnvironmentsDrupalOpenDays
LuisRodriguezLocalDevEnvironmentsDrupalOpenDaysLuisRodriguezLocalDevEnvironmentsDrupalOpenDays
LuisRodriguezLocalDevEnvironmentsDrupalOpenDaysLuis Rodríguez Castromil
 
New: Two Methods of Installing Drupal on Windows XP with XAMPP
New: Two Methods of Installing Drupal on Windows XP with XAMPPNew: Two Methods of Installing Drupal on Windows XP with XAMPP
New: Two Methods of Installing Drupal on Windows XP with XAMPPRupesh Kumar
 
Help! I inherited a Drupal Site! - DrupalCamp Atlanta 2016
Help! I inherited a Drupal Site! - DrupalCamp Atlanta 2016Help! I inherited a Drupal Site! - DrupalCamp Atlanta 2016
Help! I inherited a Drupal Site! - DrupalCamp Atlanta 2016Paul McKibben
 
13th Sep - Drupal Global Training Day by TCS - Drupal core advanced overview
13th Sep - Drupal Global Training Day by TCS - Drupal core advanced overview13th Sep - Drupal Global Training Day by TCS - Drupal core advanced overview
13th Sep - Drupal Global Training Day by TCS - Drupal core advanced overviewDrupalMumbai
 
Front end performance optimization
Front end performance optimizationFront end performance optimization
Front end performance optimizationStevie T
 
How to Install and Configure Drupal CMS
How to Install and Configure Drupal CMSHow to Install and Configure Drupal CMS
How to Install and Configure Drupal CMSdarandon
 
Drupal Conference
Drupal ConferenceDrupal Conference
Drupal ConferenceChanHan Hy
 
How to? Drupal developer toolkit. Dennis Povshedny.
How to? Drupal developer toolkit. Dennis Povshedny.How to? Drupal developer toolkit. Dennis Povshedny.
How to? Drupal developer toolkit. Dennis Povshedny.DrupalCampDN
 

Similaire à Drupal Checklist for Site Builder and Web admin (20)

Introduction to Drupal - Installation, Anatomy, Terminologies
Introduction to Drupal - Installation, Anatomy, TerminologiesIntroduction to Drupal - Installation, Anatomy, Terminologies
Introduction to Drupal - Installation, Anatomy, Terminologies
 
Drupal 7x Installation - Introduction to Drupal Concepts
Drupal 7x Installation - Introduction to Drupal ConceptsDrupal 7x Installation - Introduction to Drupal Concepts
Drupal 7x Installation - Introduction to Drupal Concepts
 
SynapseIndia drupal presentation on drupal best practices
SynapseIndia drupal  presentation on drupal best practicesSynapseIndia drupal  presentation on drupal best practices
SynapseIndia drupal presentation on drupal best practices
 
3 Configuring Drupal
3 Configuring Drupal3 Configuring Drupal
3 Configuring Drupal
 
8 Web Practices for Drupal
8  Web Practices for Drupal8  Web Practices for Drupal
8 Web Practices for Drupal
 
Moving to Drupal
Moving to DrupalMoving to Drupal
Moving to Drupal
 
Introduction of drupal7 by ayushi infotech
Introduction of drupal7 by ayushi infotechIntroduction of drupal7 by ayushi infotech
Introduction of drupal7 by ayushi infotech
 
Drupalxamppxp 1229687989691791 1
Drupalxamppxp 1229687989691791 1Drupalxamppxp 1229687989691791 1
Drupalxamppxp 1229687989691791 1
 
Installation of Drupal on Windows XP with XAMPP
Installation of Drupal on Windows XP with XAMPPInstallation of Drupal on Windows XP with XAMPP
Installation of Drupal on Windows XP with XAMPP
 
Anthony McKeown Drupal Presentation
Anthony McKeown Drupal PresentationAnthony McKeown Drupal Presentation
Anthony McKeown Drupal Presentation
 
LuisRodriguezLocalDevEnvironmentsDrupalOpenDays
LuisRodriguezLocalDevEnvironmentsDrupalOpenDaysLuisRodriguezLocalDevEnvironmentsDrupalOpenDays
LuisRodriguezLocalDevEnvironmentsDrupalOpenDays
 
New: Two Methods of Installing Drupal on Windows XP with XAMPP
New: Two Methods of Installing Drupal on Windows XP with XAMPPNew: Two Methods of Installing Drupal on Windows XP with XAMPP
New: Two Methods of Installing Drupal on Windows XP with XAMPP
 
Help! I inherited a Drupal Site! - DrupalCamp Atlanta 2016
Help! I inherited a Drupal Site! - DrupalCamp Atlanta 2016Help! I inherited a Drupal Site! - DrupalCamp Atlanta 2016
Help! I inherited a Drupal Site! - DrupalCamp Atlanta 2016
 
13th Sep - Drupal Global Training Day by TCS - Drupal core advanced overview
13th Sep - Drupal Global Training Day by TCS - Drupal core advanced overview13th Sep - Drupal Global Training Day by TCS - Drupal core advanced overview
13th Sep - Drupal Global Training Day by TCS - Drupal core advanced overview
 
Front end performance optimization
Front end performance optimizationFront end performance optimization
Front end performance optimization
 
Drupal Multi-site for Fun and Profit
Drupal Multi-site for Fun and ProfitDrupal Multi-site for Fun and Profit
Drupal Multi-site for Fun and Profit
 
How to Install and Configure Drupal CMS
How to Install and Configure Drupal CMSHow to Install and Configure Drupal CMS
How to Install and Configure Drupal CMS
 
Drupal Conference
Drupal ConferenceDrupal Conference
Drupal Conference
 
How to? Drupal developer toolkit. Dennis Povshedny.
How to? Drupal developer toolkit. Dennis Povshedny.How to? Drupal developer toolkit. Dennis Povshedny.
How to? Drupal developer toolkit. Dennis Povshedny.
 
Web hosting Free Hosting
Web hosting Free HostingWeb hosting Free Hosting
Web hosting Free Hosting
 

Plus de Adolfo Nasol

Drupal debugging tips
Drupal debugging tipsDrupal debugging tips
Drupal debugging tipsAdolfo Nasol
 
Mysql cheatsheet - Part 2
Mysql cheatsheet - Part 2Mysql cheatsheet - Part 2
Mysql cheatsheet - Part 2Adolfo Nasol
 
Managing drupal views in code
Managing drupal views in codeManaging drupal views in code
Managing drupal views in codeAdolfo Nasol
 
Event Registration System Part 2
Event Registration System Part 2Event Registration System Part 2
Event Registration System Part 2Adolfo Nasol
 
Events Registration System Part 1
Events Registration System Part 1Events Registration System Part 1
Events Registration System Part 1Adolfo Nasol
 
Installing mandriva linux mandriva community wiki
Installing mandriva linux   mandriva community wikiInstalling mandriva linux   mandriva community wiki
Installing mandriva linux mandriva community wikiAdolfo Nasol
 
Drush for drupal website builder
Drush for drupal website builderDrush for drupal website builder
Drush for drupal website builderAdolfo Nasol
 
Converting (X)HTML/CSS template to Drupal 7 Theme
Converting (X)HTML/CSS template to Drupal 7 ThemeConverting (X)HTML/CSS template to Drupal 7 Theme
Converting (X)HTML/CSS template to Drupal 7 ThemeAdolfo Nasol
 
Creating Drupal 7 subtheme
Creating Drupal 7 subthemeCreating Drupal 7 subtheme
Creating Drupal 7 subthemeAdolfo Nasol
 
Chs nc2 reviewer - with oral questioning
Chs nc2 reviewer - with oral questioningChs nc2 reviewer - with oral questioning
Chs nc2 reviewer - with oral questioningAdolfo Nasol
 
Operating System Concepts : Reports
Operating System Concepts : ReportsOperating System Concepts : Reports
Operating System Concepts : ReportsAdolfo Nasol
 

Plus de Adolfo Nasol (14)

Drupal debugging tips
Drupal debugging tipsDrupal debugging tips
Drupal debugging tips
 
Mysql cheatsheet - Part 2
Mysql cheatsheet - Part 2Mysql cheatsheet - Part 2
Mysql cheatsheet - Part 2
 
Mysql cheatsheet
Mysql cheatsheetMysql cheatsheet
Mysql cheatsheet
 
Managing drupal views in code
Managing drupal views in codeManaging drupal views in code
Managing drupal views in code
 
Event Registration System Part 2
Event Registration System Part 2Event Registration System Part 2
Event Registration System Part 2
 
Events Registration System Part 1
Events Registration System Part 1Events Registration System Part 1
Events Registration System Part 1
 
Installing mandriva linux mandriva community wiki
Installing mandriva linux   mandriva community wikiInstalling mandriva linux   mandriva community wiki
Installing mandriva linux mandriva community wiki
 
Drush for drupal website builder
Drush for drupal website builderDrush for drupal website builder
Drush for drupal website builder
 
Converting (X)HTML/CSS template to Drupal 7 Theme
Converting (X)HTML/CSS template to Drupal 7 ThemeConverting (X)HTML/CSS template to Drupal 7 Theme
Converting (X)HTML/CSS template to Drupal 7 Theme
 
Research methods
Research methodsResearch methods
Research methods
 
Personality
PersonalityPersonality
Personality
 
Creating Drupal 7 subtheme
Creating Drupal 7 subthemeCreating Drupal 7 subtheme
Creating Drupal 7 subtheme
 
Chs nc2 reviewer - with oral questioning
Chs nc2 reviewer - with oral questioningChs nc2 reviewer - with oral questioning
Chs nc2 reviewer - with oral questioning
 
Operating System Concepts : Reports
Operating System Concepts : ReportsOperating System Concepts : Reports
Operating System Concepts : Reports
 

Dernier

[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality AssuranceInflectra
 
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS:  6 Ways to Automate Your Data IntegrationBridging Between CAD & GIS:  6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integrationmarketing932765
 
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesMuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesManik S Magar
 
Microsoft 365 Copilot: How to boost your productivity with AI – Part two: Dat...
Microsoft 365 Copilot: How to boost your productivity with AI – Part two: Dat...Microsoft 365 Copilot: How to boost your productivity with AI – Part two: Dat...
Microsoft 365 Copilot: How to boost your productivity with AI – Part two: Dat...Nikki Chapple
 
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Nikki Chapple
 
QMMS Lesson 2 - Using MS Excel Formula.pdf
QMMS Lesson 2 - Using MS Excel Formula.pdfQMMS Lesson 2 - Using MS Excel Formula.pdf
QMMS Lesson 2 - Using MS Excel Formula.pdfROWELL MARQUINA
 
Digital Tools & AI in Career Development
Digital Tools & AI in Career DevelopmentDigital Tools & AI in Career Development
Digital Tools & AI in Career DevelopmentMahmoud Rabie
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesThousandEyes
 
Infrared simulation and processing on Nvidia platforms
Infrared simulation and processing on Nvidia platformsInfrared simulation and processing on Nvidia platforms
Infrared simulation and processing on Nvidia platformsYoss Cohen
 
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security ObservabilityGlenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security Observabilityitnewsafrica
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditSkynet Technologies
 
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...Jeffrey Haguewood
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Alkin Tezuysal
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 
JET Technology Labs White Paper for Virtualized Security and Encryption Techn...
JET Technology Labs White Paper for Virtualized Security and Encryption Techn...JET Technology Labs White Paper for Virtualized Security and Encryption Techn...
JET Technology Labs White Paper for Virtualized Security and Encryption Techn...amber724300
 
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical InfrastructureVarsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructureitnewsafrica
 
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024TopCSSGallery
 
Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Kaya Weers
 
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxGenerative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxfnnc6jmgwh
 

Dernier (20)

[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
 
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS:  6 Ways to Automate Your Data IntegrationBridging Between CAD & GIS:  6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
 
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesMuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
 
Microsoft 365 Copilot: How to boost your productivity with AI – Part two: Dat...
Microsoft 365 Copilot: How to boost your productivity with AI – Part two: Dat...Microsoft 365 Copilot: How to boost your productivity with AI – Part two: Dat...
Microsoft 365 Copilot: How to boost your productivity with AI – Part two: Dat...
 
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
 
QMMS Lesson 2 - Using MS Excel Formula.pdf
QMMS Lesson 2 - Using MS Excel Formula.pdfQMMS Lesson 2 - Using MS Excel Formula.pdf
QMMS Lesson 2 - Using MS Excel Formula.pdf
 
Digital Tools & AI in Career Development
Digital Tools & AI in Career DevelopmentDigital Tools & AI in Career Development
Digital Tools & AI in Career Development
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
 
Infrared simulation and processing on Nvidia platforms
Infrared simulation and processing on Nvidia platformsInfrared simulation and processing on Nvidia platforms
Infrared simulation and processing on Nvidia platforms
 
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security ObservabilityGlenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance Audit
 
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 
JET Technology Labs White Paper for Virtualized Security and Encryption Techn...
JET Technology Labs White Paper for Virtualized Security and Encryption Techn...JET Technology Labs White Paper for Virtualized Security and Encryption Techn...
JET Technology Labs White Paper for Virtualized Security and Encryption Techn...
 
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical InfrastructureVarsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
 
How Tech Giants Cut Corners to Harvest Data for A.I.
How Tech Giants Cut Corners to Harvest Data for A.I.How Tech Giants Cut Corners to Harvest Data for A.I.
How Tech Giants Cut Corners to Harvest Data for A.I.
 
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024
 
Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)
 
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxGenerative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
 

Drupal Checklist for Site Builder and Web admin

  • 1. Checklist for Drupal site builder and web admin Adolfo G. Nasol http:// danreb.com
  • 2. The Topic I’ve got the idea after attending on the last Drupal PH meet-up ( Jan 14, 2011) These are my list of best practice ( I hope it is ) Drupal site building strategy Dedicated for web admin, site builder, Drupal themer and junior developer and Drupal newbie. Purpose : to be able to hear feedback from fellow developer about their own strategy and practice.
  • 3. About Me I am a Freelancer working as Drupal Site builder, Drupal Themer / Designer and Website admin A total of 1 year and 39 weeks since I started using Drupal and registered as a member in PhDrug -> http://groups.drupal.org/philippines Information and Communication Technology Student Short Course trainers teaching Dreamweaver and Fireworks
  • 4. Category checklist Deployment Performance Administration Troubleshooting Security
  • 5. Always check “Status report” Deployment : Check “Status report” PATH : /admin/reports/status Resolve any errors shown in status report
  • 6. Always check “Status report” Deployment : Check “Status report” PATH : /admin/reports/status/sql PATH : /admin/reports/status/php Status report page gives you a lot of useful information for troubleshooting your Drupal sites and it will allow you to resolve almost 90% of the problem of your Drupal sites just by resolving errors and issues found in this page.
  • 7. Check the “Site Information” Check if all information define here is correct such as “E-mail address and Site name”. - use email address ending in sites domain Set the default front page, slogan if needed, footer and mission statement If you installed Poormans cron module, you can set the time interval in this page for running cron. Deployment : Check the “ Site Information”
  • 8. Check “User registration” settings Path : /admin/user/settings The default value of Visitors can create accounts and no administrator approval is required is easily overlooked, and often undesired. Deployment : Check the “ User registration” settings
  • 9. Check “User registration” settings If you disable the public registration and choose Only site administrators can create new user accounts you may also interested removing the link “Request new password” in the login block or page, the module “No request new password” will allow you to do this. Module Download URL : http://drupal.org/project/noreqnewpass Deployment : Check the “ User registration” settings
  • 10. Disallow odd usernames If you enabled the public registration for your Drupal sites, It is recommended that you prevent users from registering on your website with some odd usernames like: root, admin, webmaster, administrator etc. To prevent this from happening: - Go to Administer > User management > Access rules > Add rule - Set Access type to Deny - Set Rule type to Username - In Mask type root - Click the Add rule button Repeat this for every username you don't want to be created on your site. Deployment : Disallow odd usernames
  • 11. Disallow odd usernames Deployment : Disallow odd usernames You can also add rule to disallow users who registered using disposable emails, or certain domain name.
  • 12. Confirm “Email” settings Often, placeholder email addresses will be filled in during development, and should be updated before deployment. Try to start with the correct addresses from the beginning when possible. In addition to Drupal's global site mail, email addresses is stored in a variety of places: The admin user's account, contact forms, webforms, ubercart etc. Deployment : Confirm “ Email” settings
  • 13. Confirm “Email” settings In every site I’ve maintain, I always set the notification for new security release to send updates to my email account , PATH -> /admin/reports/updates/settings Deployment : Confirm “ Email” settings
  • 14. Adjust “Database logging” row limit The default row limit of 1000 can wrap quickly, database logging gives you information for vital debugging when you need it. The average row length is generally around 1kB, so you can boost this up to 100,000 rows and still leave you with a manageable watchdog table. Note : If your website is running on a shared hosting account, turning off database logging and automatic updates will speed up loading of your Drupal sites. PATH : /admin/settings/logging/dblog PATH : /admin/reports/dblog Deployment : Adjust “Database logging” row limit
  • 15. Use “PhpMyadmin” to remove database overhead, optimize and check your Drupal’s database regularly If you don’t regularly check your Drupal sites database, overhead will grow bigger and bigger in size and your site will slow down loading pages. Deployment and Performance : Use PhpMyadmin to repair and optimize Drupal database tables
  • 16. Set-up “Cron” Easiest way is to install “Poormanscron” modules, download URL is - > http://drupal.org/project/poormanscron Then in “Site Information” page you can adjust the time intervals of your Drupal sites to run cron. You can also setup cron in your website cPanel, information on setting up cron can be found here : http://drupal.org/cron Poormanscron is now part of Drupal 7 Deployment : Set up cron : Install Poormanscron module
  • 17. Check “Error reporting ” page Deployment : Check “Error reporting “ PATH : /admin/settings/error-reporting
  • 18. Error 403 and Error 404 pages If you don’t want visitors trying to go to restricted directory redirected into user login page, then alternatively you can create a node with some extra information so that your visitors don't ever fall on the default blank 403 access denied page. Create the node and remember its node ID Go back to Administer > Site configuration > Error reporting Set Default 403 (Access denied) page to the node ID you just created Save your settings and repeat the same step for setting up Error 404 page. If you want you can also use the Search 404 module , download URL : http://drupal.org/project/search404 Deployment : Error 403 and Error 404 pages
  • 19.
  • 20. Install Backup and Migrate Deployment : Install Backup and Migrate I Use Backup and Migrate module to backup client Drupal database automatically
  • 21.
  • 22. Use “FireFTP” to synchronized and upload files Deployment : Use “FireFTP” to synchronized and upload files
  • 23. Use “FireFTP” to synchronized and upload files Download URL : http://fireftp.mozdev.org/ - FireFTP is an FTP clients extension for Mozilla Firefox Deployment : Use “FireFTP” to upload and synchronized files
  • 24. Install WYSIWYG for your site users or clients Deployment : Install WYSIWYG editor
  • 25.
  • 26. CKEditor link - http://drupal.org/project/ckeditor_link
  • 27. CKEditor SWF - http://drupal.org/project/ckeditor_swf
  • 28. Image resize filter - http://drupal.org/project/image_resize_filter
  • 29. IMCE - http://drupal.org/project/imce
  • 30. IMCE Mkdir - http://drupal.org/project/imce_mkdir
  • 31. IMCE Rename - http://drupal.org/project/imce_rename
  • 32. IMCE Crop - http://drupal.org/project/imce_crop
  • 33. Better Formats - http://drupal.org/project/better_formatsWHEW! That’s a lot of modules!
  • 34. Don’t forget to set your “favicon” Deployment : Set your “favicon” A – If your themes comes with a favicon icon. B – Or else you can upload image to be use as favicon I prefer to use the themes default favicon, I create favicon using the online generator at the URL : http://favicon-generator.org A B
  • 35. Check modules and themes directory Common mistakes for newbie is to put contributed modules and themes in the wrong directory. Don’t drop contributed modules and your custom theme in these Directory, this is for core modules And core theme only. Deployment : Check “modules and themes” directory
  • 36. Check modules and themes directory Put it inside “sites/all/modules” for modules and “sites/all/themes” for your custom theme. You can drop your downloaded contributed modules and themes or custom modules and themes into these directory. You can create folder named “modules” or “themes” inside this 2 folder and drop your module or theme there. Deployment : Check “modules and themes” directory
  • 37. Check and set Caching mode PATH : /admin/settings/performance Deployment and Performance : Check and set Caching mode
  • 38. Set Page compression and Block Cache PATH : /admin/settings/performance Deployment and Performance : Set Page compression and Block cache
  • 39.
  • 40. Confirmation : before CSS and Javascript optimization That’s a lot of http request! Deployment and Performance : Before optimizing CSS and Javascript
  • 41. Confirmation : after optimization, only 2 http request, WOW what a great improvement! Deployment and Performance : Before optimizing CSS and Javascript
  • 42. Use “Web developer toolbar” to confirm css and javascript file compression Uncompressed size Compressed size Take note of the big difference in the file sizes, really cool! You can download Web Developer toolbar here URL : http://chrispederick.com/work/web-developer/ Deployment and Performance : Use “Web developer toolbar”
  • 43. Use “Yslow” to grade and check performance of your Drupal site You can download Yslow here in this URL : http://developer.yahoo.com/yslow/ Deployment and Performance : Use “Yslow”
  • 44. Test Performance and page speed using the free services of http://www.webpagetest.org According to survey, visitors go leave your site if it doesn’t load within 7 seconds Deployment and Performance : Use webpagetes.org website to measure page speed
  • 45. Check Module Page PATH : /admin/build/modules Before deploying a site, disable all developer modules. Example : - views_ui - imagecache_ui - masquerade - devel - theme editor Disable and uninstall module that your site don’t need. If you delete previously installed modules, you may want to clean your Drupal site system table, use “System table cleaner” module. URL : http://drupal.org/project/system_table_cleaner Note : Drupal 7 already included system table cleaner functionality Deployment and Performance : Check Module Page
  • 46. Check “.htaccess” Decide whether to redirect your visitors to domain with www prefix or without www prefix, good for SEO Add configuration for ETag Deployment and SEO : Check “.htaccess”
  • 47. Enable Clean URL / check URL aliases Enable path module and install pathauto. You may want to set update action in pathauto settings not to change the url alias if nodes are updated, this will avoid broken link and SEO Problem. PATH : /admin/build/path/settings You may also install “transliteration” module to handle sanitation of file names. Deployment and SEO : Enable clean URL / check URL aliases
  • 48. Ensure “settings.php” is write protected Make sure settings.php is set to read only Security : Ensure "settings.php" is write protected
  • 49. Protecting critical users I use the following modules to protect critical users, for example the root user which is User 1 - Protect Critical User : this protect critical user from being deleted, URL : http://drupal.org/project/protect_critical_users - Permission Lock : I don’t want to allow my client to play with a bomb, so I restricted them from configuring explosive Drupal permission settings. URL : http://drupal.org/project/permissions_lock - User protect : Just like user protect but with more options and much more complicated configuration. URL : http://drupal.org/project/userprotect Security : Protecting critical users
  • 50. Disable user 1 Be sure to have at least one user (other than uid 1) that has the permission administer users from user module. Login with this account (again other than uid 1) Go to Administer > User management > Users Edit user with uid == 1 Set Status to Blocked Click Save Now user 1 can't login to your website. No more risk for password discovery for this account. Please note that you should check enabled modules code, sometimes they use user 1 to achieve some tasks. And this could break some modules features. So use with caution. Security : Protecting critical users
  • 51. Hide User 1 and change its user login name Install User One module from http://drupal.org/project/userone This module will hide User 1 from user listing page and also control viewing and editing of user one account. It also allow user 1 to login with different name. Security : Protecting critical users
  • 52. Remove “.txt” files in the root directory You may upload and leave this txt file : robot.txt intact You can skip uploading all this txt files into your production server. Possible security threat according to some developer. Deployment and Security : Remove “.txt” files in the root directory
  • 53. Check allowed “Input format” Installed Better format module and you can set the default format for your users and also per content types URL : http://drupal.org/project/better_formats Deployment and Security : Check input format
  • 54. Check and configure permissions after enabling new modules Deployment and Security : Check Permissions
  • 55. ENDPresented by : Adolfo G. Nasol http://danreb.com09195951276YM : carnielshopSkype : danrebco END OF PRESENTATION : Drupalcamp 2011 Philippine Drupal User Groups

Notes de l'éditeur

  1. Created and prepared by : Adolfo G. Nasol for Philippine Drupal User Group Drupal Camp events Feb 5 2011