<>
Let's be clear: WordPress isn't a perfect gift that comes in a box, complete with manuals and troubleshooting guides.
En el mundo real, WordPress es un programa de Open Source, libre de usar, y sin un equipo dedicado de soporte al client, está lejos de ser una plataforma impecable.
Errors can be difficult or quick. Some mistakes that WordPress beginners often make were previously discussed here.
Pero, a modo de ejemplo, te encuentras con un problema en el que estás en el proceso de desarrollo de tu sitio, y la información no se refleja en tu browser.
La solución rápida con eso es limpiar la cache de tu navegador. La información del sitio web se cargará más rápido si está almacenada en la caché.
Therefore, if the browser does not load the newly added information on your site, the cache may not have received the information thoroughly. This way a simple 'flush the cache' in the browser will solve it, and you are good to go!
Aside from clearing your browser cache, we have listed 11 of the most common problems encountered in developing a WordPress website and how to solve them without having to worry about a thing.
1. Internal server error
El error interno del server 500 es muy común en el código de estado HTTP, lo que significa que algo no está bien en el servidor, pero el servidor no es específico sobre cuál es el problema. Cuando aparece este mensaje, debe investigar cuál es la causa de este error.
Here are some of the causes of internal server errors:
- Corrupted .htaccess file – para solucionar este problema, simplemente acceda a la raíz de su sitio a través de del File Transfer Protocol (FTP) y cambie el nombre de su archivo.htaccess a.htaccess_old. Intenta recargar el sitio si funciona, si es así, ve a Ajustes y posteriormente a Enlaces Permisorios para restablecer tus Enlaces Permisorios. Este hack creará un nuevo archivo.htaccess.
- Plugin o número de tema - If you find that you are facing these problems, try deactivating the plugins and go back to your old themes and plugins that work for your site.
- Alcanzando el límite de PHP - if the error message indicates that you have already reached your PHP limit, at the same time you could increase your PHP by creating a blank text file called php.ini. Paste the code into the file, save it and upload it to your / wp folder -admin / using FTP.memory = 64MBThis solution might work temporarily, and you will have to find another solution that will work forever.
If none of these work, try reloading the / wp-admin and / wp-includes folders from a fresh WordPress installation using an FTP client. Make sure to select "Overwrite" so that the old files are replaced.
2. 403 Forbidden error
Here are some cases where this error message occurs:
- Access Denied on WordPress Login Page
- When visiting any page of your WordPress site
- During the installation process
- Corrupt .htaccess file
- Incorrect file permissions on your server
- Accidental changes made by your hosting company
At the same time you may get "Access Denied" error on your page instead of 403 Forbidden status. In most cases, these errors are due to misconfiguration of security plugins, which can block multiple IP addresses.
If you think you are dealing with file permissions, the quick solution is to contact your hosting provider to check the file permissions. But, if you want to access it on your own, connect your WordPress site using the FTP Client. Go to the root folder where all your WordPress files are stored. Right-click the folder and select File Permissions.
After following the steps, you will see the file permissions dialog:
- All folders must have a file permission of 744 or 755
- All folders on the WordPress site must have a file permission of 644 or 640
Remember to adjust the parameters accordingly.
Please try to re-enter your website if this solution works. If not, you can choose file permission 744 or 755. Check the box next to "Recurse into subdirectories", then check the option "apply to directories only" and click OK. Repeat the process for the WordPress files.
3. 404 Page not found Error
The Error 404 es el mensaje que aparece cuando el visitante de su sitio desea ingresar a un determinado mensaje en su página que no se pudo encontrar. Esto sucedió cuando el archivo.htaccess fue borrado y reescrito, y el permalink no estaba configurado correctamente.
To fix this issue, go to the Permalinks section in the Settings menu of the WordPress dashboard and save your changes. In this way, the configuration will update and refresh the new rules. This quick fix works the 99% of the time.
Si esto no funciona, intente actualizar manualmente el archivo.htacess en la carpeta donde está /wp-content y /wp-includes. Cambie el permiso a 666 para que be escribible. Repita la solución original y vuelva a cambiar a 660.
At the same time you can test this code in your .htaccess file.
1 # BEGIN WordPress 2 3 RewriteEngine On 4 RewriteBase / 5 RewriteRule ^index.php$ -[L] 6 RewriteCond %{REQUEST_FILENAME}) !-f 7 RewriteCond %{REQUEST_FILENAME} !-d 8 Regla de reescritura . /index.php[L] 9 10 # END WordPress4
.
White Screen of Death (WSoD)
Appears as a blank screen with no information on a website. This is mainly due to PHP or database crashes, specifically:
- Plugin compatibility issues: To quickly resolve these, try disabling and re-enabling them again.
- Issues with themes - this mainly occurs when creating a new website in WordPress and activating a new theme. To fix this, try logging into your dashboard and turning on the default WordPress theme. If you can't get into the admin area, access your site using FTP and look for / wp-content / themes / folder. Then rename the active theme folder.
- Theme directory is missing or renamed - An error appears in the interface "The theme directory" {theme-name} ". Access your WordPress dashboard, change the theme, change the name of your directory, or edit the "theme" and "stylesheet" records in wp_options.
Discutimos el Día Mundial de la Salud en detalle en este post.
5. Failed to establish a database connection
If this error is displayed on your site, there may be a problem with the connection in your database, which could be caused by the following:
- Incorrect wp-config.php information - Make sure the following details are correct:
- base name
- nombre de Username de la base de datos
- database password
- database host
Si está seguro de que estos datos son correctos, intente restablecer su contraseña de MySQL manualmente
- Problem with your web server - Contact your web host, as the problem may be a server down or a problem with space in the database.
- Hacked Website - Try using Sucuri to scan your site, make sure you have secure plugins in place, that it scans your website without slowing it down and can fix it in just a minute.
6. Failed to auto update WordPress
Sometimes a failing automatic WordPress update appears as:
- Blank screen without any information
- Update notice failure
- A PHP error message
To fix these issues, update your WordPress site manually or recover previous website backups.
7. Connection timeout error
This type of error mainly occurs because your website is running out of memory, or trying to access more than your server can handle.
Here are some quick ideas you can use to fix this error:
- Ask your hosting provider to increase your memory limit or add this code to your file definition wp-config.php ('WP_MEMORY_LIMIT', '64M');
- Increase the maximum execution time in your php.ini file
8. "Maintenance Mode" stuck after update
This error is easy for you to know, as the message "Maintenance Mode" will appear all over your web page. To fix this right away, delete the .maintenance file in your WordPress site's installation directory and update your website.
9. Syntax error
The syntax error occurs when you are adding some code to your WordPress and you may have missed something or entered something that does not match the above in effect.
To fix this problem, you need to review the code you entered and correct the problematic syntax. Most of the time, missing brackets or characters are the usual culprits.
10. How to block access to WordPress Admin (wp-admin)
Common reasons you are locked out of the WordPress admin area:
1. Incorrect password Yes
ha olvidado su contraseña o su sitio web ha sido pirateado, puede intentar restablecer su contraseña desde phpMyAdmin. Para comenzar, vaya a su panel de control de cPanel y haga clic en el icono phpMyAdmin bajo Database. Una vez que se inicie, seleccione su base de datos de WordPress.
Find the table labeled '{table prefix} _users' (in other words, wp_users) and click 'Browse'
AND
Give the username for which you want to change the password, change the value in user_pass and replace it with your new password.
In the function column, select MD5 from the drop-down menu. This ensures that your password is encrypted with the MD5 hash when stored in the database.
2. Administrator privileges lost Yes
your website is hacked, it is feasible that you can enter the administration area but you will not be able to make changes to the themes or plugins. This means that your permission has been modified.
To solve this problem, you can add a new administrator user to your database through MySQL. You just have to go to your cPanel control panel and update the wp_users table.
Click "Insert" to create a new account and add the following:
- ID: any number
- user_login: new username
- user_pass: New Password. Be sure to select MD5 from the function menu.
- Username: nickname
- user_email: email you want to associate with this account
- user_url: la Url de su sitio web
- user_registered: date / time the user is registered
- user_status: Set to 0.
- display_name: the name you would like to display for this user on the site
Once you're done, click "Go" and update the wp_usermeta table with the following details:
- unmeta_id: this is self-provoked
- user_id: id that you previously added
- meta_key: wp_capabilities.
- meta_value: insert this: a: 1: {s: 13: »administrator»; s: 1: »1 ″;}
Insert another line with the following details:
- unmeta_id: this is self-provoked
- user_id: id that you previously added
- meta_key: wp_user_level
- meta_value: 10.
That's it and click "Go"
TO
time you can use the newly added username as your username to login to wp-admin.
3. PHP errors (syntax errors)
This typically occurs when bad code from another website was copied and pasted onto your site. You can correct this by accessing the FTP program, removing the code you added, regularly in the functions.php file, and reloading the file.
Other causes of blockage include:
- An installed plugin or code that tries to make changes in the admin section
- Errors when establishing the connection to the database
- White screen of death
Content Errors
Possible issues that caused these errors and ideas to fix them:
- The HTML code is invalid - this usually happens when the website developer forgets to close the tag
With for
check this, you can copy the code to an HTML validation check program to find out what HTML code needs to be corrected. - The theme has been corrupted - if you discover that all your codes are correctly entered, your theme could be the problem. Update the theme to a new version if it is available or reinstall the latest version of the theme.
- Wrong width or proportion - make sure all your margins match each other's size.
- Float property - Make sure float: left and float: right is added to the items on the right. Incorrect CSS will break the display of your website.
- Style.css file broken - hiring a developer is worth noting if you are not technical
conclusion
A website owner should be aware of the most common problems that a WordPress website can encounter.
At the same time, you should consider even simple troubleshooting to avoid long downtime that could lead to lost visitors or profit.
A website maintenance or troubleshooting team may be the best route if something unexpected occurs on your website that is beyond your control.
At the same time, make sure that all the codes on your website are protected and properly encrypted to avoid being hacked.