Top Poster
#1 ramon fincken 256
#2 Site admin 3
#3 Ber|Art 2
#4 braddmark 1
#5 accentmedia 1
#6 Xarzu 1
#7 Jan 0
#8 roger beckers 0
#9 Christine 0
#10 nextstep 0
[wordpress] A quick guide when changing urls, subdomains, or subdomain



Rating : 3.5 / 5

 
Post new topic   Reply to topic    Ramonfincken.com Forum Index -> CMS-ses (Joomla, WordPress, etc..)
Beta
Want to be notified by email when this topic gets a reply?  
View previous topic :: View next topic  
Author Message
ramon fincken
Site's programmer

Get a free globally recognized avatar
It's free!


Joined: 03 Aug 2007
Posts: 256
Location: A'dam/Diemen, The Netherlands

PostPosted: Sun Jan 24, 2010 12:57 pm    Post subject: [wordpress] A quick guide when changing urls, subdomains, or subdomain Reply with quote


  1. Creating the dump/export

    1. Make a full backup of your current online files
    2. Make a full backup of your current database using PhpMyadmin


  2. Setting up the new host (Only when not on the same server)

    1. Create webspace / set up FTP ( write these down ! )
    2. Create a database with user and password ( write these down ! )


  3. Transfer files
    Transfer the files to their new location/server/directory

  4. Transfer database (Only when not on the same server)
    1. Import your database using PhpMyadmin
    2. Edit wp-config.php using values from 2b. (Only when not on the same server)
      Code:
      // ** MySQL settings - You can get this info from your web host ** //
      /** The name of the database for WordPress */
      define('DB_NAME', 'database_name_here');

      /** MySQL database username */
      define('DB_USER', 'database_user_here');

      /** MySQL database password */
      define('DB_PASSWORD', 'database_pass_here');

      /** MySQL hostname */
      define('DB_HOST', 'localhost'); // Mostly (99%) localhost



  5. Update website url in database (Only when changing URL !)
    1. Open you options table and edit the siteurl and home option values into your new URL location


  6. Permisions and file uploads
    1. Make sure any plugin or upload directories are writable by PHP/your webserver
    2. Log in at /wp-admin/ and go to miscellaneous settings ( options-misc.php ).
      Now edit/update this folder: "Store uploads in this folder" (Only when changing URL !)


  7. Update url "referals" (Only when changing URL !)
    1. Update your theme hardcoded paths
    2. Update your content if they point to an old URL location, use this plugin: http://wordpress.org/extend/plugins/find-replace/



Thanks to http://www.linkedin.com/in/stephanieleary for mentioning the file upload path
Back to top
View user's profile Send private message Visit poster's website
Google adsense
Advertisement





PostPosted: Sun Jan 24, 2010 12:57 pm    Post subject: [wordpress] A quick guide when changing urls, subdomains, or subdomain

Advertisement
Back to top
Post new topic   Reply to topic    Ramonfincken.com Forum Index -> CMS-ses (Joomla, WordPress, etc..) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
General forums
The world of freelance
Programming
Other projects
Poll
I love gifts

Yes goodies and presents! [2]
No but I love polls ! [0]

Related google ads
Where am I?
Hit me!