Symon Moderator

 Virtual Cash: 28730
Joined: 04 Sep 2005 Posts: 11158 Location: Hampshire,England Add Karma
 rated by 85 members
Add Comment
Show Comments
 |
Posted: Mon Dec 04, 2006 2:59 pm Post subject: phpBB robots.txt |
|
|
Just what would be a good one for a forum
| Code: | User-agent: *
Disallow: /forums/admin/
Disallow: /forums/images/
Disallow: /forums/includes/
Disallow: /forums/language/
Disallow: /forums/templates/
Disallow: /forums/common.php
Disallow: /forums/groupcp.php
Disallow: /forums/memberlist.php
Disallow: /forums/modcp.php
Disallow: /forums/posting.php
Disallow: /forums/profile.php
Disallow: /forums/privmsg.php
Disallow: /forums/viewonline.php
Disallow: /forums/faq.php
Disallow: /forums/updates-topic
Disallow: /forums/stop-updates-topic
Disallow: /forums/ptopic
Disallow: /forums/ntopic
Disallow: /post- |
would that work for a forum or do i need to add more or takem away anything
_________________
http://www.saynoto0870.com/
http://www.myshopbag.co.uk
XXVIII/ I/ MCMLXXI |
|
| Back to top |
|
 |
admin (no pm's please) Site Admin

 Virtual Cash: 46230
Joined: 22 May 2005 Posts: 19679
Add Karma
 rated by 164 members
Add Comment
Show Comments
 |
Posted: Mon Dec 04, 2006 3:04 pm Post subject: |
|
|
A bot comes in as a guest and hence won't see most of that anyway.
User-agent: *
Disallow: /forums/groupcp.php
Disallow: /forums/memberlist.php
Disallow: /forums/posting.php
Disallow: /forums/profile.php
Disallow: /forums/privmsg.php
Disallow: /forums/viewonline.php
Disallow: /forums/faq.php
is probably enough, good tip though as do not have this currently. _________________
Family Friendly Shareware | | Web Design/Services | Free Forums
forum.myfreeforum.org |
|
| Back to top |
|
 |
admin (no pm's please) Site Admin

 Virtual Cash: 46230
Joined: 22 May 2005 Posts: 19679
Add Karma
 rated by 164 members
Add Comment
Show Comments
 |
|
| Back to top |
|
 |
Symon Moderator

 Virtual Cash: 28730
Joined: 04 Sep 2005 Posts: 11158 Location: Hampshire,England Add Karma
 rated by 85 members
Add Comment
Show Comments
 |
Posted: Mon Dec 04, 2006 3:09 pm Post subject: |
|
|
So i just add that to root then follow the guides that i posted below this called good idea 1 good idea 2 .
I fi add that to root would that cover the website as well as the forum ? _________________
http://www.saynoto0870.com/
http://www.myshopbag.co.uk
XXVIII/ I/ MCMLXXI |
|
| Back to top |
|
 |
admin (no pm's please) Site Admin

 Virtual Cash: 46230
Joined: 22 May 2005 Posts: 19679
Add Karma
 rated by 164 members
Add Comment
Show Comments
 |
|
| Back to top |
|
 |
Symon Moderator

 Virtual Cash: 28730
Joined: 04 Sep 2005 Posts: 11158 Location: Hampshire,England Add Karma
 rated by 85 members
Add Comment
Show Comments
 |
Posted: Mon Dec 04, 2006 4:21 pm Post subject: |
|
|
hmm seems as if theres an error anyway when i do it i get an parse error in the index.php
just wanted a smiple mod to get me noticed on google as at moment assiejack just brings up myfreeforums one _________________
http://www.saynoto0870.com/
http://www.myshopbag.co.uk
XXVIII/ I/ MCMLXXI |
|
| Back to top |
|
 |
admin (no pm's please) Site Admin

 Virtual Cash: 46230
Joined: 22 May 2005 Posts: 19679
Add Karma
 rated by 164 members
Add Comment
Show Comments
 |
|
| Back to top |
|
 |
Symon Moderator

 Virtual Cash: 28730
Joined: 04 Sep 2005 Posts: 11158 Location: Hampshire,England Add Karma
 rated by 85 members
Add Comment
Show Comments
 |
|
| Back to top |
|
 |
admin (no pm's please) Site Admin

 Virtual Cash: 46230
Joined: 22 May 2005 Posts: 19679
Add Karma
 rated by 164 members
Add Comment
Show Comments
 |
|
| Back to top |
|
 |
Symon Moderator

 Virtual Cash: 28730
Joined: 04 Sep 2005 Posts: 11158 Location: Hampshire,England Add Karma
 rated by 85 members
Add Comment
Show Comments
 |
Posted: Mon Dec 04, 2006 4:45 pm Post subject: |
|
|
A little yes its a learn process
| Quote: | | Parse error: parse error, unexpected T_STRING in /home/symon/public_html/forum/index.php on line 683 |
line 683 reads
| Code: | | $last_post .= ( $forum_data[$j]['user_id'] == ANONYMOUS ) ? ( ($forum_data[$j]['post_username'] != '' ) ? $forum_data[$j]['post_username'] . ' ' : $lang['Guest'] . ' ' ) : '$forum_data[$j]['username']; . '</a> '; |
_________________
http://www.saynoto0870.com/
http://www.myshopbag.co.uk
XXVIII/ I/ MCMLXXI |
|
| Back to top |
|
 |
admin (no pm's please) Site Admin

 Virtual Cash: 46230
Joined: 22 May 2005 Posts: 19679
Add Karma
 rated by 164 members
Add Comment
Show Comments
 |
Posted: Mon Dec 04, 2006 4:49 pm Post subject: |
|
|
$last_post .= ( $forum_data[$j]['user_id'] == ANONYMOUS ) ? ( ($forum_data[$j]['post_username'] != '' ) ? $forum_data[$j]['post_username'] . ' ' : $lang['Guest'] . ' ' ) : $forum_data[$j]['username']; . '</a> ';
is more like it. _________________
Family Friendly Shareware | | Web Design/Services | Free Forums
forum.myfreeforum.org |
|
| Back to top |
|
 |
Symon Moderator

 Virtual Cash: 28730
Joined: 04 Sep 2005 Posts: 11158 Location: Hampshire,England Add Karma
 rated by 85 members
Add Comment
Show Comments
 |
|
| Back to top |
|
 |
admin (no pm's please) Site Admin

 Virtual Cash: 46230
Joined: 22 May 2005 Posts: 19679
Add Karma
 rated by 164 members
Add Comment
Show Comments
 |
|
| Back to top |
|
 |
Symon Moderator

 Virtual Cash: 28730
Joined: 04 Sep 2005 Posts: 11158 Location: Hampshire,England Add Karma
 rated by 85 members
Add Comment
Show Comments
 |
|
| Back to top |
|
 |
admin (no pm's please) Site Admin

 Virtual Cash: 46230
Joined: 22 May 2005 Posts: 19679
Add Karma
 rated by 164 members
Add Comment
Show Comments
 |
Posted: Mon Dec 04, 2006 5:23 pm Post subject: |
|
|
So there were two errors in the line!
$last_post .= ( $forum_data[$j]['user_id'] == ANONYMOUS ) ? ( ($forum_data[$j]['post_username'] != '' ) ? $forum_data[$j]['post_username'] . ' ' : $lang['Guest'] . ' ' ) : $forum_data[$j]['username'] . '</a> ';
is probably what you need. _________________
Family Friendly Shareware | | Web Design/Services | Free Forums
forum.myfreeforum.org |
|
| Back to top |
|
 |