Ocultar versión de WordPress

Como habréis comprobado instalando extensiones en Chrome o Mozilla tipo Wappalyzer, nos chivarán la versión del WordPress que tenemos instalada. Por motivos de seguridad nos interesará quitar este dato.

Ocultar versión WordPress

 

Hay dos formas de ocultar la versión de WordPress.

1.- Manual (editando código)

Lo primero de todo es localizar el archivo funtions.php del tema que estés usando actualmente en tu sitio web, se puede acceder al archivo desde el administrador de archivos del Hosting (Plesk, cPanel, VestaCP, ISPConfig, …) o bien desde el propio WordPress.

Si se hace desde el administrador de archivos hay que irse a: wp-content/themes y escoger el tema instalado.

Posteriormente buscar el archivo functions.php y editarlo.

Lo idóneo es ir al final del archivo y añadir:

//eliminamos la versión de la cabecera

function remove_wordpress_version() {
return '';
}
add_filter('the_generator', 'remove_wordpress_version');
//eliminamos la versión de los scripts y el rss
function remove_version_from_style_js( $src ) {
if ( strpos( $src, 'ver=' . get_bloginfo( 'version' ) ) )
$src = remove_query_arg( 'ver', $src );
return $src;
}
add_filter( 'style_loader_src', 'remove_version_from_style_js');
add_filter( 'script_loader_src', 'remove_version_from_style_js');

En caso de querer hacerlo desde el propio WordPress nos vamos a wp-admin, temas,  y editamos functions.php

Tras esto nuestro sitio ya estará listo.

Ocultar versión WordPress

Hay que tener en cuenta que esta edición hay que realizarla sobre el Child Theme, puesto que si actualizamos el tema el archivo functions.php puede cambiar, y el código que hemos insertado anteriormente dejará de existir.

 

2.- Instalando un Plugin

También podemos ocultar la versión de WordPress de una manera más cómoda, con el siguiente plugin, Hide My WP

 hide_my_wordpress

 

Artículo realizado por Alex Cucu Grigore del IES Leonardo de Vinci de Albacete.

Deja un comentario

Una idea sobre “Ocultar versión de WordPress”

slot88

slot gacor

slot gacor

slot gacor

slot 5000

slot gacor

slot88

slot88

slot gacor

slot online

slot thailand

slot88

slot thailand

slot gacor

slot gacor

slot gacor

data macau

togelcc

slot dana

slot88

slot gacor

slot online

slot

slot gacor

slot gacor

slot gacor

slot gacor

slot gacor

slot88

slot gacor

slot gacor

slot gacor

https://fatamorgana.co.id/

https://descubripunilla.com

rtp live

slot gacor

slot gacor

slot gacor

slot gacor

slot gacor

https://badudu.org/

badudu

slot gacor

https://walnuttavern.com/

https://season8.org

https://oooms.org/

slot88

https://diafrica.org/

https://diafrica.org/

http://diafrica.org/

https://advy.ac.id/

slot

slot gacor

slot online

https://instiper.ac.id/

slot gacor

slot online

slot

situs slot gacor

slot777

https://kyani.ac.id/

slot gacor

https://lsgi.org/

https://lsgi.org/

https://lullabies-of-europe.org/

slot gacor

https://saint-lazarus.org/

https://gregkeyes.com/

slot

mpo slot

slot mpo

slot gacor

slot gacor

slot gacor

slot88

slot

slot gacor

slot

slot777

slot gacor

slot-gacor

slot gacor

slot gacor

rtp live

slot online

info slot gacor

slot gacor

slot777

slot777

slot88

slot gacor

slot88

slot gacor

slot gacor

slot

slot maxwin

slot88

slot online

slot gacor

slot88

slot gacor

slot

slot online

slot online

slot

slot gacor

http://book.iaincurup.ac.id/slot-gacor/

slot gacor

slot online

slot777

slot

https://instiper.ac.id/slot88/

slot88

slot gacor

slot online

slot

situs slot gacor

slot gacor

slot online

slot gacor

slot gacor

slot gacor

slot88

situs slot gacor

situs slot gacor

slot88

slot gacor

slot deposit dana

slot gacor

slot gacor

slot gacor

slot gacor

slot gacor

slot gacor

slot88

slot gacor

slot gacor

slot gacor

slot gacor

slot-gacor

slot gacor

situs judi slot online gampang menang

slot gacor hari ini

slot gacor

slot gacor

slot online

slot gacor

slot gacor

slot gacor

slot777

slot88

slot gacor

slot gopay

slot gacor

slot pulsa

slot online

slot gacor

slot gacor

slot gacor

slot gacor

slot online

slot gacor

slot ovo

slot gacor

slot dana

slot gacor

slot gacor

slot gacor

slot gacor

slot gacor

slot gacor

slot gacor

slot88

slot gacor

slot gacor

slot gacor

slot gacor

slot gacor

slot gopay

slot deposit pulsa

slot gacor

slot gacor

slot88

slot88

slot gacor

slot online

slot777

slot gacor

slot

rtp slot

rtp slot

slot bonus

slot gacor

rtp slot

slot nexus

slot online

slot gacor

slot gacor

slot gacor

slot online

slot gacor

slot online

slot777

slot88

slot gacor

slot gopay

slot gacor

slot gacor

slot gacor

slot88

slot gacor

slot online

slot dana

slot deposit dana

slot gacor

slot maxwin

slot88

slot gacor

slot gacor

slot gacor

slot bonus new member

slot gacor

slot777

slot gacor

slot gacor

slot gacor

slot gacor

istanacuan

slot online

slot gacor

slot

slot gacor

slot gacor

slot gacor

slot gacor

slot gacor

slot gacor

slot gacor

slot gacor

slot deposit pulsa

slot gacor

slot gacor

slot online

slot online

slot88

slot

slot gacor

slot gacor

slot gacor

slot gacor

slot gacor

slot gacor

slot gacor

slot online

slot gacor

slot

slot gacor 2023

slot thailand

slot gacor

slot gacor

slot gacor

slot online

slot

slot gacor

slot gacor

server thailand

slot gacor

slot-gacor

slot-gacor maxwin

slot-gacor

slot-gacor

slot-gacor

slot-gacor

situs toto

https://colacares.cola.org/

slot-gacor

rtp slot

slot88

slot gacor

slot online

slot hoki

slot gacor

slot gacor

slot777

slot gacor

slot maxwin