Change WordPress user roles and capabilities › Forums › How to or FAQ › Problem with shortcodes after moving WP to a new server › Reply To: Problem with shortcodes after moving WP to a new server
29/06/2016 at 05:59
#2453
Vladimir
Keymaster
Could you compare the output from WordPress (adding this code to the functions.php, for example):
global $current_site;
echo 'Main site ID: '. $current_site->blog_id;
and from this SQL query:
select blog_id from wp_blogs order by blog_id asc limit 0, 1;
use your own DB prefix instead of a default ‘wp_’ if you changed it.