[resolved] Moving Domain (8 posts)

  1. UserName9
    Posted 7 years ago #

    My current blog version is 2.8.1 and its in a different directory than the root.
    An example Url can be like http://www.domain.com/blog

    Now I want to assign a different domain to blog directory, so the assigned domain should work as http://www.newdomain.com when typed

    My question is what files/database tables do i have to edit for http://www.newdomain.com to work?

    In other words, how do i change http://www.domain.com/blog to http://www.newdomain.com?

    Thanks for your answers

  2. bledsoe
    Posted 7 years ago #

    Are the webspaces for domain.com and newdomain.com both on the same host?

  3. UserName9
    Posted 7 years ago #

    @bledsoe, yes

  4. TransPersonal
    Posted 7 years ago #

    I have the same question, hope someone has the answer.

  5. Shane G
    Posted 7 years ago #


    Refer this article:



    Shane G.

  6. UserName9
    Posted 7 years ago #

    @ Shane G, i tried the methods listed in the url, but it doesn't seem to help in my case.

  7. bledsoe
    Posted 7 years ago #

    Can you tell me exactly the steps you've taken so far? I'm guessing it's something like:

    1. You copied all of your WP files from http://www.domain.com/blog (e.g., the wp-admin, wp-content, and wp-includes folders, etc.) to http://www.newdomain.com.
    2. You made some edits to your database, attempting to replace all instances of http://www.domain.com/blog to http://www.newdomain.com.

    It may help if you can provide some more details on exactly what you've done in step 2.

    Finally, what happens right now when you attempt to go to http://www.newdomain.com/wp-login.php ? Does the login page come up? If so, what happens when you try to log in?

  8. UserName9
    Posted 7 years ago #

    I tried editing the siteurl and homepage through mySQL
    When I go to wp-login, i get redirected to my old IP, it means I didn't give enough time for server update.

    So by editing siteurl and homepage through mySQL, do you think it will work?

    Thanks for your response.

Topic Closed

This topic has been closed to new replies.

About this Topic