Start a FREE 7 day trial! Get training videos and books, plus expert support:  

Drupal Tutorials and How-to Support Articles

5 Ways to Tell if a Site is Built in Drupal

One of the most common questions we get at Drupal beginner classes is, "How can I tell if a site is built in Drupal?"

We get that question because it's just not possible to know the answer without a few tips and tricks.

If you look at a website such as WhiteHouse.gov, there is no way of telling if it's built Drupal. The design of a site is completely independent from the platform it uses.

We're going to give you 5 ways to tell if a site is built in Drupal. Not all of these suggestions will work on all Drupal sites, but taken together they should give you a clear answer.

 

media_1372859969827.png

#1. Source Code

One of the most reliable ways to show if a site is using Drupal is to check the source code.

media_1372861946790.png

In the source code, check to see if important files are being loaded from the /sites/ folder. This example is taken from WhiteHouse.gov:

media_1372859990823.png

You can search the source code for the words "Drupal":

media_1372860019046.png

You can also search the source code for the names of key modules such as "Views", "Panels" or "CCK":

media_1372860373082.png

#2. Try to access certain files

Some sites may remove this file or block access to it, but if you CHANGELOG.txt to a site's URL, you can often find useful information about the site. For example, view https://drupal.org/CHANGELOG.txt and you can tell that Drupal.org is still running Drupal 6.

media_1372862291749.png

Other files that you can do this with include:

  • /misc/drupal.js
  • /misc/druplicon.png

For example:

#3. Visit the User URLs

One common identifier of Drupal sites are the URLs for user pages.

The URLs /user/ and /user/password and /user/register/ are commonly used to allow people to login, recover their password or register.

For example, here's https://petitions.whitehouse.gov/user

media_1372860227136.png

#4. Use websites

There are websites that can try and identify the technology behind websites.

https://builtwith.com is one of the most popular sites that does this:

media_1372860498023.png

It correctly identifies WhiteHouse.gov as using Drupal:

media_1372860526476.png

There's also the very logically names https://isthissitebuiltwithdrupal.com:

media_1372860587721.png

That site gives very logical and clear answer

media_1372860607514.png

#5. Expires header

An expires header is the most geeky way to check for Drupal sites. Web server use an expires header to tell the client how long a component can be cached.

Use a site such as https://web-sniffer.net to check your site:

media_1372863293081.png

And in the results, look for the Expires date. You're looking for Sun, 19 Nov 1978 05:00:00 GMT

media_1372863262683.png

What is special about 19 Nov 1978? It's the birthday of Dries Buytaert, the founder of Drupal.

If you want to be special too, you can edit this date in the /includes/bootstrap.inc file.

 

Start a FREE 7 day trial! Get training videos and books, plus expert support: