Sto seguendo le procedure per impostare un cookie-free domain, ma il sito elimina molti elementi grafici (persino nel backend Wordpress).
1) Ho creato un sottodominio con root directory /public_html/wp-content
2) inserito il codice in wp-config
Codice PHP:
define("WP_CONTENT_URL", "https://static.mydomain.com");define("COOKIE_DOMAIN", "mydomain.com");
3) eseguito la query nel database
Codice PHP:
UPDATE wp_posts SET post_content = REPLACE(post_content,'mydomain.com/wp-content/','static.mydomain.com/')
Cosa manca, o cosa faccio di sbagliato?