Forums » Installation

File directory visable

fraseramsterdam
NETHERLANDS
2010-03-08 19:20:29
Permalink Post
 

I have noticed that Google has seen my site but has seen /files and when visiting it you can see my file directory.
My Question is how to hide this
and how to get my front page to be visited by google.

arsondpi A
GREECE
2010-03-08 20:36:15
Permalink Post
 

...search the web for robots.txt to learn how to exclude directories from search engines...
As for google tracking your pages... You have to be patient and also optimize your pages using h tags etc.
Search the web for search engine optimization

fraseramsterdam
NETHERLANDS
2010-03-08 21:43:44
Permalink Post
 

So I made a robot txt file and put it in the route
with this command

User-agent: *
Disallow: /

but Im still seeing file directory
I also tryed htaccess tutorials but still I see in the back of the site.
Can anyone shed light

fraseramsterdam
NETHERLANDS
2010-03-08 22:04:43
Permalink Post
 

So this is my solution so far for any person struggling
I found this tutorial

http://www.wallpaperama.com/forums/how-to-stop-your-directory-showing-all-your-files-t6944.html

Basically write this in a file txt file titled
.htaccess

Options -Indexes

gives a 403

Showing 1 - 4 of 4 posts in Forum > Installation > File directory visable
 

You need to be logged in to post.