SlideShare une entreprise Scribd logo
1  sur  34
Tips for Site Builders and
Administrators
Tim Plummer
11th April 2017
1
How to upgrade to PHP7
• Firstly, what PHP version do you currently
have?
• System->System Information
Why not stick with older PHP?
• PHP 5.5 or lower is past end of life
Why PHP7?
• Simply changing the PHP version to 7 can
make your Joomla site run up to 50% faster
• Supported since Joomla 3.5
How to upgrade to PHP7
• Many web hosts allow you to select PHP
version in Cpanel
• If multiple sites in hosting account, you can set
PHP version for each
How to upgrade to PHP7
• Select PHP version and press save
• Now check your site to make sure nothing breaks
(ideally do all this on a staging copy not live)
How to upgrade to PHP7
• If something breaks, you can revert back to
previous PHP version until you fix issue (such
as upgrading third party extension)
• If you see depreciated notices or warnings,
you can reduce your error reporting in global
config to none.
How to upgrade to PHP7
• In your system info you will see updated PHP
version
2
Why turn on SSL?
• If you don’t use SSL, visitors to your site may
get warnings in their browser
• Google loves SSL, so enabling it could improve
SEO
• Important for sites processing payment
transactions
How to turn on SSL
• First you need to install SSL certificate
• Let’s Encrypt offer free SSL certificates
• Some web hosts such as Siteground make this
easy via their Cpanel
Use this affiliate link if you sign up with Siteground so Tim gets $50
https://www.siteground.com/index.htm?afcode=6a5c9c06a90863bcace08276ca55ee25
Installing SSL certificate
• Select domain, enter your email and press
install
Edit your configuration.php file
public $live_site = '';
//change to
public $live_site = ‘https://www.yourdomain.com.au';
Edit .htaccess
• To redirect all HTTP requests to HTTPS.
• Add this code to bottom of file
RewriteEngine On
RewriteCond %{HTTPS} OFF
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
Global Config
• Force HTTPS for entire site
How to turn on SSL
• Site should now be HTTPS
3
A quick lesson in CSS
How to debug CSS issues
• Browsers have built in tools
• Right click->inspect element
How to debug CSS issues
• You can see what CSS applies to that element
How to debug CSS issues
• You can add CSS on the fly to see what it will
look like
• Changes only temporary for browser session
4
Set error reporting to NONE
• For production site, error reporting should be
set to none
5
Always have an offsite backup
• I use Akeeba Backup, with automated daily
backup going to Amazon S3
6
Hide your admin URL
• Prevents people from brute force guessing
your password
• Akeeba Admin Tools Professional
Hide your admin URL
Hide your admin URL
• Now to access backend you need to add
parameter
www.yourwebsite.com.au/administrator/?sydneyjug
• If you try admin URL without parameter, it will
redirect you to front end
Hide your admin URL
• You can also automatically block repeat
offenders
7
Debug Javascript
• Firefox, tools->web developer->browser console
• Make sure show errors is turned on
• One JS error can cause all subsequent JS code not to
execute
Tim Plummer
www.timplummer.com.au
@bfsurvey

Contenu connexe

Tendances

Extension developer secrets - How to make money with Joomla
Extension developer secrets - How to make money with JoomlaExtension developer secrets - How to make money with Joomla
Extension developer secrets - How to make money with Joomla
Tim Plummer
 
Joomla2 5-afirstlook-120214054019-phpapp01
Joomla2 5-afirstlook-120214054019-phpapp01Joomla2 5-afirstlook-120214054019-phpapp01
Joomla2 5-afirstlook-120214054019-phpapp01
Deepak Sangramsingh
 
Getting Started with the Joomla! Framework
Getting Started with the Joomla! FrameworkGetting Started with the Joomla! Framework
Getting Started with the Joomla! Framework
Michael Babker
 
Week 5 - Introduction to plug-ins and widgets
Week 5 - Introduction to plug-ins and widgetsWeek 5 - Introduction to plug-ins and widgets
Week 5 - Introduction to plug-ins and widgets
henri_makembe
 
Week 11 - Hosting and Migration
Week 11 - Hosting and MigrationWeek 11 - Hosting and Migration
Week 11 - Hosting and Migration
henri_makembe
 
Week 7 introduction to theme development
Week 7   introduction to theme developmentWeek 7   introduction to theme development
Week 7 introduction to theme development
henri_makembe
 
Week 12 - Search Engine Optimization
Week 12 -  Search Engine OptimizationWeek 12 -  Search Engine Optimization
Week 12 - Search Engine Optimization
henri_makembe
 

Tendances (20)

