Title: Lost website changing URL
Last modified: August 31, 2016

---

# Lost website changing URL

 *  [5onsat](https://wordpress.org/support/users/5onsat/)
 * (@5onsat)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/lost-website-changing-url/)
 * Hello,
 * I made the mistake of trying to change my site URL on the dashboard. I originally
   accessed it at kyinthesky.com/wp and tried to change it to kyinthesky.com. After
   changing both of the URLs on the dashboard, I was only able to see my content
   by going to kyinthesky.com/wp with most of the styling gone and the links broken.
   j
 * I know that this has happened to others; however, I have tried some methods to
   fix it already and am worried about doing something that I don’t know how to 
   reverse. I went to this page [http://codex.wordpress.org/Changing_The_Site_URL](http://codex.wordpress.org/Changing_The_Site_URL)
   and edited wp-config.php and functions.php. I also previously tried a different
   method of copying .htaccess and index.php to the root directory. None of the 
   options seemed to work. Right now if I try to go to my site I get a server error“
   500.”
 * Does anyone have any advice? Thank you so much!

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

 *  [jomarlipon](https://wordpress.org/support/users/jomarlipon/)
 * (@jomarlipon)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/lost-website-changing-url/#post-7123406)
 * Did you transfer your files from yourdomain.com/wp to yourdomain.com?
 *  Thread Starter [5onsat](https://wordpress.org/support/users/5onsat/)
 * (@5onsat)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/lost-website-changing-url/#post-7123468)
 * I went in to cPanel’s File Manager and moved all the files in /wp to /public_html(
   including three folders and a bunch of loose files). Still getting a server error
   unfortunately.
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/lost-website-changing-url/#post-7123471)
 * > I went in to cPanel’s File Manager and moved all the files in /wp to /public_html
 * – To have a site work from root or move from example.com/wp to just example.com:
   See [http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory#Using_a_pre-existing_subdirectory_install](http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory#Using_a_pre-existing_subdirectory_install)
 *  Thread Starter [5onsat](https://wordpress.org/support/users/5onsat/)
 * (@5onsat)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/lost-website-changing-url/#post-7123475)
 * Thanks, Tara. That was the method I had tried before but apparently it did not
   save. I went into index.php again and changed it. I wasn’t exactly sure about
   what to change it to, so I tried a couple combinations and none of them seemed
   to work. Right now I have
 * /** Loads the WordPress Environment and Template */
    require( dirname( __FILE__).‘/
   wp/wp-blog-header.php’ );
 * Because “wp” is the folder where all the files are (they are also still copied
   into the root drive). Still getting a server error. Did I change it correctly?
 *  [jomarlipon](https://wordpress.org/support/users/jomarlipon/)
 * (@jomarlipon)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/lost-website-changing-url/#post-7123534)
 * Did you change the value in database?
    If not yet, Go to phpmyadmin -> go to 
   database for that site -> wp_options
 * Then find the option_name “siteurl” and “home” to [http://kyinthesky.com](http://kyinthesky.com)
 *  Thread Starter [5onsat](https://wordpress.org/support/users/5onsat/)
 * (@5onsat)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/lost-website-changing-url/#post-7123546)
 * I went to where you said Jomarlipon (I’d never been there before) and went into
   wpoh_options. The siteurl and home were already changed so unfortunately I still
   can’t find my site!
 *  [jomarlipon](https://wordpress.org/support/users/jomarlipon/)
 * (@jomarlipon)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/lost-website-changing-url/#post-7123567)
 * Can you provide screenshot of the database which siteurl and home is shown?
 *  Thread Starter [5onsat](https://wordpress.org/support/users/5onsat/)
 * (@5onsat)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/lost-website-changing-url/#post-7123642)
 * Sorry, I haven’t been able to figure out how to upload an image here and copy/
   paste didn’t seem to work. I put it in my Google drive, so you can view it at
   this link: [https://drive.google.com/file/d/0B6XPEnQ-2M3FT21tSmNRWW95QW8/view?usp=sharing](https://drive.google.com/file/d/0B6XPEnQ-2M3FT21tSmNRWW95QW8/view?usp=sharing)
 * Thank you.
 *  [jomarlipon](https://wordpress.org/support/users/jomarlipon/)
 * (@jomarlipon)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/lost-website-changing-url/#post-7123663)
 * Is your site working now?

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

The topic ‘Lost website changing URL’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 9 replies
 * 3 participants
 * Last reply from: [jomarlipon](https://wordpress.org/support/users/jomarlipon/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/lost-website-changing-url/#post-7123663)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
