¿Problemas con tu sitio web?

4,7/5 · Opiniones Google reviews

WordPress más rápido

Cómo hacer que Wordpress cargue más rápido

Redirecciones htaccess

Utiliza redirect detective para ver las redirecciones que se producen antes de que el visitante llegue a la página de destino. Por ejemplo en gophpninja.com, tenemos las redirecciones de http a https, y luego la redirección a la versión de la página en el idioma adecuado. Analiza cuál sería el mejor caso y el peor caso, e intenta forzar redirecciones que ahorren pasos. Sí, hardcodeadas directamente en tu htaccess.

Eliminar código innecesario de WP Head

La función de wordpress wp_head, imprime cantidad de cosas que no siempre necesitamos y que añaden más bytes que descargar. Puedes copiar y pegar esto en el archivo functions.php de tu tema.

function remove_headlinks() {
remove_action( 'wp_head', 'wp_generator' );
remove_action( 'wp_head', 'rsd_link' );
remove_action( 'wp_head', 'wlwmanifest_link' );
remove_action( 'wp_head', 'start_post_rel_link' );
remove_action( 'wp_head', 'index_rel_link' );
remove_action( 'wp_head', 'wp_shortlink_wp_head' );
remove_action( 'wp_head', 'adjacent_posts_rel_link' );
remove_action( 'wp_head', 'adjacent_posts_rel_link_wp_head', 10, 0 );
remove_action( 'wp_head', 'parent_post_rel_link' );
remove_action( 'wp_head', 'feed_links', 2 );
remove_action( 'wp_head', 'feed_links_extra', 3 );
remove_action( 'wp_head', 'print_emoji_detection_script', 7 );
remove_action( 'wp_print_styles', 'print_emoji_styles' );
remove_filter( 'wp_mail', 'wp_staticize_emoji_for_email' );
remove_filter( 'the_content_feed', 'wp_staticize_emoji' );
remove_filter( 'comment_text_rss', 'wp_staticize_emoji' );
}
add_action( 'init', 'remove_headlinks' );

Eliminar jQuery Migrate

Si no lo necesitas puedes excluirlo. Copia y pega la siguiente pieza en tu functions.php

//Remove JQuery migrate
function remove_jquery_migrate( $scripts ) {
if ( ! is_admin() && isset( $scripts->registered['jquery'] ) ) {
$script = $scripts->registered['jquery'];

if ( $script->deps ) { // Check whether the script has any dependencies
$script->deps = array_diff( $script->deps, array( ‘jquery-migrate’ ) );
}
}
}
add_action( ‘wp_default_scripts’, ‘remove_jquery_migrate’ );

P3 Profiler: Elimina plugins

Deja activados sólo los plugins que necesites cuando los necesites. Afectan a la velocidad de carga de WordPress directamente. Utiliza P3 Profiler para ver todos los plugins que se cargan. Desactiva directamente los que no son imprescindibles, o desactivalos cuando ya no los necesites más, como query monitor o el mismo P3 Profiler.

Mover la carga de scripts Js al footer

Es importante no bloquear el renderizado de la página con la carga de archivos externos como archivos javascript.
Puedes copiar y pegar esta pieza en tu functions.php dentro de la carpeta de  tu tema:


function move_scripts_from_head_to_footer() {
remove_action( 'wp_head', 'wp_print_scripts' );
remove_action( 'wp_head', 'wp_print_head_scripts', 9 );
remove_action( 'wp_head', 'wp_enqueue_scripts', 1 );
add_action( 'wp_footer', 'wp_print_scripts', 5);
add_action( 'wp_footer', 'wp_print_head_scripts', 5);
add_action( 'wp_footer', 'wp_enqueue_scripts', 5);
}
add_action('wp_enqueue_scripts', 'move_scripts_from_head_to_footer');

Instalar CACHE

Si tienes acceso a la configuración del servidor y puedes elegir que sistema de cache puedes usar, míra y compara. Si tu web está en un hosting compartido lo más seguro es que tengas uno puesto y no se pueda cambiar. Así que poco se puede hacer en servidor. Lo que si es interesante es instalar un Plugin como Hummingbird, W3 Total Cache o Fast Cache para cachear nuestra página web wordpress y servir versiones html de nuestro contenido.

