How to find if a site is SharePoint based or not ?

Posted: April 7, 2012 in SharePoint
Tags: ,

This question was always a challenge for me. One day I was searching about this challnege and I found a good blog post here. Thanks to Nirav Sanghvi. I will summerrize it here.

  • One way is by going through all the links and observing the URL for all the Pages and the Folder structure where all these pages are stored (especially the /Pages/PageName.aspx pattern). This Pattern indicates a SharePoint Publishing Site. You may know All publishing pages in SharePoint 2007 and 2010 are stored in the “Pages” document library. In SharePoint 2010 we also have a new document library that is named SitePages and it’s for all the simple wiki pages.
  • so try to seach for URLs with patterm /Pages/ or /SitePages/.
Observing URL is really great but not always gives true and satisfactory result.
  • If you are using FireFox as browser with FireBug, open up console and view JavaScripts of page. If you see init.js, core.js etc. It’s confirm now its SharePoint site.
  • Another way is just do “View Source” from any browser of your site. If it’s SharePoint site (Publishing most cases) you will see something like

<head><meta name=”GENERATOR” content=”Microsoft SharePoint” /><meta http-equiv=”Conten ……
Dont forget to check Javascript section just after <Title> you will see reference JS from
well thats our 12 hive.

Good enough as proof. But still what if site has its own master pages and have customized in such way that these meta tags and core.js file are not in used or are removed. Since most public facing SharePoint sites redesign masterpage as per their company brand. Its strong chance you will see their masterpage, not default one.

BUT most of them never delete the default css and images that comes with default install of SharePoint.

  • So if you spoof the URL little like

http://<<Site name>>/_layouts/images/homepagetopzoneimage.jpg
you can see your SharePoint friends 😉

  • Check any image name from “12\TEMPLATE\IMAGES” folder in url with format like

http://<<Site name>>/_layouts/images/<<image name>>
Same goes for JavaScripts files too.

NOTE: When accessing any of the protected paths like _layouts if it asks for authentication also gives indication of SharePoint, as not all paths are having anonymous access.

And now one more last bust not least way.

  • If its SharePoint site there are also web services with it. You can call any of webservice (If banned then see your fav “Unknown Error” page).

You can directly access the error page too like

But coolest part is have some twist in calling these web services. If its SharePoint site there is “_layouts” folder. And if its “_layouts” try this :

http://<<Site name>>/_layouts/Lists.asmx
(Yes I know Lists.asmx is not in _layouts folder) . So you will see something like
Huh !!!! All developers knows this screen ;)

Do you still need proof ? 🙂

  • Here is one more way

Check _layouts/xsl/internal.xsl which is also base include file for all custom xslts
Ohh, few more URL like this

WOW !!!! Enough. I know its SharePoint site now.

BUT, Hey Do you want to know which version it is ?

No Problem, try this:

Happy net surfing !!!!!! 🙂

  1. taxi says:

    Hi i am kavin, its my first time to commenting anywhere, when i read this
    paragraph i thought i could also make comment due to this good article.

  2. Hi there, just became alert to your blog through Google, and found that it’s truly informative. I’m going to watch
    out for brussels. I will appreciate if you continue this in future.
    Many people will be benefited from your writing. Cheers!

  3. Hi, I do believe this is a great website. I stumbledupon it 😉 I will return once again since I
    saved as a favorite it. Money and freedom is the
    best way to change, may you be rich and continue to guide others.

  4. Hi, I do think this is an excellent web site. I stumbledupon it 😉 I’m going to return once
    again since I saved as a favorite it. Money and freedom is the
    best way to change, may you be rich and continue to guide others.

  5. Woah! I’m really loving the template/theme of this site.
    It’s simple, yet effective. A lot of times it’s difficult to get that “perfect balance” between user friendliness and visual appeal.
    I must say that you’ve done a very good job with this.
    Also, the blog loads super fast for me on Firefox. Superb Blog!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s