You are here

How to verify if a website is made in Drupal?

1) The User Login Test
By default Drupal sets the user login page as /user, so the test is simply type in the websites url followed by /user. If the site goes to a login page you can confirm it by looking at the default format with Username and Password.

You can also get variants of "Create new account", "Log In", and "Request new password" tabs on the top of the page.


2) jQuery and Drupal JS includes test
Go to any page of the website and view page source.
Under the head tag if you see the following code
that means it passes this test.

These are the most common javascript files that are used for Drupal's interface and seldomly renamed.


3) URL hacking for text files
Type in your website with /robots.txt

This file can be quite common in most websites for web crawling improvements. In the case of Drupal the default robots.txt file disallows certain non-clean URLs.
# Paths (no clean URLs) Disallow: /?q=admin/ Disallow: /?q=comment/reply/ Disallow: /?q=contact/ Disallow: /?q=logout/ Disallow: /?q=node/add/ Disallow: /?q=search/ Disallow: /?q=user/password/ Disallow: /?q=user/register/ Disallow: /?q=user/login/ Disallow: /?q=search/
This blocks out some of the pages such as our user login, logout, admin, etc. pages that are not needed to be crawled by Google.


4) The Weak Div test
This is a test to determine if the site is using the default block.tpl.php theming. On one of the pages where you think there are blocks or separated sections, open up firebug or view page source. In most cases hardcoded blocks have div tags like:


Where in this case the block ID is 7 and it is a custom block where the content has been hardcoded in. Users can actually change this and the formats of blocks so this test is not as strong as the others. The reason this is great test is you can also determine some of the contributed modules the site uses and if certain parts are custom coded.

Here are a few examples of this:
This site is using a views module.

This site is using the locale module.

This site is using a custom module, the code is for this module is probably found in a folder called britney_custom
Team Lead
As a Team Lead you can find Justin focusing on a wireframe, front-end coding, or creating the next best mockup. With over 7 years experience developing and designing websites, Justin brings a range of knowledge and skills to the team.With an education in Computer Science and a passion for design,...→ More about Justin
Team Lead

As a Team Lead you can find Justin focusing on a wireframe, front-end coding, or creating the next best mockup. With over 7 years experience developing and designing websites, Justin brings a range of knowledge and skills to the team.

With an education in Computer Science and a passion for design, Justin pays close attention to user interfaces and interactions and believes in pixel perfection. 

Appnovation Technologies