Forums

[resolved] Problem with moved site (6 posts)

  1. thedark_master
    Member
    Posted 2 years ago #

    I had my site located here: http://web.ics.purdue.edu/~mpetkov/wordpress/
    I wanted to move it to my hosting plan on goDaddy. So I copied the whole folder and I also made a new database on my hosting. Now for some reason the links go between both of the servers. The new link is this:
    http://marinpetkov.com/projects/wordpress/

    What should I do to correctly move the site from the first server to the new one?

  2. ClaytonJames
    Member
    Posted 2 years ago #

  3. jdavis74
    Member
    Posted 2 years ago #

    The issue is the blog URL. You can change in Admin > Settings > General, or use the following query to do so manually:

    UPDATE wp_options SET option_value='http://sub.domain.xyz/' WHERE option_name='siteurl' OR option_name='home' LIMIT 2;

    [signature moderated Please read the Forum Rules]

  4. thedark_master
    Member
    Posted 2 years ago #

    http://codex.wordpress.org/Moving_WordPress#Moving_WordPress_to_a_New_Server

    thats exactly what I did

    The issue is the blog URL. You can change in Admin > Settings > General, or use the following query to do so manually:

    How do i do it manually? Because I already updated the domain name and know I cant log in the control panel.

  5. ClaytonJames
    Member
    Posted 2 years ago #

    http://codex.wordpress.org/Changing_The_Site_URL

    http://codex.wordpress.org/Changing_The_Site_URL#Changing_the_URL_directly_in_the_database

    Unless you're comfortable with the MySQL CLI.

    You might need to check and or update permalinks afterwords. Who knows.. might not be an issue.

  6. thedark_master
    Member
    Posted 2 years ago #

    ok I fixed it, I opened up the database in notepad and changed all of the old URLs with the new one.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.