Title: Relocating WordPress
Last modified: August 19, 2016

---

# Relocating WordPress

 *  [jaymahendru](https://wordpress.org/support/users/jaymahendru/)
 * (@jaymahendru)
 * [17 years ago](https://wordpress.org/support/topic/relocating-wordpress/)
 * I know this question has been asked a number of times but the solutions posted
   are not clear enough (maybe because the solutions refer to the older version 
   of WordPress)
 * Anyhow, I installed WordPress on, let’s say, [http://www.example.com/~MyName](http://www.example.com/~MyName).
   The problem is when I go to [http://www.example.com/~MyName](http://www.example.com/~MyName),
   I see the Apache Server page with the options to see the “parent directory” or
   to click on the “wodpress” folder. When I click on the wordpress folder, I can
   see my blog and login to my admin panel etcetera. My question is how do I make
   it so such that I see my blog when I go to [http://www.example.com/~MyName?](http://www.example.com/~MyName?)
   I dont want to go there and click on the wordpress folder.
 * Thanks, and sorry for the inconvinience.
    Jay

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

 *  [Samuel B](https://wordpress.org/support/users/samboll/)
 * (@samboll)
 * [17 years ago](https://wordpress.org/support/topic/relocating-wordpress/#post-1081883)
 * open notepad and add this
    `DirectoryIndex index.php index.html` save as .htaccess
 * upload to site
    check and seeif notepad added .txt to file name if so rename 
   to just .htaccess with ftp client
 *  Thread Starter [jaymahendru](https://wordpress.org/support/users/jaymahendru/)
 * (@jaymahendru)
 * [17 years ago](https://wordpress.org/support/topic/relocating-wordpress/#post-1082062)
 * Ok, I did that, but I still have the exact same problem as before. It didnt do
   anything. Then I tried moving all the files and folders in the “wordpress” folder
   to the “public_html” folder, meaning that I dont have a wordpress folder anymore.
   This worked and now my webpage appears when I go to [http://www.example.com/~MyName](http://www.example.com/~MyName).
   The problem now is that the main page appears only in text (no headers, graphics
   etc) and if I click on anything, I get the error, “page not found”. I know this
   must have somethign to do with the index file. Any ideas?
 * Thanks,
    Jay

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

The topic ‘Relocating WordPress’ is closed to new replies.

## Tags

 * [move](https://wordpress.org/support/topic-tag/move/)
 * [moving](https://wordpress.org/support/topic-tag/moving/)
 * [relocate](https://wordpress.org/support/topic-tag/relocate/)
 * [relocating](https://wordpress.org/support/topic-tag/relocating/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 2 replies
 * 2 participants
 * Last reply from: [jaymahendru](https://wordpress.org/support/users/jaymahendru/)
 * Last activity: [17 years ago](https://wordpress.org/support/topic/relocating-wordpress/#post-1082062)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
