WordPress.org

Ready to get started?Download WordPress

Forums

Changing default permalink (4 posts)

  1. Melanie-WeatherARC
    Member
    Posted 4 years ago #

    I installed my wordpress blog on the development version of my website so as to modify it without affecting the live site. I was able to add my blog to the live site (svn add blog/ and svn commit) and that worked well. But I now need to change the default links so they do not point to the development version of the blog but instead they point to the new version of the blog. How do I do that as the permalinks are set for the development version of the blog? Thanks

  2. Kevin S
    Member
    Posted 4 years ago #

    Here are the step-by-step instructions:

    1. Create the new location using one of these two options:
    1. If you will be moving your WordPress core files to a new directory, create the new directory.
    2. If you want to move WordPress to your root directory, make sure all index.php, .htaccess, and other files that might be copied over are backed up and/or moved, and that the root directory is ready for the new WordPress files.
    2. Login to your blog.
    3. Go to the Administration > Settings > General panel.
    4. In the box for WordPress address (URI): change the address to the new location of your main WordPress core files.
    5. In the box for Blog address (URI): change the address to the new location, which should match the WordPress address (URI).
    6. Click Update Options.
    7. (Do not try to open/view your blog now!)
    8. WordPress 2.0 only: Delete the folder wp-content/cache.
    9. Move your WordPress core files to the new location. This includes the files found within the original directory, such as http://example.com/wordpress, and all the sub-directories, to the new location.
    10. If you are using Permalinks, go to the Administration > Settings > Permalinks panel and update your Permalink structure to your .htaccess file, which should be in the same directory as the main index.php file.
    11. If you have problems with missing images that you've uploaded, you need to change the path to the images on every

    ---
    [signature moderated Please read the Forum Rules]

  3. Melanie-WeatherARC
    Member
    Posted 4 years ago #

    Thanks.

  4. skrap55124
    Member
    Posted 3 years ago #

    I am hosting a subdomain on a different machine, and this was very helpful to get my domain to subdomainname.domain.com to show up correctly. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic