• I need to move my wordpress blog from http://www.funnydaily.com to http://www.funnyall.com on the same server. Is this the correct way?

    First i copy all the wp files in funnydaily.com and paste it in funnyall.com using FTP. Then i export the funnydaily.com database using MySQL dump and paste it in funnyall.com using phpmyadmin. I change the funnyall.com wp-config.php to point to its own database. I change the siteurl and home in wp_options to point to funnyall.com.

    Everything works well but there is just 1 problem. I found out that there is a field called guid in wp_posts. The value in the guid is the permalink of the blog post eg. http://www.funnydaily.com/2006/12/05/funny-daily-1/ When i write a new post in the new domain then it will record http://www.funnyall.com/2006/12/05/funny-all-1/

    So the question is do i need to change all the guid value to my new domain? What is the purpose of the field?

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter kahsoon

    (@kahsoon)

    can anyone help please?

    You should not need to change anything in the posts table when moving to a new domain. The guid is meant as an unique identifier, often for syndication (RSS or Atom) items. Except for the occasional (dumb) plugin, theme, or bit of custom code, nothing in WordPress should be using the guid field to provide a permalink to a post.

    With that said, there is the issue of file attachments (images or other files uploaded through the post editor), which *can* run into problems due to the guid. I have a plugin that relies on it, and have been thinking through a possible tool to update the field.

    Thread Starter kahsoon

    (@kahsoon)

    Do you mean that i should just let it be and allow guid to have old domain permalink and new domain permalink? Since you said guid is meant for RSS, will it cause error to RSS if i just let it be?

    Do you mean that i should just let it be and allow guid to have old domain permalink and new domain permalink?

    Specifically with posts, that’s pretty much what I say above.

    For the purpose of RSS and a few other feed formats, it’s just seen as a string, an unique one for that particular item. The WordPress developers (though not *unique* in choosing it for the guid) decided to use the url (permalink) since it would always be, well, unique.

    Thread Starter kahsoon

    (@kahsoon)

    So do you think i change the domain in the right way? Or did i left out anything or made any mistake?

    Thread Starter kahsoon

    (@kahsoon)

    What im concern about now is what if i removed my old domain account(www.funnydaily.com), will i get any error since my new domain’s wp_posts contains old domain permalink in the guid value.

    So do you think i change the domain in the right way? Or did i left out anything or made any mistake?

    I don’t understand the question. You said everything is working.

    There are instructions on moving your WordPress installation in the docs. The steps you needed to take are similar to “Moving WordPress Within Your Site” since you have to change the WordPress and Blog addresses. But no matter the case, if you moved WordPress and it works, then you did nothing wrong.

    And let me repeat myself:

    You should not need to change anything in the posts table when moving to a new domain.

    You made the move. WordPress works. Permalinks take you to their corresponding posts on your new domain. Where is the problem?

    Thread Starter kahsoon

    (@kahsoon)

    The problem is i see guid having my old domain permalink and im afraid that it will cause error since you said RSS depends on guid. How to solve this problem?

    This is not a problem. RSS does not *depend* on it in the way you think.

    The guid is an unique identifier for an item in ones RSS feed. But as I mention above, the guid is taken simply as a string (an unique string, but a string nonetheless). There is nothing in the RSS specification that requires it to be the url or permalink for the article being syndicated. The WordPress developers chose to stick the permalink in there because the permalink for each post will be, by definition, unique.

    So again, it just needs to be an unique string. Nothing more.

    Thread Starter kahsoon

    (@kahsoon)

    So i don’t need to change all the old permalink to new permalink right?

    Right.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Domain Change Question’ is closed to new replies.