Solution:1
One of the reasons why wordpress urls contained in the BD pointing to the url old, running this script in phpmyadmin can solve:
UPDATE wp_options SET option_value = REPLACE(option_value,’old_site’,’new_site’); UPDATE wp_posts SET post_content = REPLACE(post_content,’old_site’,’new_site’); UPDATE wp_posts SET guid = REPLACE(guid,’old_site’,’new_site’); UPDATE wp_postmeta SET meta_value = REPLACE(meta_value,’old_site’,’new_site’);
Also exist the possibility that your hosting account contains a folder with your username, in the wp_options table may be included, for example upload_path: “/home/[folder_old_id]/public_html/wp-content/uploads”
UPDATE wp_options SET option_value = REPLACE(option_value,’folder_old_id’,’folder_new_i