Optimizar archivos CSS, JS y HTML

El mejor plugin que he encontrado y menos intrusivo es Auto optimize. Activa minificación JS, CSS y HTML.

Optimizar imágenes

Esto es quizá lo que más impacto tiene. Asegúrate de tener todas tus imágenes optimizadas. Menor tamaño posible. Escóndelas para la versión móvil siempre que sea posible.

Resumen

Intenta recopilar información sobre tu sitio utilizando las distintas herramientas. Se trata de no tener nada que no necesites y usar sólo lo que tienes.

Php Ninja - Expertos en WordPress y Prestashop

Somos un equipo de programadores web expertos en PHP, WordPress y Prestashop, con más de 20 años de experiencia, 100% especializados en mantenimiento y arreglos, lo que nos permite ofrecer un servicio muy completo y único de mantenimiento y reparación de páginas web. Conoce más sobre nosotros

Stack técnico

Programadores con más de 20 años de experiencia

Especialistas en WordPress, PrestaShop, PHP, JavaScript y operación de infraestructura web.

PHP Logo
Javascript Logo
Apache Logo
WordPress Logo
Prestashop Logo
Linux Logo
Cloudflare Logo
Git Logo
Docker Logo
Ansible Logo
MYSQL Logo
Codeception Logo

HTML · PHP · JS · CSS · MYSQL · WORDPRESS · PRESTASHOP · LINUX · CLOUDFLARE · GIT · GOOGLE SERVICES · ANSIBLE · CODECEPTION

Opiniones

¿Qué han dicho nuestros clientes?

  • Our website was blocked and we contacted Ninja who solved the problem in a very short time. We trust that they will always remain there and we will assign them more work, this time we hope without emergencies.

    Susan Wolf Avatar Susan Wolf
    22/04/2025

    Fast, effective and humane!

    Robert Hunter Avatar Robert Hunter
    01/01/1970

    Very positive experience due to professionalism, knowledge and relationship with the client.

    Francisco Bargiela Avatar Francisco Bargiela
    21/03/2025
  • Beto did a great job with optimizing our WordPress website! It was very slow in the beginning, but thanks to his efforts now runs really fast and smoothly. Outstanding professional, great communication & superb results! We’ll definitely hire him again for future projects. Thanks Beto!

    Verena Nyc Avatar Verena Nyc
    19/11/2025

    Very professional, totally recommended.

    joaquin sariñena Avatar joaquin sariñena
    01/03/2025

    Nuestra web se nos bloqueó y contactamos con Ninja que nos resolvió el problema en muy poco tiempo. Confiamos que sigan siempre ahí y les encargaremos mas trabajos, esta vez esperamos que sin urgencias.

    Susan Wolf Avatar Susan Wolf
    22/04/2025
  • Very happy with the service, whenever I have a problem they solve it quickly and efficiently! And the treatment is excellent. A hug!

    Sara Teller Avatar Sara Teller
    05/10/2025

    I had a problem with the WordPress website blocking access. I contacted them and they very quickly gave me a quote, with an immediate execution time. I couldn't be happier with the choice, especially when I had no direct references from the company. The solution was clean, professional and without data loss.

    Daniel Martin Avatar Daniel Martin
    22/04/2025

    I had a complicated problem with my website and I am very happy with the result, since they gave me a pack of hours, and it was solved quickly and at a very reasonable price. Since they had a little time left, they still fixed a couple of things that needed to be touched up. I would repeat with them without hesitation. Super professionals in my point of view.

    Natural Channel Avatar Natural Channel
    24/10/2025
  • The company made a very good work for me. Very professional team, rapidly done, and we had a good feedback during the duties. The team has a high expertise with php. I do recommend them.

    Vicente Celada Gonzalez Avatar Vicente Celada Gonzalez
    19/06/2025
Imagina no tener más problemas con tu página web

Te respondemos rápidamente

  Recibir Asistencia
icono whatsapp programador web