Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #18310

    Hello,

    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.

    Damien

    #98994

    Hey!

    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.

    Regards,

    Peter

    #98995

    Dude thank you,

    My three applications have done their job to perfection. I just made ​​a mistake. In # 2, I put http://www.www.mon-nouveau-blog.com instead of http://www.mon-nouveau-blog.com Was for it.

    #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>

    #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>

    with:

    <title><?php wp_title(''); ?></title>

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘Migration angular’ is closed to new replies.