Auto Blogging NO NOs

robots.txt doesn't stop bots from indexing you - use the .htaccess entries mentioned above if you're worried about that.

wordpress is already bloated so adding an extra plugin to do something as simple as managing robots.txt seems odd to me. if your blog is low traffic or you have a dedicated server then it's no biggie i guess though.

personally i just wack empty index.html files in each subdir to stop indexing as well as the .htaccess rule (if enabled by default) - i.e: no need to trigger php at all.

well i guess my lurking is over... :rolleyes:
your probably right just last time I edited my ht acces file or databases the whole thing didnt work --the only way to know if it works is with google tools which requires some verification thing ?? --- plugin is just easier for non developers : )

I too wanna know where options indexes goes iin the ht acces file and how it works - hope this is still onm topic
 
your probably right just last time I edited my ht acces file or databases the whole thing didnt work --the only way to know if it works is with google tools which requires some verification thing ?? --- plugin is just easier for non developers : )

I too wanna know where options indexes goes iin the ht acces file and how it works - hope this is still onm topic

literally just put:

Code:
Options -Indexes

in the top of your .htaccess file to prevent the listing of that directory and all below it. directories will inherit permissions from their parents.

if you have your own server though - it's better from a performance point of view to keep use of htaccess files to a minimum - since they all need to be loaded (from the current dir and up) to work out what the permissions need to be. the format is basically (ish) the same though.
 
literally just put:

Code:
Options -Indexes
in the top of your .htaccess file to prevent the listing of that directory and all below it. directories will inherit permissions from their parents.

if you have your own server though - it's better from a performance point of view to keep use of htaccess files to a minimum - since they all need to be loaded (from the current dir and up) to work out what the permissions need to be. the format is basically (ish) the same though.


awesome and how can we check that this has worked ?
 
awesome and how can we check that this has worked ?

um... just try and view the directory via your web browser :p

http://mysite.com/mydir-with-no-index-html-etc-in-it/

you should get a 403
 
Back
Top