How to check if a site runs on magento?

19,096

Solution 1

You can check from websites like http://www.builtwith.com/.

There are many browser extensions also available to check website's technology.

If you want to check by manual debugging, there are many ways to find whether a site is running on Magento or not.

  • Check page source of any page, if it has like skin/frontend
  • In address bar, open url /downloader, if it opens magento connect login page.
  • In address bar, open url /install.php, if site is Magento site, then it will show following error:

    FAILED ERROR: Magento is already installed

  • Another clue can be admin url. Most of Magento stores don't bother to change admin url. If it opens by hitting /index.php/admin and shows Magento somewhere on page, then it is 100% running on Magento Platform.

  • Magento/Varien can be found in page source if a website is built with magento.

Note: All these manual instructions are for magento version < 2.0

I hope, this will help you.

Solution 2

By using the page view source, it can be easily identified whether site is running on Magento or not with a more specific version.

Magento 2: Mage cookies script tag will be as follows:

<script type="text/x-magento-init">
{
    "*": {
        "mage/cookies": {
            "expires": null,
            "path": "/",
            "domain": ".www.example.com",
            "secure": false,
            "lifetime": "3600"
        }
    }
}

Magento 1: Mage cookies script tag will be as follows:

<script type="text/javascript">
//<![CDATA[
Mage.Cookies.path     = '/';
Mage.Cookies.domain   = '.example.com';
//]]>
</script>
Share:
19,096

Related videos on Youtube

therealblee
Author by

therealblee

Updated on June 04, 2022

Comments

  • therealblee
    therealblee almost 2 years

    Is there any way to check if a given website runs on Magento? Looking for a programmatic way. I have tried to look in the documentation, but to no avail.

  • therealblee
    therealblee over 8 years
    Thank you Diogo! But I was looking for more of a programmatic approach. Are there any places that release the approach they use?
  • a paid nerd
    a paid nerd almost 4 years
    Note that not all pages on a site might have this. For example /store might, but /home might not have any reference to Magento.