• 5onsat

    (@5onsat)


    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 https://codex.www.ads-software.com/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

    (@jomarlipon)

    Did you transfer your files from yourdomain.com/wp to yourdomain.com?

    Thread Starter 5onsat

    (@5onsat)

    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

    (@t-p)

    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 https://codex.www.ads-software.com/Giving_WordPress_Its_Own_Directory#Using_a_pre-existing_subdirectory_install

    Thread Starter 5onsat

    (@5onsat)

    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

    (@jomarlipon)

    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 https://kyinthesky.com

    Thread Starter 5onsat

    (@5onsat)

    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

    (@jomarlipon)

    Can you provide screenshot of the database which siteurl and home is shown?

    Thread Starter 5onsat

    (@5onsat)

    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

    Thank you.

    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.