Blokiranje sajtova uz pomoc HOSTS fajla

Ukoliko zelite da blokirate neki sajt, to mozete uraditi, ako pomocu Notepada ili nekog drugog text editora izmenite hosts fajl koji se nalazi u c:/windows/system32/drivers/etc ako koristite windows, odnosno u /etc ako koristite Linux. Dovoljno je samo dodati linije (pozeljno je da adrese budu sa www i bez www kao u primeru):

127.0.0.1     nekisajt.com
127.0.0.1     http://www.nekisajt.com

U drugom redu wordpress automatski ubacuje http:// treba da bude bez ovog http://.

About darthewok

Kompjuterski entuzijasta sa preko 30 godina iskustva.

Posted on 2011/05/25, in Linux tips, Windows tips and tagged , , . Bookmark the permalink. 1 Comment.

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s

%d bloggers like this: