How To Change A WP Sub- Directory To Root Directory

4 replies
  • WEB DESIGN
  • |
hello there,

i have a WP that i have been playing around with for sometime. but right now i want the Wp changed from the sub directory to the main page. ive tried doing this all day but i just cant get it done. i am a moron when it comes to wp

please i need help desperately!

sarah
#change #directory #root
  • Profile picture of the author Istvan Horvath
    There are several ways to do it... depending on how comfortable you are with FTP and other web stuff.

    Here is a relatively simple way to do it:
    1. Login to your wp-admin and go > Settings > General
    2. Change the 2 lines/fields where it says
    WordPress address (URL)
    Site address (URL) - replace example.com/subdir with example.com
    (no slash)
    3. Save changes and you will get a BIG ERROR message
    4. Disregard the error message and do NOT try to look at your blog - yet
    5. Did I say do not try to look at your blog?
    6. Move all the WP files and directories from the subdir to the root
    7. NOW you can look at your blog
    Signature

    {{ DiscussionBoard.errors[3167986].message }}
    • Profile picture of the author Ambius
      Originally Posted by Istvan Horvath View Post

      There are several ways to do it... depending on how comfortable you are with FTP and other web stuff.

      Here is a relatively simple way to do it:
      1. Login to your wp-admin and go > Settings > General
      2. Change the 2 lines/fields where it says
      WordPress address (URL)
      Site address (URL) - replace example.com/subdir with example.com
      (no slash)
      3. Save changes and you will get a BIG ERROR message
      4. Disregard the error message and do NOT try to look at your blog - yet
      5. Did I say do not try to look at your blog?
      6. Move all the WP files and directories from the subdir to the root
      7. NOW you can look at your blog
      nice guide, thank you. but I have to ask... what happens if I ignore your warning on stop 5?
      {{ DiscussionBoard.errors[3171577].message }}
      • Profile picture of the author Istvan Horvath
        Originally Posted by Ambius View Post

        ... what happens if I ignore your warning on stop 5?
        You will start panicking because it doesn't work and you will click on every possible buttons/links until you defintely f**ck up your blog

        Did I convince you? :rolleyes:
        Signature

        {{ DiscussionBoard.errors[3171814].message }}
        • Profile picture of the author Ambius
          you convinced me to not worry about someone trying to access the blog while I move it. thanks again.
          {{ DiscussionBoard.errors[3178264].message }}

Trending Topics