I've inherited a site that's been setup with files at sites/domainname.com/

sites/domainname.com/settings.php
sites/domainname.com/themes
sites/domainname.com/modules
sites/domainname.com/files

How do I change this to the regular setup of

sites/default/settings.php
sites/default/files
sites/all/themes
sites/all/modules

I'm wanting to copy the site to my localhost so I can makes some changes and its not working with the file structure above

Cheers

Edited by: VM; Moved to appropriate forum

Comments

mdupont’s picture

Doesn't it work if you copy/link the files over from sites/domainename.com to sites/default ?

tomrishworth’s picture

Thanks for the reply.

I did that originally but caused problems, no themes/modules were loading. Perhaps I didn't set the paths properly when a did a find/replace in the sql file.

I've just managed to get in working by just copying settings.php into sites/default and leaving everything else in sites/domainname.com
I then went through the sql and changed the paths from /sites/domainname.com to http://localhost:8888/folder