WordPress.org

Ready to get started?Download WordPress

Forums

website name change, same server, not moving files (6 posts)

  1. isonychia
    Member
    Posted 2 years ago #

    I have a wordpress site running on a current server.

    I need to change the wordpress site name. I have purchased the new site name and it has been added to the hosting plan along with the current site name.
    The site will stay the same with the exception of changing any mention of the old site name and some other links, i.e. facebook,etc
    There is NO blog on the current site.
    I read this http://codex.wordpress.org/Changing_The_Site_URL.

    However I also read this: http://codex.wordpress.org/Moving_WordPress
    At that address is this:
    When Your Domain Name or URLs Change

    When your domain name or URLs change - i.e. from http://example.com/blog to http://example.com, or http://example.com to http://newexample.com - there are additional concerns. The files and database can be moved, however references to the old domain name or location will remain in the database, and that can cause issues with links or theme display.

    If you do a search and replace on your entire database to change the URLs, you can cause issues with data serialization, due to the fact that some themes and widgets store values with the length of your URL marked. When this changes, things break. To avoid that serialization issue, you have two options:

    Only perform a search and replace on the wp_posts table.
    Use the Search and Replace for WordPress Databases Script to safely change all instances.

    For my situation, do I need to worry about changing anything involving search and replace, database etc? Or is that ONLY if a site moves AND the site name changes?

    I also had a question about search engines indexing of current site and the new site and 301 redirect etc but I will make another post on that.

    Thanks
    iso

  2. esmi
    Forum Moderator
    Posted 2 years ago #

    I need to change the wordpress site name

    See Settings -> General -> Site name.

  3. isonychia
    Member
    Posted 2 years ago #

    So I don't have to worry about the database, tables, search and replace?

    Will wordpress fix all the links to my images etc?

    Thanks,
    iso

  4. esmi
    Forum Moderator
    Posted 2 years ago #

    So I don't have to worry about the database, tables, search and replace?

    Nope.

    Will wordpress fix all the links to my images etc?

    Why would a site name change affect links to images?

  5. isonychia
    Member
    Posted 2 years ago #

    because in wp (at least my site) the images on my pages have the following link structure:

    src="http://my domain.com/wordpress/wp-content/uploads/2011/11/COL_Free_std_Shipping_03.gif"

    When I place an image on a page it creates that link.

    iso

  6. esmi
    Forum Moderator
    Posted 2 years ago #

    Re you talking about your site's domain name? If so, see Changing_The_Site_URL.

Topic Closed

This topic has been closed to new replies.

About this Topic