I'm sorry if I'm posting this in the wrong place. I couldn't figure out which category my question fit.

I've installed Drupal to my host site and have everything in a Drupal folder. When I'm ready to go live, can I just copy everything to the root? I'm just wondering because I'm noticing all the links are referencing my Drupal folder rather than root.

Thanks!

Comments

chiranjeeb’s picture

the simple method is to copy all the files and folder in the drupal folder to root of your server.
I have tried this on the localhost and its working perfectly.

If any Problem please feel free to contact me

Thanking You
C.Chiranjeeb

rickardl’s picture

I got that problem too
i tested it on http://example.com/html/ and copied it all to http://example.com/ but the links are still having the /html/ in it

is it storing the path somewhere, in mysql or some file(s) ?

(using drupal 6)

cybergeggy’s picture

I have everything in the htdocs folder of the apache server outside the drupal folder and I have the admin page (appears I'm already logged in) but all links going to the file list. Drupal 6.2

Someone must know the answer to this.

Thanks in advance

cybergeggy’s picture

When you say the 'root of the server', I tried this but with no luck.

rogerpfaff’s picture

I think you should also have an eye on caching and settings.php file. In the settings.php file might be a base path value entered and this will conflict when you are copying the data from one directory to another.

proudleo’s picture

I think this may fix it. It appears that everything is relative to the drupal folder (in my case) so changing the url path and taking out the /drupal should do it. I haven't tried running "update" either. Shouldn't just running 'update.php' fix it?