Top Poster
#1 ramon fincken 399
#2 Site admin 3
#3 Ber|Art 2
#4 braddmark 1
#5 accentmedia 1
#6 Xarzu 1
#7 pEcosespedex 1
#8 khadish 1
#9 moxxx 1
#10 nistelrock 1
[WordPress] A quick guide when changing urls, subdomains, or subdomain



Rating : 4.2 / 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: 399
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, do NOT use a plugin to make a backup


  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
    Do not forget any robots.txt and google verification .html files

  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 your options table (phpmyadmin) and edit the siteurl and home option values into your new URL location
      Do not add a / at the end.


  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 !)
    3. Still not working? Fix: Did you by accident hardcode the FTP username etc in the wp-config.php file?


  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
GravityForms
Advertisement





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

Advertisement
Gravity Forms Plugin for WordPress
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! [3]
No but I love polls ! [1]

Related google ads