So, I've installed Drupal in a subdirectory while building the site. When it's ready to go live, I can just transfer them directly to public_html and everything should be ok, right? Do I need to change something in the files?
When I'm making links on the website, should I link them as www.example.com/subdirectory/page or as www.example.com/page? If I use the latter, the links wont work while the site is still in the subdirectory, obviously. But what happens if I link it with the subdirectory in the url name? Will Drupal somehow fix the link automatically when I transfer it to public_html?
Another question: let's say I have all images in public_html/images (ie NOT in the subdirectory where Drupal is installed). When putting images in the articles, I link them to this folder. Will be link to the images still work after moving the site from the subdirectory to public_html?
I have hundreds of links and images to make and I don't want to do them all over again after going live because they are not working. :-)
Comments
you can add images relative
you can add images relative to the drupal install like
sites/default/files/myfile.ext"I would rule the world - If only I had the source code"
R.A.Smith -- "ƒrÅzRâ§"
http://www.exterbox.com