Skip to content

Instantly share code, notes, and snippets.

View jo-wp's full-sized avatar
🏠
Working from home

jo-wp

🏠
Working from home
View GitHub Profile
@gregoirenoyelle
gregoirenoyelle / wp-sql-mise-a-jour.sql
Last active November 25, 2015 20:24
WordPress SQL
## Coller la totalite dans champs SQL de phpMyAdmin ##
## ATTENTION A NE PAS METTRE DE SLASH A LA FIN DES URL ##
# CHANGER URL DU SITE
UPDATE wp_options
SET option_value = REPLACE(option_value, 'http://www.vieuxsite.fr', 'http://www.nouveausite.fr')
WHERE option_name = 'home'