Take the 2-minute tour ×
Drupal Answers is a question and answer site for Drupal developers and administrators. It's 100% free, no registration required.

I use cpanel and ftp (filezila)

I don't know much about drupal. I believe i am using v.6

I have an old website made in drupal: www.oldwebsite.com

I don't want to delete my oldwebsite but change to www.oldwebsite.com/drupal So I have then www.oldwebsite.com free to put whatever.

Easy?

How and where do i acess the files to change such a thing? thanks!

share|improve this question

1 Answer 1

I believe in order to switch Drupal from using no sub directory to instead use on, you only need to:

  1. Copy all of the files into the sub directory e.g. /drupal. This can be done with FTP (or SSH)
  2. Edit the file .htaccess and uncomment the line 103(RewriteBase /drupal). Make sure the rewrite base is the same as the name you gave your subfolder above
  3. Optional extra, ensure all your content is linked correctly as any hard coded links in content are will now no longer work, or better yet, use a module like pathologic to ensure links never break
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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