Transffering WordPress? how?

Discussion in 'BlackHat Lounge' started by SpellZ, Jun 3, 2009.

  1. SpellZ

    SpellZ Regular Member

    Joined:
    Feb 8, 2009
    Messages:
    357
    Likes Received:
    314
    Location:
    Toronto, ON
    Let's say I got a site

    www.mysite.com/wordpress

    and I want to move the entire /wordpress folder to www.mysite.com

    how do I do it? So all the information will be kept (widgets, theme, etc)
     
  2. Mysticus

    Mysticus Newbie

    Joined:
    Jul 14, 2008
    Messages:
    42
    Likes Received:
    53
    Occupation:
    Internet Marketer & Web Developer
    1) Backup.
    2) Login to wp-admin (domain.com/wordpress/wp-admin/).
    3) Settings > General: change the wordpress and blog URL from domain.com/wordpress to domain.com - OR skip this, you can change this directly in SQL tables later - see step 6.
    4) Move the files from the sub-directory to root directory (public_html).
    5) Recheck wp-config.php to make sure database information is correct.
    6) If you skipped the step 3: PHPmyadmin, look for the table "wp_options". Change the values of site_url and home.
    7) Login to wp-admin panel (domain.com/wp-admin/), update your permalinks.

    Done.

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

    This is http://www.google.com/webhp?hl=en. Only the chosen ones know about it.