We help IT Professionals succeed at work.

Drupal Root Directory Access

rtcollins_
rtcollins_ asked
on
Hello,

I have been given Drupal oversight / admin duties and have been coming up to speed over the last few weeks.  It has become necessary to add html coding for a Google ad campaign and wanted to know how to access the root directory.  I have been making content changes through the regular web based content interface but cannot find the root directory structure.

I have tried to log into ../sites url but was given a denied access.

Is this the method to access the root, but I just don't have rights?

Please advise - thanks
Comment
Watch Question

Aaron FeledyDrupal Developer and Consultant

Commented:
The Drupal root directory contains the sites directory. If you see the sites directory, CHANGELOG.txt, and index.php, you are in the root directory.

Perhaps I can be of better help if you could tell me what exactly you are wanting to do. In most cases, you shouldn't be modifying drupal core code.

Author

Commented:
Hi Arrow_1,

I'm not looking to alter the source code of Drupal, but rather to add html code to the site for a pay per click Google campaign.  Also, our theme is custom, I'm looking for the location of the theme files to be able to change that as needed later.  I have become quite familiar with general content changes / additions within the current theme, but where the customized theme files reside is puzzling.

Thanks

Author

Commented:
I should also add, that I only have admin web based access, I do not have server access to our site installation.
Drupal Developer and Consultant
Commented:
The theme (if properly installed) should be located in a subdirectory inside of /sites/themes/

Unfortunately you will not have access to any theme files without at least FTP access to the drupal installation.

As for the html code, is it just a snippet you need to embed in a page?

Author

Commented:
Thank you for your help!

Explore More ContentExplore courses, solutions, and other research materials related to this topic.