SitePoint Sponsor |
|
User Tag List
Results 1 to 5 of 5
Thread: Password protection
Hybrid View
-
Sep 22, 2006, 18:05 #1
- Join Date
- Sep 2005
- Location
- Orbost Vic 3888
- Posts
- 16
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Password protection
I have used Password protection on a directory on my apache Linux server ( set through Cpanel frontend) website to stop robots accessing the directory. I want to include a hyperlink on the main page that includes the userid and password .
Can any one help in telling me how to do this?
-
Sep 22, 2006, 18:21 #2
- Join Date
- Feb 2003
- Location
- Slave I
- Posts
- 23,424
- Mentioned
- 2 Post(s)
- Tagged
- 1 Thread(s)
Do you mean you want people to click on a link and be able to view a secure page?
-
Sep 22, 2006, 18:27 #3
- Join Date
- Sep 2005
- Location
- Orbost Vic 3888
- Posts
- 16
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Yes That exactly what I mean. I wan't the only entry to the directory to be through a hyperlink on my main page.
-
Sep 22, 2006, 18:28 #4
- Join Date
- Feb 2003
- Location
- Slave I
- Posts
- 23,424
- Mentioned
- 2 Post(s)
- Tagged
- 1 Thread(s)
If you do that robots will be able to follow that link and see that content. I think that would defeat the purpose of blocking that directory with .htaccess.
-
Sep 23, 2006, 09:24 #5
- Join Date
- Aug 2006
- Location
- Tucked away in the mountains...
- Posts
- 228
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
curious
Originally Posted by keithlaw
But, if all you are interested in doing is excluding robots why not just use
a robots.txt file, or a meta tag? e.g.
<meta name="robots" content="noindex">
More info:
http://www.seoconsultants.com/meta-tags/robots/"Three components make an entrepreneur:
the person, the idea, and the resources to make it happen."
Anita Roddick ~British entrepreneur
dbr founder of: ProximityCast.com
Bookmarks