1

so i have currently finished making my website in the subdirectory and now it is time to move it over to my main domain. At the moment it is in example.com/wordpress and i want it to be moved to example.com Now i have seen some guides about this but all of those have empty directory's and in mine there is my current website.

I have made a backup of the current site so do i just delete those files and drag my /wordpress files to the public_html folder.

Thanks for your time.

0

You don't actually have to move it, you can still have wordpress show up at http://example.com, while leaving your directory right where it is. Just follow the instructions here depending on how you want to do it.

  • But i should be fine when i delete the current website when i made a backup? Do i need to keep some files or just delete all? – Sjoerd89 Feb 25 '17 at 10:58
  • Not being sure what your hosting company has set up, I can't say for sure. But you should be fine deleting all WORDPRESS files (see list here: codex.wordpress.org/WordPress_Files), of course leave your original subfolder in place, since you will need that. – Stephen Feb 25 '17 at 11:02
  • i noticed that my current website is in a subdirectory aswell, example.com/nl/ so it gets redirected somehow because when i just type example.com it will go the website so where do i have those redirects set? any idea? – Sjoerd89 Feb 25 '17 at 11:04
  • You should not have to worry about those redirects or virtual servers, I assume they were setup by your hosting company. Your root folder is for all intents and purposes the root of your site, so that it how you should work with it. – Stephen Feb 25 '17 at 11:05
  • Thanks ill try your tips out and hope for the best ;) thanks for your time. I can't give you a +1 since i do not have 15 rep on this wordpress stack. – Sjoerd89 Feb 25 '17 at 11:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.