Skip to content

Instantly share code, notes, and snippets.

@cesc1989
Last active December 1, 2018 16:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cesc1989/b3da49a878acd058e64b to your computer and use it in GitHub Desktop.
Save cesc1989/b3da49a878acd058e64b to your computer and use it in GitHub Desktop.
Consulta SQL para cambiar las urls por defecto de una instalación de WordPress cuando se mueve de servidor
UPDATE wp_options
SET option_value = 'http://yourdomain.com/'
WHERE option_name = 'siteurl';
UPDATE wp_options
SET option_value = 'http://yourdomain.com/'
WHERE option_name = 'home';
/* Más información:
https://otroespacioblog.wordpress.com/2014/12/10/la-solucion-definitiva-al-error-de-las-cookies-en-wordpress
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment