How to blocks links using hosts file? - Techist - Tech Forum

Go Back   Techist - Tech Forum > Techist Forum Information > New Member Introductions
Thread Tools Display Modes
Old 08-10-2014, 09:06 AM   #1 (permalink)
Virgin Techie
Join Date: Aug 2014
Location: USA
Posts: 0
Smile How to blocks links using hosts file?

Hello, I'm new here. I have to block a certain page and don't know how to do it.
I want to block a certain link(not the whole website) using hosts file. I know how to block a site but not a single page of the site.
For example: I don't want to block "" but want to block this link: "youtube(dot)com/watch?v=ulyG94KsJpY"

Online1100 is offline   Reply With Quote
Old 08-10-2014, 04:28 PM   #2 (permalink)
iFargle's Avatar
Join Date: Jan 2009
Location: United States
Posts: 3,704
Default Re: How to blocks links using hosts file?

This looks decent:
website - Block specific URL on web browsers - Super User

Apparently you can't block specific URLs with the default Hosts file, so this will probably be a better solution.

EDIT: Errr sorry, meant to link to this.
iFargle is offline   Reply With Quote

block, hosts, youtube

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
using sed to change hosts file into Dnsmasq config form Apokalipse Linux and Open Source 3 06-06-2010 02:09 AM
Swap Hosts Files Easily With Hosts Manager Osiris Tips, Tricks & Tutorials 0 12-27-2009 08:56 AM
free file hosts with-direct links... revenge2 Internet Software and Browsers 4 06-30-2007 10:46 PM
Finding hosts on subnet using nmap. syringe Computer Networking and Internet Hardware 1 03-13-2006 10:57 AM

Our Communities

Our communities encompass many different hobbies and interests, but each one is built on friendly, intelligent membership.

» More about our Communities

Automotive Communities

Our Automotive communities encompass many different makes and models. From U.S. domestics to European Saloons.

» More about our Automotive Communities

Marine Communities

Our Marine websites focus on Cruising and Sailing Vessels, including forums and the largest cruising Wiki project on the web today.

» More about our Marine Communities

Copyright 2002-2015 Social Knowledge, LLC All Rights Reserved.

All times are GMT -5. The time now is 10:35 PM.

Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2016, vBulletin Solutions, Inc.