Extension developer secrets - How to make money with Joomla
Extension developer secrets - How to make money with JoomlaExtension developer secrets - How to make money with Joomla
Extension developer secrets - How to make money with Joomla
 
Joomla2 5-afirstlook-120214054019-phpapp01
Joomla2 5-afirstlook-120214054019-phpapp01Joomla2 5-afirstlook-120214054019-phpapp01
Joomla2 5-afirstlook-120214054019-phpapp01
 
Rapid application development for WordPress using AWF
Rapid application development for WordPress using AWFRapid application development for WordPress using AWF
Rapid application development for WordPress using AWF
 
Getting Started with the Joomla! Framework
Getting Started with the Joomla! FrameworkGetting Started with the Joomla! Framework
Getting Started with the Joomla! Framework
 
Ryan king wp-plugin-presentation
Ryan king wp-plugin-presentationRyan king wp-plugin-presentation
Ryan king wp-plugin-presentation
 
Week 5 - Introduction to plug-ins and widgets
Week 5 - Introduction to plug-ins and widgetsWeek 5 - Introduction to plug-ins and widgets
Week 5 - Introduction to plug-ins and widgets
 
State of play for Joomla - Nov 2014
State of play for Joomla - Nov 2014State of play for Joomla - Nov 2014
State of play for Joomla - Nov 2014
 
Custom fields in joomla
Custom fields in joomlaCustom fields in joomla
Custom fields in joomla
 
Week 11 - Hosting and Migration
Week 11 - Hosting and MigrationWeek 11 - Hosting and Migration
Week 11 - Hosting and Migration
 
The Next Step in Responsive - RESS
The Next Step in Responsive - RESSThe Next Step in Responsive - RESS
The Next Step in Responsive - RESS
 
Week 7 introduction to theme development
Week 7   introduction to theme developmentWeek 7   introduction to theme development
Week 7 introduction to theme development
 
WordPress plugin development
WordPress plugin developmentWordPress plugin development
WordPress plugin development
 
WordPress Basics
WordPress BasicsWordPress Basics
WordPress Basics
 
How to Install Magento 2 on XAMPP Server localhost.
How to Install Magento 2 on XAMPP Server localhost.How to Install Magento 2 on XAMPP Server localhost.
How to Install Magento 2 on XAMPP Server localhost.
 
Joomla SEO June 2015 - Sydney Joomla User Group
Joomla SEO June 2015 - Sydney Joomla User GroupJoomla SEO June 2015 - Sydney Joomla User Group
Joomla SEO June 2015 - Sydney Joomla User Group
 
FAQ's in Joomla 2.5
FAQ's in Joomla 2.5FAQ's in Joomla 2.5
FAQ's in Joomla 2.5
 
WordPress Insider Meetup Group - Jan, 7, 2016 meeting
WordPress Insider Meetup Group - Jan, 7,  2016 meetingWordPress Insider Meetup Group - Jan, 7,  2016 meeting
WordPress Insider Meetup Group - Jan, 7, 2016 meeting
 
Week 12 - Search Engine Optimization
Week 12 -  Search Engine OptimizationWeek 12 -  Search Engine Optimization
Week 12 - Search Engine Optimization
 
Library 2.0 : Weblogs : Wordpress
Library 2.0 : Weblogs : WordpressLibrary 2.0 : Weblogs : Wordpress
Library 2.0 : Weblogs : Wordpress
 
Selenium RC
Selenium  RCSelenium  RC
Selenium RC
 

Similaire à Tips for site builders and administrators

ExpressionEngine - Simple Steps to Performance and Security (EECI 2014)
ExpressionEngine - Simple Steps to Performance and Security (EECI 2014)ExpressionEngine - Simple Steps to Performance and Security (EECI 2014)
ExpressionEngine - Simple Steps to Performance and Security (EECI 2014)
Nexcess.net LLC
 
Shared Hosting and WordPress
Shared Hosting and WordPressShared Hosting and WordPress
Shared Hosting and WordPress
Al Davis
 
Introduction to Dynamic Web Design Technology
Introduction to Dynamic Web Design TechnologyIntroduction to Dynamic Web Design Technology
Introduction to Dynamic Web Design Technology
arulvmax
 

Similaire à Tips for site builders and administrators (20)

Web hosting Free Hosting
Web hosting Free HostingWeb hosting Free Hosting
Web hosting Free Hosting
 
Web hosting get start online
Web hosting get start onlineWeb hosting get start online
Web hosting get start online
 
Dating Pro Installation Instructions
Dating Pro Installation InstructionsDating Pro Installation Instructions
Dating Pro Installation Instructions
 
