SlideShare a Scribd company logo
1 of 10
BLOCKING SEARCH ENGINES FROM
INDEXING YOUR SHAREPOINT SITE
Ahmed Madany
Senior SharePoint Consultant
http://eg.linkedin.com/pub/ahmed-madany/35/80/2b6
http://ahmedmadany.wordpress.com/
https://twitter.com/ahmed_madany
AGENDA
 Introduction
 What is Robots.txt ?
 Location of Robots.txt in SharePoint Site.
 Creating Robots File.
 Integrate Robots.txt with SharePoint Site.
INTRODUCTION
 There are many occasions where you may want
to exclude a website or portion of a site from
search engine crawling and indexing.
 There are several ways to
prevent Google, Yahoo!, Bing or Ask from
indexing a site’s pages.
 robots.txt files to prevent sites from being
indexed and thus showing up in the search
engines.
WHAT IS ROBOTS.TXT
 Robots.txt is a text (not html) file placed in the
root of your site to tell search robots which
pages should and should not be
visited/indexed.
 It is not mandatory for search engines to
adhere to the instructions found in the
robots.txt but generally search engines obey
what they are asked not to do
WHAT IS ROBOTS.TXT
 It is important to note that a robots.txt does not
completely prevent search engines from crawling
your site (i.e. it is not a firewall) and the fact that
you may have a robots.txt file on your site is
something like putting a note “Please, do not
enter” on your unlocked front door. Put simply, it
will not prevent thieves from coming in but the
good guys will not open to door and enter.It goes
without saying therefore, if you have sensitive
data, you cannot rely 100% on a robots.txt to
protect it from being indexed and displayed in
search results.
LOCATION OF ROBOTS.TXT IN SHAREPOINT SITE
 The location of robots.txt is very important
 It must be in the main directory because
otherwise user agents (search engines) will not
be able to find it.
 Search engines look first in the main directory
(i.e.http://www.sitename.com/robots.txt) and if
they don’t find it there, they simply assume that
this site does not have a robots.txt file
CREATING ROBOTS FILE
 Creating a Robots.txt
 Launch Notepad
 Put the following in your robots.txt file to refuse your
entire site from indexing :
User-agent: *
Disallow: /
 Save the file as: robots.txt
Note : Make sure understand the robots.txt is case
sensitive for the urls
INTEGRATE ROBOTS.TXT WITH SHAREPOINT
SITE
 Adding a robots.txt file to the root of your SharePoint
site.
 Open up your root site in SharePoint Designer.
 Double Click the folder All Files
 Drag and drop the newly created robots.txt to the All
Files folder.
 Exit SharePoint Designer.
Alternatively you can create the robots.txt from within
SharePoint Designer itself.
REFERENCES
 http://ahmedmadany.wordpress.com/2012/0
3/15/how-to-block-search-engines-from-
indexing-your-site/
 http://blog.mastykarz.nl/generating-robots-txt-
files-mavention-robots-txt/
 http://blog.drisgill.com/2009/01/adding-
robotstxt-to-sharepoint.html
CONTACTS
 If you have any questions plz Contact Me on
Prog_madany@hotmail.com

More Related Content

Recently uploaded

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Recently uploaded (20)

From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 

Featured

Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Featured (20)

PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
 

Blocking Search Engines from Indexing your SharePoint Site

  • 1. BLOCKING SEARCH ENGINES FROM INDEXING YOUR SHAREPOINT SITE Ahmed Madany Senior SharePoint Consultant http://eg.linkedin.com/pub/ahmed-madany/35/80/2b6 http://ahmedmadany.wordpress.com/ https://twitter.com/ahmed_madany
  • 2. AGENDA  Introduction  What is Robots.txt ?  Location of Robots.txt in SharePoint Site.  Creating Robots File.  Integrate Robots.txt with SharePoint Site.
  • 3. INTRODUCTION  There are many occasions where you may want to exclude a website or portion of a site from search engine crawling and indexing.  There are several ways to prevent Google, Yahoo!, Bing or Ask from indexing a site’s pages.  robots.txt files to prevent sites from being indexed and thus showing up in the search engines.
  • 4. WHAT IS ROBOTS.TXT  Robots.txt is a text (not html) file placed in the root of your site to tell search robots which pages should and should not be visited/indexed.  It is not mandatory for search engines to adhere to the instructions found in the robots.txt but generally search engines obey what they are asked not to do
  • 5. WHAT IS ROBOTS.TXT  It is important to note that a robots.txt does not completely prevent search engines from crawling your site (i.e. it is not a firewall) and the fact that you may have a robots.txt file on your site is something like putting a note “Please, do not enter” on your unlocked front door. Put simply, it will not prevent thieves from coming in but the good guys will not open to door and enter.It goes without saying therefore, if you have sensitive data, you cannot rely 100% on a robots.txt to protect it from being indexed and displayed in search results.
  • 6. LOCATION OF ROBOTS.TXT IN SHAREPOINT SITE  The location of robots.txt is very important  It must be in the main directory because otherwise user agents (search engines) will not be able to find it.  Search engines look first in the main directory (i.e.http://www.sitename.com/robots.txt) and if they don’t find it there, they simply assume that this site does not have a robots.txt file
  • 7. CREATING ROBOTS FILE  Creating a Robots.txt  Launch Notepad  Put the following in your robots.txt file to refuse your entire site from indexing : User-agent: * Disallow: /  Save the file as: robots.txt Note : Make sure understand the robots.txt is case sensitive for the urls
  • 8. INTEGRATE ROBOTS.TXT WITH SHAREPOINT SITE  Adding a robots.txt file to the root of your SharePoint site.  Open up your root site in SharePoint Designer.  Double Click the folder All Files  Drag and drop the newly created robots.txt to the All Files folder.  Exit SharePoint Designer. Alternatively you can create the robots.txt from within SharePoint Designer itself.
  • 10. CONTACTS  If you have any questions plz Contact Me on Prog_madany@hotmail.com