Title: rename localhost/wordpress
Last modified: August 18, 2016

---

# rename localhost/wordpress

 *  [nplblog](https://wordpress.org/support/users/nplblog/)
 * (@nplblog)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/rename-localhostwordpress/)
 * I have renamed local host to ip address. Now my blog has url of ipaddress/wordpress.
   How can I get rid of “wordpress” in the url? Or can I rename wordpress to something
   else?

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

 *  [Jeremy Clark](https://wordpress.org/support/users/jeremyclark13/)
 * (@jeremyclark13)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/rename-localhostwordpress/#post-650448)
 * First you need to change your wordpress and blog url to remove the wordpress 
   off the end. Then you need to move the contents of your wordpress folder into
   the root directory. Or for a cleaner root directory you could follow these directions.
   
   [http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory](http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory)
 *  Thread Starter [nplblog](https://wordpress.org/support/users/nplblog/)
 * (@nplblog)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/rename-localhostwordpress/#post-650458)
 * Where can I find .htaccess files?
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/rename-localhostwordpress/#post-650459)
 * If you don’t use the nice permalinks – you don’t have and don’t need it.
 *  Thread Starter [nplblog](https://wordpress.org/support/users/nplblog/)
 * (@nplblog)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/rename-localhostwordpress/#post-650466)
 * Ok in my root directory I have a folder for xammplite and wordpress. I removed“/
   wordpress” from my blog uri only and updated options. Then I copied index.php
   from wordpress directory to my root directory and add “/wordpress”/ to require(‘./
   wp-blog-header.php’). Now when I click on “viewsite”, it is pointing to ipaddress/
   xampp. What did I do wrong? I was not able to find “.htaccess” files.
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/rename-localhostwordpress/#post-650469)
 * _What did I do wrong? _
    Everything. Your “root” should be something like htdocs
   or public_html…
 * `require('./wordpress/wp-blog-header.php')`
    You should have this in your copied
   index. And “copy” = means to have the index in BOTH places!
 *  Thread Starter [nplblog](https://wordpress.org/support/users/nplblog/)
 * (@nplblog)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/rename-localhostwordpress/#post-650472)
 * Do I have to move all the files from xampp/htdocs/wordpress to this new folder
   called wordpress under root directory?
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/rename-localhostwordpress/#post-650478)
 * Men, why are you managing a server if you don’t have a clue what are you doing?
   
   We are not here to teach you how to set up your local server.
 * Your **root** is this:
    **xampp/htdocs/** Nothing else.
 * There is NO OTHER ROOT. Period.
 *  [matthew123](https://wordpress.org/support/users/matthew123/)
 * (@matthew123)
 * [18 years, 3 months ago](https://wordpress.org/support/topic/rename-localhostwordpress/#post-650914)
 * moshu is pissed off..
    xampp/htdocs/wordress xampp/htdocs
 * rite?

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

The topic ‘rename localhost/wordpress’ is closed to new replies.

## Tags

 * [rename](https://wordpress.org/support/topic-tag/rename/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 8 replies
 * 4 participants
 * Last reply from: [matthew123](https://wordpress.org/support/users/matthew123/)
 * Last activity: [18 years, 3 months ago](https://wordpress.org/support/topic/rename-localhostwordpress/#post-650914)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