Php hypertext Preprocessor
Php hypertext PreprocessorPhp hypertext Preprocessor
Php hypertext Preprocessor
 
ExpressionEngine - Simple Steps to Performance and Security (EECI 2014)
ExpressionEngine - Simple Steps to Performance and Security (EECI 2014)ExpressionEngine - Simple Steps to Performance and Security (EECI 2014)
ExpressionEngine - Simple Steps to Performance and Security (EECI 2014)
 
Shared Hosting and WordPress
Shared Hosting and WordPressShared Hosting and WordPress
Shared Hosting and WordPress
 
How to fix 504 Gateway Timeout Error on your WordPress Website?
How to fix 504 Gateway Timeout Error on your WordPress Website?How to fix 504 Gateway Timeout Error on your WordPress Website?
How to fix 504 Gateway Timeout Error on your WordPress Website?
 
WordPress Hosting Basics
WordPress Hosting BasicsWordPress Hosting Basics
WordPress Hosting Basics
 
Web hosting and concepts of SEO UNIT 5
Web hosting and concepts of SEO UNIT 5Web hosting and concepts of SEO UNIT 5
Web hosting and concepts of SEO UNIT 5
 
Http to Https Get your WordPress website Compliant!
Http to Https Get your WordPress website Compliant!Http to Https Get your WordPress website Compliant!
Http to Https Get your WordPress website Compliant!
 
Joomlapresent
JoomlapresentJoomlapresent
Joomlapresent
 
Joomlapresent
JoomlapresentJoomlapresent
Joomlapresent
 
Joomlapresent
JoomlapresentJoomlapresent
Joomlapresent
 
Caching 101
Caching 101Caching 101
Caching 101
 
Introduction to Dynamic Web Design Technology
Introduction to Dynamic Web Design TechnologyIntroduction to Dynamic Web Design Technology
Introduction to Dynamic Web Design Technology
 
Optimize wordpress
Optimize wordpressOptimize wordpress
Optimize wordpress
 
Web hosting.pptx
Web hosting.pptxWeb hosting.pptx
Web hosting.pptx
 
Keeping Your Joomla! Site Secure
Keeping Your Joomla! Site SecureKeeping Your Joomla! Site Secure
Keeping Your Joomla! Site Secure
 
OWA And SharePoint Integration
OWA And SharePoint IntegrationOWA And SharePoint Integration
OWA And SharePoint Integration
 
PHP Melody Installation Manual
PHP Melody Installation ManualPHP Melody Installation Manual
PHP Melody Installation Manual
 

Plus de Tim Plummer

Introduction to building joomla! components using FOF
Introduction to building joomla! components using FOFIntroduction to building joomla! components using FOF
Introduction to building joomla! components using FOF
Tim Plummer
 

Plus de Tim Plummer (18)

Aujug 2020 joomla 4 workflow
Aujug 2020 joomla 4 workflowAujug 2020 joomla 4 workflow
Aujug 2020 joomla 4 workflow
 
TinyMCE for Joomla
TinyMCE for JoomlaTinyMCE for Joomla
TinyMCE for Joomla
 
Joomla 4 custom fields and workflow
Joomla 4 custom fields and workflowJoomla 4 custom fields and workflow
Joomla 4 custom fields and workflow
 
How to fix a hacked site and harden June 2019
How to fix a hacked site and harden June 2019How to fix a hacked site and harden June 2019
How to fix a hacked site and harden June 2019
 
Creating your own joomla templates April 2019
Creating your own joomla templates April 2019Creating your own joomla templates April 2019
Creating your own joomla templates April 2019
 
Custom fields in Joomla March 2019
Custom fields in Joomla March 2019Custom fields in Joomla March 2019
Custom fields in Joomla March 2019
 
Whats new in Joomla 3.9
Whats new in Joomla 3.9Whats new in Joomla 3.9
Whats new in Joomla 3.9
 
Lessons from the other side
Lessons from the other sideLessons from the other side
Lessons from the other side
 
Getting the most from your social media posts on facebook and instagram
Getting the most from your social media posts on facebook and instagramGetting the most from your social media posts on facebook and instagram
Getting the most from your social media posts on facebook and instagram
 
Simplify your Joomla user registration form
Simplify your Joomla user registration formSimplify your Joomla user registration form
Simplify your Joomla user registration form
 
Maintaining a joomla website - Canberra
Maintaining a joomla website - CanberraMaintaining a joomla website - Canberra
Maintaining a joomla website - Canberra
 
