We have now all skilled difficulties or issues in WordPress sooner or later! From the clean web page to codes 404, 502, 503, and so forth…
Earlier than crying out for assist and asking for help on the boards and the varied fb teams, listed below are some easy operations to carry out to determine/resolve your numerous issues.
I simply put in a plugin or theme
And there, growth… My web site is all damaged, nothing works! Relax, it is apparent that the plugin or theme you simply put in does not work in your WordPress, so you could uninstall it ^^
In the event you not have entry to your admin, you’ll have to undergo FTP. Utilizing your traditional FTP consumer (filezilla for instance), go to the listing of the plugin involved: wp-content/plugins/nomduplugin/ and rename it to /OLD_nomduplugin/. On the following load, WordPress will deactivate the extension (as a result of it might’t discover it anymore) and your WordPress needs to be accessible once more.
The plugin/theme I am utilizing does not work
Incompatibility or lacking informationthe causes are as quite a few because the configurations.
So calmly re-read the plugin/theme docs and developer directions, together with stipulations. Additionally attempt disabling some plugins and see if that adjustments something.
If it nonetheless does not work, then it is time to contact the developer by clearly explaining your drawback and including a hyperlink to your web site, the listing of plugins you employ, your internet hosting, and so on…
I modified the WordPress URLs
Since Settings>>Normal you’ve 2 URLs declared in WordPress. These are configured to putting in your WordPress and we often do not want to return to it…
If by mistake you’ve modified certainly one of these two addresses and your WordPress is not accessible, do not panic! The file wp-config.php situated on the root of your set up will allow you to. In it, simply add these two traces of code:
DEFINE ('WP_HOME','HTTP://SITE.COM'); // Pour l'adresse de votre web site DEFINE ('WP_SITEURL','HTTP://SITE.COM'); // Pour l'adresse de votre WordPress
As soon as that is carried out, you must have entry to your WordPress once more and you may redeclare the proper URLs in your settings.
My web site is gradual, not displaying accurately…
Is the slowness on the admin or customer facet? Is the cache lively? Listed here are the primary inquiries to ask your self…
Begin by figuring out the place these delays come from. To examine the plugins it is fairly straightforward, add yet one more however not simply any, P3 (Plugin Efficiency Profiler) will assist you to see which grasping plugins are slowing down your web site.
You may as well use a web-based service akin to PingDom Instrumentsthis can assist you to see JS or CSS information that take longer or shorter to load, but in addition redirects and different errors.
For CSS show points, this may typically come from an incompatibility with a plugin. Additionally be sure that to disable caching and management the show whereas offline. Caching plugins can typically trigger points with CSS on account of their compression or minification.
I do not know the place the error comes from?
Is the issue with my WordPress set up or my host? To chop brief and restrict your investigations, begin with :
- Disable all plugins then examine once more
- If the issue persists, change the theme and activate the default Twenty-Fifteen theme, examine once more
- If the issue is solved then it’s your set up which is in charge, if this was not the case, then contact your host
To go additional: The debug!
Do not forget to allow debug ! A really helpful operate and little utilized by rookies, the debug means that you can determine sure issues in your WordPress. Let’s examine find out how to activate it with out displaying it for all to see.
- Create a debug.log file in your listing /wp-content/
- Give it permissions 666
- Add to your file wp-config.php the next traces:
outline( 'WP_DEBUG', true ); // Or false if ( WP_DEBUG ) outline( 'WP_DEBUG_LOG', true ); outline( 'WP_DEBUG_DISPLAY', false ); @ini_set( 'display_errors', 0 );
It is carried out, your file debug.log will fill in now and you will notice all of the errors detected by WordPress (supply: Codex).
If we’re not snug with adjustments to your file wp-config.php, you need to use a plugin for debugging (https://wordpress.org/plugins/search.php?q=debug&kind=), lastly if you wish to activate it briefly with out preserving the logs, simply add the road outline (‘WP_DEBUG’, true); in your file wp-config.php.
I nonetheless cannot :/
Listed here are some methods to debug your WordPress! You may as well learn the article which lists the principle errors encountered in WordPress. Additionally, remember our useful resource Study WordPress for Dummies who do not wish to keep that manner 😉
Comfortable debugging everybody 😉