Server Xamp

June 15, 2004 Posted by admin

Server Xamp



A Guide To Shifting WordPress To A Brand New Server

Sometimes a user may wish to move the location of their WordPress files on their server. WordPress does not need to be re-installed in the chosen new location, but can be moved as a whole. How to copy wordpress is explained in a few simple steps.

To start with, changing the URL for WordPress and moving it to another location requires either setting up a new directory, into which all of the relevant core files are then moved; or, if they will be copied into the (pre-prepared) root directory, a back-up of all index.php complete with any other required files must be created. It may also be necessary to move these files.

The next step is to log in to the blog and change the location of the WordPress URI (WordPress Address box, located within the General panel of Administration/ Settings). While here, the Blog (URI) address location needs to be updated (matching the WordPress URI) as well. Once settings have been saved, the blog should not be opened or viewed and wp-content/cache (the complete folder) has to be deleted by users of WordPress 2.0.

Following this, the WordPress core files, complete with files from the original directory/ subdirectories, can be moved on to the required new location. Any Permalinks in use may require the Permalink structure to be updated (done in Administration - Settings - Permalinks) to the relevant .htaccess file (this file is situated in the directory where the main file index.php is located).

Occasionally, some uploaded images may be found missing. Changing the image paths within the SQL database (the Tamba2 website has a tutorial with detailed instructions how to accomplish this) will rectify this error.

In order to avoid any new uploads ending up in the old folders, the settings for the "store uploads folder" also need to be changed. This is done in the Administration/ Settings/ Miscellaneous panel. The new location must also be updated for existing media/ images upload links.

Depending on the ISP in use, some of the user permissions may be found to have changed from 0644 to 0000 and will require changing back to their original setting.

Should various menues be supported by the theme, links to the home page may need to be updated from old embedded subdirectories; this is done within the Appearance/ Menues panel. It is vital to set URI locations before any files are moved. However, it is possible to rectify the situation if files have accidentally been moved before setting URI locations.

When the site has been tested, details such as new addresses may want to be passed on to friends/ other users.

For more detailed, in depth instructions on how to clone wordpress, including changing site URLs, setting up directories and rectifying problems, as well as how to move WordPress into a different server, users may want to visit the excellent codex.wordpress.org website.