How to check if a site runs on magento?
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>
Related videos on Youtube
therealblee
Updated on June 04, 2022Comments
-
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 over 8 yearsThank 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 almost 4 yearsNote that not all pages on a site might have this. For example
/store
might, but/home
might not have any reference to Magento.