Title: Changing directory name
Last modified: August 19, 2016

---

# Changing directory name

 *  Resolved [antonino-giglio](https://wordpress.org/support/users/antonino-giglio/)
 * (@antonino-giglio)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/changing-directory-name-2/)
 * Hi guys, I’ve a blog hosted at the following address:
 * Location: [http://vision4ourcities.com/thecitygarden/](http://vision4ourcities.com/thecitygarden/)
   
   Admin: [http://vision4ourcities.com/thecitygarden/wp-login.php](http://vision4ourcities.com/thecitygarden/wp-login.php)
 * I need to change the directory /thecitygarden into /antoninogigliodesign but 
   not sure if I can do that without messing up everything!
 * Suggestions?
 * Thanks!!!
 * Antonino

Viewing 8 replies - 1 through 8 (of 8 total)

 *  [jkovis](https://wordpress.org/support/users/jkovis/)
 * (@jkovis)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/changing-directory-name-2/#post-1584328)
 * see [http://codex.wordpress.org/Moving_WordPress#Moving_WordPress_Within_Your_Site](http://codex.wordpress.org/Moving_WordPress#Moving_WordPress_Within_Your_Site)
 *  Thread Starter [antonino-giglio](https://wordpress.org/support/users/antonino-giglio/)
 * (@antonino-giglio)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/changing-directory-name-2/#post-1584624)
 * I don’t understand a thing! 🙁
    Is there an easier way of moving my blog?
 *  Thread Starter [antonino-giglio](https://wordpress.org/support/users/antonino-giglio/)
 * (@antonino-giglio)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/changing-directory-name-2/#post-1584625)
 * Can’t I simply rename [http://vision4ourcities.com/thecitygarden/](http://vision4ourcities.com/thecitygarden/)
   into [http://vision4ourcities.com/antoninogigliodesign/](http://vision4ourcities.com/antoninogigliodesign/)???
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/changing-directory-name-2/#post-1584626)
 * 1. Go to Settings/General in your admin panel and change both URL values to `
   http://vision4ourcities.com/antoninogigliodesign`
 * 2. Renamed the `/thecitygarden/` directory to `/antoninogigliodesign/`
 * 3. Re-save your permalink structure at Settings/Permalinks in your admin panel.
   If WordPress cannot automatically edit the `.htaccess` file, it will provide 
   manual instructions after saving.
 * 4. Go to Settings/Media in your admin panel, confirm the “Store uploads in this
   folder” setting and re-save (even if nothing has changed).
 *  Thread Starter [antonino-giglio](https://wordpress.org/support/users/antonino-giglio/)
 * (@antonino-giglio)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/changing-directory-name-2/#post-1584629)
 * thank you so much!!! 🙂
 *  Thread Starter [antonino-giglio](https://wordpress.org/support/users/antonino-giglio/)
 * (@antonino-giglio)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/changing-directory-name-2/#post-1584630)
 * One more thing, I’d like to duplicate the website, therefore vision4ourcities.
   com/agd will be the dusplicated to vision4ourcities.com/greenroof
    How can I 
   do it? Thanks! 🙂
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/changing-directory-name-2/#post-1584631)
 * I’ll be a bit more complicated, but you can do it.
 * 1. [Export](http://codex.wordpress.org/Backing_Up_Your_Database#Using_phpMyAdmin)
   the primary blog’s database via phpMyAdmin.
 * 2. Create a new MySQL database and [import](http://codex.wordpress.org/Restoring_Your_Database_From_Backup)
   the primary blog’s database.
 * 3. [Manually change](http://codex.wordpress.org/Changing_The_Site_URL#Changing_the_URL_directly_in_the_database)
   the `siteurl` and `home` values to the new secondary blog’s URL.
 * 4. Copy (don’t move) the WordPress files from the primary blog’s directory to
   the secondary blog’s directory.
 * 5. Edit the secondary blog’s `wp-config.php` file to connect to the secondary
   blog’s database.
 * 6. Re-save your permalink structure at Settings/Permalinks in your admin panel.
   If WordPress cannot automatically edit the .htaccess file, it will provide manual
   instructions after saving.
 * 7. Go to Settings/Media in your admin panel, confirm the “Store uploads in this
   folder” setting and re-save (even if nothing has changed).
 *  Thread Starter [antonino-giglio](https://wordpress.org/support/users/antonino-giglio/)
 * (@antonino-giglio)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/changing-directory-name-2/#post-1584632)
 * OMG! :p I think I’ll give up even before starting! lol

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Changing directory name’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 8 replies
 * 3 participants
 * Last reply from: [antonino-giglio](https://wordpress.org/support/users/antonino-giglio/)
 * Last activity: [15 years, 10 months ago](https://wordpress.org/support/topic/changing-directory-name-2/#post-1584632)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
