Changing WordPress Directory Nameby Jason Spidle
WordPress is an open-source content-management system primarily used to host blogs. The WordPress software utilizes HTML, CSS, PHP and SQL databases to manage the content and design of the blog. These elements must be configured for the directory on your website in which WordPress is installed. Changing the WordPress installation directory will require modifying some of the configuration files to ensure that the blog continues to display correctly.
Launch your FTP program and log in to your website.
Create the directory into which you wish to move your WordPress installation.
Launch your web browser.
Navigate to your existing WordPress administrative page and log in.
Select "Administration", "Settings" and "General".
Change both the "WordPress Address (URI)" and "Blog Address (URI)" in the directory you created earlier.
Select "Save settings".
Re-open your FTP program.
Move all of the WordPress files from the existing directory to the newly created directory.
Re-open your browser.
Navigate to the new location of your WordPress administrative page and login.
Select "Administration", "Settings" and "Permalinks".
Configure the permalink structure you utilize on your blog and click "Save settings" to ensure that your blog continues to display correctly.
- Images managed by the built-in media center will not display correctly after the WordPress installation is moved until the image references are updated in the database. Alternatively, you can hand update each blog post which displays an image to utilize the changed directory name.
- It is absolutely essential that the "WordPress Address (URI)" and "Blog Address (URI)" are changed before the installation files are moved.