December 2, 2012 at 4:44 pm #18310
I need to migrate my blog to a new domain.
I made the request three key categories:
UPDATE wp_options SET option_value = replace(option_value, ‘http://www.mon-ancien-blog.com’, ‘http://www.mon-nouveau-blog.com’) WHERE option_name = ‘home’ OR option_name = ‘siteurl’;
UPDATE wp_posts SET guid = replace(guid, ‘http://www.mon-ancien-blog.com’, ‘http://www.mon-nouveau-blog.com ‘);
UPDATE wp_posts SET post_content = replace(post_content, ‘http://www.ancien-site.com’, ‘http://www.nouveau-site.com’);
There should be a fourth request to make to update as Angular.
It is she?
in advance, thank you.
DamienDecember 2, 2012 at 7:33 pm #98994
Tbh I’m not sure which sql statements are required to change all occurrences of your domain name. I’d use a plugin like: http://wordpress.org/extend/plugins/search-and-replace/ to batch replace all occurrences.
PeterDecember 3, 2012 at 9:57 am #98995December 3, 2012 at 10:17 am #98996
… another question …
Here, migration is well and referenced to google homepage of the new site tonight.
He suggested the title of the site, I put the title of the site in wordpress.
And what I put in the description page and not what I set solgan in wordpress.
If I want it to be the title provided in the home page that is displayed by google, I do not put anything in the site title under wordpress?
Is that this is how you set up your header.php:
<!– page title, displayed in your browser bar –>
<title><?php bloginfo(‘name’); ?> | <?php is_home() ? bloginfo(‘description’) : wp_title(”); ?></title>December 3, 2012 at 4:33 pm #98997
Yes, Kriesi uses the code you posted above to generate the title. It will start with your blog name and on the front/home page it will display the blog description after the title. On other pages it will display the post/page title. If you want to have more control install a plugin like http://wordpress.org/extend/plugins/wordpress-seo/ and replace:
<title><?php bloginfo('name'); ?> | <?php is_home() ? bloginfo('description') : wp_title(''); ?></title>
<title><?php wp_title(''); ?></title>
The topic ‘Migration angular’ is closed to new replies.