SlideShare a Scribd company logo
1 of 37
Download to read offline
1
2
Helpful links:
● WPCampus - Video Presentation on WordPress Troubleshooting
Today we will cover the following topics:
● How to Backup Your Site
● Changing WordPress Passwords
● Enable WordPress Debugging
● Testing Plugins
● Testing Themes
● Troubleshooting Email Issues
● Why Is My Site Slow?
● Troubleshooting Database Errors
● 404 Errors, Redirect Problems, URL Issues
● Exhausted Memory, Memory Limit Errors
3
4
● Backup using a plugin
○ All-in-One WP Migration
○ Updraft Plus
○ Total Upkeep
● Backup using hosting tool
○ cPanel
○ Softaculous
● Backup manually
○ Files
○ Database
● Backup with web host service
How to Backup Your Site
Helpful links:
● WordPress Backups – Protect Your WordPress Website
5
6
● Reset via email
○ Using the “Lost your password” link on the login page.
● Reset in database
○ wp_users table
■ Can change password using MD5
■ Can change user email then request the “Lost password” email
● Reset via FTP
○ wp_set_password function (advanced users)
How to Change Passwords
Helpful links:
● How to Reset your WordPress Admin Password
7
8
1. Edit wp-config.php file
2. Add the following lines to your wp-config.php file:
define( 'WP_DEBUG', true );
define( 'SCRIPT_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
● 1st line will cause WordPress to display any errors from PHP
functions that are built into WordPress.
● 2nd line will display any errors for WordPress' built-in JavaScript
and CSS.
● 3rd line will save errors to a debug.log file in the “/wp-content”
folder.
Note: There are also plugins for enabling debugging
How to Enable WordPress Debugging
9
Keep in mind that your web host may have other error logs that
you can check. These can provide additional evidence and clues
into the cause of your issues. Here are some examples:
● cPanel Error Log
● MySQL Error Log
● NGINX Error Log
Helpful links:
● How to Enable WordPress Debugging
Other Error Logs
Helpful links:
● How to Enable WordPress Debugging
10
11
A wide range of problems can be caused by plugin/theme issues.
Since they are created by different 3rd party developers there can
be compatibility issues.
Some developers may not update their plugin/theme often, or at
all. This can cause them to deprecate over time as WordPress
updates are released. Since they may no longer be compatible with
new feature releases or coding changes.
Why Test Plugins/Themes?
12
● Check that plugins are up-to-date.
● Disable one-by-one in the Dashboard. Plugins->Deactivate
○ Time-consuming
○ Requires Dashboard access
or
● Rename the /wp-content/plugins folder
○ Fast since it immediately disables all plugins
○ Some plugins may not re-enable when naming the folder back
How to Test Plugins
13
How to Rename the Plugins folder
1. Open /wp-content folder
a. Rename /plugins folder to plugins.bak
b. or open the /plugins folder and rename the specific plugin folder
Note: You may have to manually enable the plugins after performing this test.
Helpful links:
● How to Update WordPress Plugins
● How to Disable WordPress Plugins
14
15
How to Test Themes
● Check for theme updates
● Change to a default WordPress theme in the dashboard
○ Appearance->Themes->Activate
● Default themes, include:
○ Twenty Twenty One, Twenty Twenty
● Don’t have Dashboard access?
○ Rename the current theme in the /wp-content/themes/XXXX folder should
cause it to revert to a default theme.
Helpful links:
● How to Update a WordPress Theme
● How to Change a WordPress Theme
16
17
How to Troubleshoot Email
If you are missing form submissions or other WordPress related
alerts that should be sent over email, here are some things you can
check:
● Admin Email setting in the Dashboard
● Server’s Mail logs
○ Can check the EXIM log directly with SSH
○ Can check with a plugin such as WP Mail Logging
18
Other Email Tests
● Install an SMTP plugin.
● Verify the settings are correct by accessing email/Webmail with
them.
Helpful links:
● View full summary of mail activity from the Exim mail log
● How to Use the WP Mail Logging Plugin for WordPress
● Learn How to Install and Use the WP Mail SMTP Plugin
19
20
Bad User Experience!
If a site takes too long to load, a potential customer will probably
bounce.
Bounce (loosely defined): to leave a slow website in frustration and
never return.
Visitor may get the impression the site is not properly optimized
and (possibly) less secure.
A customer getting a bad impression of your site can be disastrous
for e-commerce.
Why Is a Slow Site Bad?
21
Things That Can Slow Down a Site
● No Site Caching
● Slow Scripts loading
● Large Images
● Outdated Plugin
● Outdated Theme
● Hack/Attack (DDOS)
● Routing Issues (Network outage)
● Large sudden influx of traffic
● Hosting environment that is not optimized for WordPress sites
22
Site Optimization Best Practices
● Utilize site caching
● Move slow scripts to the bottom of the page
● Optimize Images
● Test Plugins
● Test Themes
● Use security best practices
● Address routing issues with host or ISP
● Use a CDN (or servers that are closer to your visitors)
● Upgrade your hosting plan
● Get WordPress Optimized Hosting plan
23
24
Error Establishing a Database Connection
● Verify your database settings are accurate
○ Database name - DB_NAME
○ Database user - DB_USER
○ Database password - DB_PASSWORD
○ Database hostname - DB_HOST
● Does database user have permission to access the database?
● Create a new user and give permission to access the database
Helpful links:
● WordPress - “Error Establishing a Database Connection”
25
Corrupt Database
● Repair it via SSH using WP-CLI
● Repair it using mysqlcheck
● Repair it via hosting tool
○ cPanel
Helpful links:
● Check and Repair Database with WP-CLI
● How to Check and Repair a Database in phpMyAdmin
26
27
Reset Permalinks
Why?
404 errors, redirect problems, URL issues
What does it do?
Adds the rules back to the .htaccess file
28
How to Reset Permalinks
1. Click Settings then Permalinks in the Dashboard.
2. Remember or save the current setting.
3. Choose a different setting, then click the Save Changes button.
4. Now select your original setting, and click the Save Changes
button again.
Note: You may have to clear your browser cache before testing.
Helpful links:
● How to Reset WordPress Permalinks
29
About .htaccess
● What is an .htaccess file?
○ Hidden file that handles rewrites and redirects
● Some common uses of the .htaccess file would be restricting
access to certain files or redirecting URLs.
● WordPress relies on .htaccess rules, so adding rules directly can
interfere with how it works.
● Plugins can add rules to .htaccess file
● How to test an .htaccess file?
○ Rename it!
30
How to rename an .htaccess file
● Locate and rename the .htaccess to .htaccess.old and reload the
website. If the site loads you know the issue is caused by a rule in
the .htaccess file.
Keep in mind there may be other .htaccess files in a parent
directory (can inherit rules).
Helpful links:
● Reset the .htaccess File to Troubleshoot WordPress PHP Errors
31
32
1. Create a file such as: phpinfo.php
2. Enter the following code and save:
<? phpinfo(); ?>
3. Visit the file in your browser:
example.com/phpinfo.php
View PHP Settings with phpinfo Page
Helpful links:
● How to Create a phpinfo Page to View Your PHP Settings
33
● Change settings in php.ini file -
○ Edit the php.ini file and adjust the value for:
■ max_execution_time
■ max_input_time
■ memory_limit
■ upload_max_filesize
● Change settings with a plugin
Change PHP Settings
Helpful links:
● How to Change PHP Settings in your Hosting Account
34
35
36
37

More Related Content

What's hot

JS digest. Decemebr 2017
JS digest. Decemebr 2017JS digest. Decemebr 2017
JS digest. Decemebr 2017ElifTech
 
Magento Performance Improvements with Client Side Optimizations
Magento Performance Improvements with Client Side OptimizationsMagento Performance Improvements with Client Side Optimizations
Magento Performance Improvements with Client Side OptimizationsPINT Inc
 
WordPress Performance optimization
WordPress Performance optimizationWordPress Performance optimization
WordPress Performance optimizationBrecht Ryckaert
 
Magento 2 performance - a benchmark
Magento 2 performance - a benchmarkMagento 2 performance - a benchmark
Magento 2 performance - a benchmarkByte
 
Anthony Somerset - Site Speed = Success!
Anthony Somerset - Site Speed = Success!Anthony Somerset - Site Speed = Success!
Anthony Somerset - Site Speed = Success!WordCamp Cape Town
 
How to set up a Wordpress Blog
How to set up a Wordpress BlogHow to set up a Wordpress Blog
How to set up a Wordpress Blogkichu
 
Piecing Together the WordPress Puzzle
Piecing Together the WordPress PuzzlePiecing Together the WordPress Puzzle
Piecing Together the WordPress PuzzleBusiness Vitality LLC
 
Web Browsers - Their Main working
Web Browsers - Their Main workingWeb Browsers - Their Main working
Web Browsers - Their Main workingYougourta AIT SAADA
 
Phpworld.2015 scaling magento
Phpworld.2015 scaling magentoPhpworld.2015 scaling magento
Phpworld.2015 scaling magentoMathew Beane
 
I Can Haz More Performanz?
I Can Haz More Performanz?I Can Haz More Performanz?
I Can Haz More Performanz?Andy Melichar
 
How to Clear WordPress Cache?
How to Clear WordPress Cache?How to Clear WordPress Cache?
How to Clear WordPress Cache?HTS Hosting
 
Magento Performance Optimization 101
Magento Performance Optimization 101Magento Performance Optimization 101
Magento Performance Optimization 101Angus Li
 
Introduction to WordPress Security
Introduction to WordPress SecurityIntroduction to WordPress Security
Introduction to WordPress SecurityNile Flores
 
Automatic testing and quality assurance for WordPress plugins and themes
Automatic testing and quality assurance for WordPress plugins and themesAutomatic testing and quality assurance for WordPress plugins and themes
Automatic testing and quality assurance for WordPress plugins and themesOtto Kekäläinen
 
Introduction to PhoneGap and PhoneGap Build
Introduction to PhoneGap and PhoneGap BuildIntroduction to PhoneGap and PhoneGap Build
Introduction to PhoneGap and PhoneGap BuildMartin de Keijzer
 
Getting the most out of WebPageTest
Getting the most out of WebPageTestGetting the most out of WebPageTest
Getting the most out of WebPageTestPatrick Meenan
 
Speeding up your WordPress Site - WordCamp Toronto 2015
Speeding up your WordPress Site - WordCamp Toronto 2015Speeding up your WordPress Site - WordCamp Toronto 2015
Speeding up your WordPress Site - WordCamp Toronto 2015Alan Lok
 

What's hot (20)

JS digest. Decemebr 2017
JS digest. Decemebr 2017JS digest. Decemebr 2017
JS digest. Decemebr 2017
 
Magento Performance Improvements with Client Side Optimizations
Magento Performance Improvements with Client Side OptimizationsMagento Performance Improvements with Client Side Optimizations
Magento Performance Improvements with Client Side Optimizations
 
WordPress Performance optimization
WordPress Performance optimizationWordPress Performance optimization
WordPress Performance optimization
 
Magento 2 performance - a benchmark
Magento 2 performance - a benchmarkMagento 2 performance - a benchmark
Magento 2 performance - a benchmark
 
Anthony Somerset - Site Speed = Success!
Anthony Somerset - Site Speed = Success!Anthony Somerset - Site Speed = Success!
Anthony Somerset - Site Speed = Success!
 
Presentation1
Presentation1Presentation1
Presentation1
 
How to set up a Wordpress Blog
How to set up a Wordpress BlogHow to set up a Wordpress Blog
How to set up a Wordpress Blog
 
Piecing Together the WordPress Puzzle
Piecing Together the WordPress PuzzlePiecing Together the WordPress Puzzle
Piecing Together the WordPress Puzzle
 
Web Browsers - Their Main working
Web Browsers - Their Main workingWeb Browsers - Their Main working
Web Browsers - Their Main working
 
Phpworld.2015 scaling magento
Phpworld.2015 scaling magentoPhpworld.2015 scaling magento
Phpworld.2015 scaling magento
 
I Can Haz More Performanz?
I Can Haz More Performanz?I Can Haz More Performanz?
I Can Haz More Performanz?
 
How to Clear WordPress Cache?
How to Clear WordPress Cache?How to Clear WordPress Cache?
How to Clear WordPress Cache?
 
Magento Performance Optimization 101
Magento Performance Optimization 101Magento Performance Optimization 101
Magento Performance Optimization 101
 
Introduction to WordPress Security
Introduction to WordPress SecurityIntroduction to WordPress Security
Introduction to WordPress Security
 
Automatic testing and quality assurance for WordPress plugins and themes
Automatic testing and quality assurance for WordPress plugins and themesAutomatic testing and quality assurance for WordPress plugins and themes
Automatic testing and quality assurance for WordPress plugins and themes
 
Drupal Development Tips
Drupal Development TipsDrupal Development Tips
Drupal Development Tips
 
Introduction to PhoneGap and PhoneGap Build
Introduction to PhoneGap and PhoneGap BuildIntroduction to PhoneGap and PhoneGap Build
Introduction to PhoneGap and PhoneGap Build
 
Getting the most out of WebPageTest
Getting the most out of WebPageTestGetting the most out of WebPageTest
Getting the most out of WebPageTest
 
Speeding up your WordPress Site - WordCamp Toronto 2015
Speeding up your WordPress Site - WordCamp Toronto 2015Speeding up your WordPress Site - WordCamp Toronto 2015
Speeding up your WordPress Site - WordCamp Toronto 2015
 
Meet The Family
Meet The FamilyMeet The Family
Meet The Family
 

Similar to WPCampus Presentation - WordPress Troubleshooting Techniques | InMotion Hosting

WordPress Hosting Best Practices - Do's and Don't s | WordPress Trivandrum
WordPress Hosting Best Practices - Do's and Don't s  | WordPress TrivandrumWordPress Hosting Best Practices - Do's and Don't s  | WordPress Trivandrum
WordPress Hosting Best Practices - Do's and Don't s | WordPress TrivandrumWordPress Trivandrum
 
8 Ways to Backup and Restore Your WordPress Website
8 Ways to Backup and Restore Your WordPress Website8 Ways to Backup and Restore Your WordPress Website
8 Ways to Backup and Restore Your WordPress WebsiteWPWhiteBoard
 
wp-config Tips and Tricks
wp-config Tips and Trickswp-config Tips and Tricks
wp-config Tips and TricksJosh Harrison
 
Battling the WSOD - A Tech Support Tale
Battling the WSOD - A Tech Support TaleBattling the WSOD - A Tech Support Tale
Battling the WSOD - A Tech Support TaleKayleigh Thorpe
 
WordPress 101 Saturday Session
WordPress 101 Saturday SessionWordPress 101 Saturday Session
WordPress 101 Saturday Sessionpamselle
 
Troubleshooting WordPress
Troubleshooting WordPressTroubleshooting WordPress
Troubleshooting WordPressNile Flores
 
Introduction to Optimizing WordPress for Website Speed
Introduction to Optimizing WordPress for Website SpeedIntroduction to Optimizing WordPress for Website Speed
Introduction to Optimizing WordPress for Website SpeedNile Flores
 
The WordPress Hosting Decision: It All Starts Here
The WordPress Hosting Decision: It All Starts HereThe WordPress Hosting Decision: It All Starts Here
The WordPress Hosting Decision: It All Starts HereBusiness Vitality LLC
 
How to Boost the performance of your Wordpress powered websites
How to Boost the performance of your Wordpress powered websitesHow to Boost the performance of your Wordpress powered websites
How to Boost the performance of your Wordpress powered websitesPratik Jagdishwala
 
Ctrl+F5 Ahmedabad, 2017 - BOOST THE PERFORMANCE OF WORDPRESS WEBSITES by Prat...
Ctrl+F5 Ahmedabad, 2017 - BOOST THE PERFORMANCE OF WORDPRESS WEBSITES by Prat...Ctrl+F5 Ahmedabad, 2017 - BOOST THE PERFORMANCE OF WORDPRESS WEBSITES by Prat...
Ctrl+F5 Ahmedabad, 2017 - BOOST THE PERFORMANCE OF WORDPRESS WEBSITES by Prat...ResellerClub
 
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
 
15 Most Common WordPress Errors and Solution
15 Most Common WordPress Errors and Solution15 Most Common WordPress Errors and Solution
15 Most Common WordPress Errors and Solutionkethyjewel
 
Building faster websites: web performance with WordPress
Building faster websites: web performance with WordPressBuilding faster websites: web performance with WordPress
Building faster websites: web performance with WordPressJohannes Siipola
 
WordCamp RI 2015 - Beginner WordPress Workshop
WordCamp RI 2015 - Beginner WordPress Workshop   WordCamp RI 2015 - Beginner WordPress Workshop
WordCamp RI 2015 - Beginner WordPress Workshop Ella J Designs
 
Word camp2011 introwordpresssecurity
Word camp2011 introwordpresssecurityWord camp2011 introwordpresssecurity
Word camp2011 introwordpresssecurityDavid Wilemski
 

Similar to WPCampus Presentation - WordPress Troubleshooting Techniques | InMotion Hosting (20)

WordPress Hosting Best Practices - Do's and Don't s | WordPress Trivandrum
WordPress Hosting Best Practices - Do's and Don't s  | WordPress TrivandrumWordPress Hosting Best Practices - Do's and Don't s  | WordPress Trivandrum
WordPress Hosting Best Practices - Do's and Don't s | WordPress Trivandrum
 
8 Ways to Backup and Restore Your WordPress Website
8 Ways to Backup and Restore Your WordPress Website8 Ways to Backup and Restore Your WordPress Website
8 Ways to Backup and Restore Your WordPress Website
 
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
 
It4k12 wordpress
It4k12 wordpressIt4k12 wordpress
It4k12 wordpress
 
wp-config Tips and Tricks
wp-config Tips and Trickswp-config Tips and Tricks
wp-config Tips and Tricks
 
Battling the WSOD - A Tech Support Tale
Battling the WSOD - A Tech Support TaleBattling the WSOD - A Tech Support Tale
Battling the WSOD - A Tech Support Tale
 
WordPress 101 Saturday Session
WordPress 101 Saturday SessionWordPress 101 Saturday Session
WordPress 101 Saturday Session
 
Troubleshooting WordPress
Troubleshooting WordPressTroubleshooting WordPress
Troubleshooting WordPress
 
Introduction to Optimizing WordPress for Website Speed
Introduction to Optimizing WordPress for Website SpeedIntroduction to Optimizing WordPress for Website Speed
Introduction to Optimizing WordPress for Website Speed
 
The WordPress Hosting Decision: It All Starts Here
The WordPress Hosting Decision: It All Starts HereThe WordPress Hosting Decision: It All Starts Here
The WordPress Hosting Decision: It All Starts Here
 
How to Boost the performance of your Wordpress powered websites
How to Boost the performance of your Wordpress powered websitesHow to Boost the performance of your Wordpress powered websites
How to Boost the performance of your Wordpress powered websites
 
Ctrl+F5 Ahmedabad, 2017 - BOOST THE PERFORMANCE OF WORDPRESS WEBSITES by Prat...
Ctrl+F5 Ahmedabad, 2017 - BOOST THE PERFORMANCE OF WORDPRESS WEBSITES by Prat...Ctrl+F5 Ahmedabad, 2017 - BOOST THE PERFORMANCE OF WORDPRESS WEBSITES by Prat...
Ctrl+F5 Ahmedabad, 2017 - BOOST THE PERFORMANCE OF WORDPRESS WEBSITES by Prat...
 
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
 
15 Most Common WordPress Errors and Solution
15 Most Common WordPress Errors and Solution15 Most Common WordPress Errors and Solution
15 Most Common WordPress Errors and Solution
 
WordPress 101
WordPress 101WordPress 101
WordPress 101
 
Building faster websites: web performance with WordPress
Building faster websites: web performance with WordPressBuilding faster websites: web performance with WordPress
Building faster websites: web performance with WordPress
 
Word Press Website Tips
Word Press Website TipsWord Press Website Tips
Word Press Website Tips
 
WordCamp RI 2015 - Beginner WordPress Workshop
WordCamp RI 2015 - Beginner WordPress Workshop   WordCamp RI 2015 - Beginner WordPress Workshop
WordCamp RI 2015 - Beginner WordPress Workshop
 
Word camp2011 introwordpresssecurity
Word camp2011 introwordpresssecurityWord camp2011 introwordpresssecurity
Word camp2011 introwordpresssecurity
 

Recently uploaded

FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 

Recently uploaded (20)

FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 

WPCampus Presentation - WordPress Troubleshooting Techniques | InMotion Hosting

  • 1. 1
  • 2. 2 Helpful links: ● WPCampus - Video Presentation on WordPress Troubleshooting
  • 3. Today we will cover the following topics: ● How to Backup Your Site ● Changing WordPress Passwords ● Enable WordPress Debugging ● Testing Plugins ● Testing Themes ● Troubleshooting Email Issues ● Why Is My Site Slow? ● Troubleshooting Database Errors ● 404 Errors, Redirect Problems, URL Issues ● Exhausted Memory, Memory Limit Errors 3
  • 4. 4
  • 5. ● Backup using a plugin ○ All-in-One WP Migration ○ Updraft Plus ○ Total Upkeep ● Backup using hosting tool ○ cPanel ○ Softaculous ● Backup manually ○ Files ○ Database ● Backup with web host service How to Backup Your Site Helpful links: ● WordPress Backups – Protect Your WordPress Website 5
  • 6. 6
  • 7. ● Reset via email ○ Using the “Lost your password” link on the login page. ● Reset in database ○ wp_users table ■ Can change password using MD5 ■ Can change user email then request the “Lost password” email ● Reset via FTP ○ wp_set_password function (advanced users) How to Change Passwords Helpful links: ● How to Reset your WordPress Admin Password 7
  • 8. 8
  • 9. 1. Edit wp-config.php file 2. Add the following lines to your wp-config.php file: define( 'WP_DEBUG', true ); define( 'SCRIPT_DEBUG', true ); define( 'WP_DEBUG_LOG', true ); ● 1st line will cause WordPress to display any errors from PHP functions that are built into WordPress. ● 2nd line will display any errors for WordPress' built-in JavaScript and CSS. ● 3rd line will save errors to a debug.log file in the “/wp-content” folder. Note: There are also plugins for enabling debugging How to Enable WordPress Debugging 9
  • 10. Keep in mind that your web host may have other error logs that you can check. These can provide additional evidence and clues into the cause of your issues. Here are some examples: ● cPanel Error Log ● MySQL Error Log ● NGINX Error Log Helpful links: ● How to Enable WordPress Debugging Other Error Logs Helpful links: ● How to Enable WordPress Debugging 10
  • 11. 11
  • 12. A wide range of problems can be caused by plugin/theme issues. Since they are created by different 3rd party developers there can be compatibility issues. Some developers may not update their plugin/theme often, or at all. This can cause them to deprecate over time as WordPress updates are released. Since they may no longer be compatible with new feature releases or coding changes. Why Test Plugins/Themes? 12
  • 13. ● Check that plugins are up-to-date. ● Disable one-by-one in the Dashboard. Plugins->Deactivate ○ Time-consuming ○ Requires Dashboard access or ● Rename the /wp-content/plugins folder ○ Fast since it immediately disables all plugins ○ Some plugins may not re-enable when naming the folder back How to Test Plugins 13
  • 14. How to Rename the Plugins folder 1. Open /wp-content folder a. Rename /plugins folder to plugins.bak b. or open the /plugins folder and rename the specific plugin folder Note: You may have to manually enable the plugins after performing this test. Helpful links: ● How to Update WordPress Plugins ● How to Disable WordPress Plugins 14
  • 15. 15
  • 16. How to Test Themes ● Check for theme updates ● Change to a default WordPress theme in the dashboard ○ Appearance->Themes->Activate ● Default themes, include: ○ Twenty Twenty One, Twenty Twenty ● Don’t have Dashboard access? ○ Rename the current theme in the /wp-content/themes/XXXX folder should cause it to revert to a default theme. Helpful links: ● How to Update a WordPress Theme ● How to Change a WordPress Theme 16
  • 17. 17
  • 18. How to Troubleshoot Email If you are missing form submissions or other WordPress related alerts that should be sent over email, here are some things you can check: ● Admin Email setting in the Dashboard ● Server’s Mail logs ○ Can check the EXIM log directly with SSH ○ Can check with a plugin such as WP Mail Logging 18
  • 19. Other Email Tests ● Install an SMTP plugin. ● Verify the settings are correct by accessing email/Webmail with them. Helpful links: ● View full summary of mail activity from the Exim mail log ● How to Use the WP Mail Logging Plugin for WordPress ● Learn How to Install and Use the WP Mail SMTP Plugin 19
  • 20. 20
  • 21. Bad User Experience! If a site takes too long to load, a potential customer will probably bounce. Bounce (loosely defined): to leave a slow website in frustration and never return. Visitor may get the impression the site is not properly optimized and (possibly) less secure. A customer getting a bad impression of your site can be disastrous for e-commerce. Why Is a Slow Site Bad? 21
  • 22. Things That Can Slow Down a Site ● No Site Caching ● Slow Scripts loading ● Large Images ● Outdated Plugin ● Outdated Theme ● Hack/Attack (DDOS) ● Routing Issues (Network outage) ● Large sudden influx of traffic ● Hosting environment that is not optimized for WordPress sites 22
  • 23. Site Optimization Best Practices ● Utilize site caching ● Move slow scripts to the bottom of the page ● Optimize Images ● Test Plugins ● Test Themes ● Use security best practices ● Address routing issues with host or ISP ● Use a CDN (or servers that are closer to your visitors) ● Upgrade your hosting plan ● Get WordPress Optimized Hosting plan 23
  • 24. 24
  • 25. Error Establishing a Database Connection ● Verify your database settings are accurate ○ Database name - DB_NAME ○ Database user - DB_USER ○ Database password - DB_PASSWORD ○ Database hostname - DB_HOST ● Does database user have permission to access the database? ● Create a new user and give permission to access the database Helpful links: ● WordPress - “Error Establishing a Database Connection” 25
  • 26. Corrupt Database ● Repair it via SSH using WP-CLI ● Repair it using mysqlcheck ● Repair it via hosting tool ○ cPanel Helpful links: ● Check and Repair Database with WP-CLI ● How to Check and Repair a Database in phpMyAdmin 26
  • 27. 27
  • 28. Reset Permalinks Why? 404 errors, redirect problems, URL issues What does it do? Adds the rules back to the .htaccess file 28
  • 29. How to Reset Permalinks 1. Click Settings then Permalinks in the Dashboard. 2. Remember or save the current setting. 3. Choose a different setting, then click the Save Changes button. 4. Now select your original setting, and click the Save Changes button again. Note: You may have to clear your browser cache before testing. Helpful links: ● How to Reset WordPress Permalinks 29
  • 30. About .htaccess ● What is an .htaccess file? ○ Hidden file that handles rewrites and redirects ● Some common uses of the .htaccess file would be restricting access to certain files or redirecting URLs. ● WordPress relies on .htaccess rules, so adding rules directly can interfere with how it works. ● Plugins can add rules to .htaccess file ● How to test an .htaccess file? ○ Rename it! 30
  • 31. How to rename an .htaccess file ● Locate and rename the .htaccess to .htaccess.old and reload the website. If the site loads you know the issue is caused by a rule in the .htaccess file. Keep in mind there may be other .htaccess files in a parent directory (can inherit rules). Helpful links: ● Reset the .htaccess File to Troubleshoot WordPress PHP Errors 31
  • 32. 32
  • 33. 1. Create a file such as: phpinfo.php 2. Enter the following code and save: <? phpinfo(); ?> 3. Visit the file in your browser: example.com/phpinfo.php View PHP Settings with phpinfo Page Helpful links: ● How to Create a phpinfo Page to View Your PHP Settings 33
  • 34. ● Change settings in php.ini file - ○ Edit the php.ini file and adjust the value for: ■ max_execution_time ■ max_input_time ■ memory_limit ■ upload_max_filesize ● Change settings with a plugin Change PHP Settings Helpful links: ● How to Change PHP Settings in your Hosting Account 34
  • 35. 35
  • 36. 36
  • 37. 37