What's new in joomla! 3.5 - 8th Nov 2015
What's new in joomla! 3.5 - 8th Nov 2015What's new in joomla! 3.5 - 8th Nov 2015
What's new in joomla! 3.5 - 8th Nov 2015
 
Growing your business by hiring an offshore staff member
Growing your business by hiring an offshore staff memberGrowing your business by hiring an offshore staff member
Growing your business by hiring an offshore staff member
 
Introduction to building joomla! components using FOF
Introduction to building joomla! components using FOFIntroduction to building joomla! components using FOF
Introduction to building joomla! components using FOF
 
What's new in joomla! 3.3
What's new in joomla! 3.3What's new in joomla! 3.3
What's new in joomla! 3.3
 
Rapid application development using Akeeba FOF and Joomla 3.2
Rapid application development using Akeeba FOF and Joomla 3.2Rapid application development using Akeeba FOF and Joomla 3.2
Rapid application development using Akeeba FOF and Joomla 3.2
 
Joomla plugin & module develpment - Presented at Sydney JUG 09/04/2013
Joomla plugin & module develpment - Presented at Sydney JUG 09/04/2013Joomla plugin & module develpment - Presented at Sydney JUG 09/04/2013
Joomla plugin & module develpment - Presented at Sydney JUG 09/04/2013
 
How to create a joomla component from scratch
How to create a joomla component from scratchHow to create a joomla component from scratch
How to create a joomla component from scratch
 

Dernier

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Dernier (20)

Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 

Tips for site builders and administrators

  • 1. Tips for Site Builders and Administrators Tim Plummer 11th April 2017
  • 2. 1
  • 3. How to upgrade to PHP7 • Firstly, what PHP version do you currently have? • System->System Information
  • 4. Why not stick with older PHP? • PHP 5.5 or lower is past end of life
  • 5. Why PHP7? • Simply changing the PHP version to 7 can make your Joomla site run up to 50% faster • Supported since Joomla 3.5
  • 6. How to upgrade to PHP7 • Many web hosts allow you to select PHP version in Cpanel • If multiple sites in hosting account, you can set PHP version for each
  • 7. How to upgrade to PHP7 • Select PHP version and press save • Now check your site to make sure nothing breaks (ideally do all this on a staging copy not live)
  • 8. How to upgrade to PHP7 • If something breaks, you can revert back to previous PHP version until you fix issue (such as upgrading third party extension) • If you see depreciated notices or warnings, you can reduce your error reporting in global config to none.
  • 9. How to upgrade to PHP7 • In your system info you will see updated PHP version
  • 10. 2
  • 11. Why turn on SSL? • If you don’t use SSL, visitors to your site may get warnings in their browser • Google loves SSL, so enabling it could improve SEO • Important for sites processing payment transactions
  • 12. How to turn on SSL • First you need to install SSL certificate • Let’s Encrypt offer free SSL certificates • Some web hosts such as Siteground make this easy via their Cpanel Use this affiliate link if you sign up with Siteground so Tim gets $50 https://www.siteground.com/index.htm?afcode=6a5c9c06a90863bcace08276ca55ee25
  • 13. Installing SSL certificate • Select domain, enter your email and press install
  • 14. Edit your configuration.php file public $live_site = ''; //change to public $live_site = ‘https://www.yourdomain.com.au';
  • 15. Edit .htaccess • To redirect all HTTP requests to HTTPS. • Add this code to bottom of file RewriteEngine On RewriteCond %{HTTPS} OFF RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
  • 16. Global Config • Force HTTPS for entire site
  • 17. How to turn on SSL • Site should now be HTTPS
  • 18. 3
  • 19. A quick lesson in CSS
  • 20. How to debug CSS issues • Browsers have built in tools • Right click->inspect element
  • 21. How to debug CSS issues • You can see what CSS applies to that element
  • 22. How to debug CSS issues • You can add CSS on the fly to see what it will look like • Changes only temporary for browser session
  • 23. 4
  • 24. Set error reporting to NONE • For production site, error reporting should be set to none
  • 25. 5
  • 26. Always have an offsite backup • I use Akeeba Backup, with automated daily backup going to Amazon S3
  • 27. 6
  • 28. Hide your admin URL • Prevents people from brute force guessing your password • Akeeba Admin Tools Professional
  • 30. Hide your admin URL • Now to access backend you need to add parameter www.yourwebsite.com.au/administrator/?sydneyjug • If you try admin URL without parameter, it will redirect you to front end
  • 31. Hide your admin URL • You can also automatically block repeat offenders
  • 32. 7
  • 33. Debug Javascript • Firefox, tools->web developer->browser console • Make sure show errors is turned on • One JS error can cause all subsequent JS code not to execute