Community

Can I change Drupal's folder location after done with site building?

I'm uploading Drupal to a folder separate from my main site. My thinking is to basically do all the site building and modifications before going live.

So, if I upload Drupal to say /drupalinstall, can I later move all the files within that folder to the root folder without losing all my work?

Sorry for the basic question. I tried different ways to word it for searching purposes, but none of the results were pertinent.

Thank you.

Comments

Yes. Drupal paths (content,

Yes. Drupal paths (content, forms, user pages, feeds, etc) are all relative so you can move the content to the new folder without a problem.

However make sure you clear all caches, rebuild sitemaps, set base path (if you changed it), cron, etc.

However if you had HTML links in content, they will not be changed.

// Ayesh

nobody click here