|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Need help with robots file
Hey,
How can I make it so the robots only access my site's index.php file? For example, the following would be accessible: www.mysite.com/index.php but the following wouldn't: www.mysite.com/hello.php www.mysite.com/myfolder/index.php Thanks |
|
#2
|
|||
|
|||
|
I think it would be something like this:
User-agent: * Disallow: / Allow: /index.php |
![]() |
| Viewing: Dev Shed Forums > Web Site Management > Scripts > Need help with robots file |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|