myfreeforum.org Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups  Who is OnlineWho is Online   Join! (free) Join! (free)  
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
For an excellent guide to using your myfreeforum forum, you can visit
howtodoit
The howtodoit "readonly" forum provides answers and walkthroughs for all common questions.
  • Welcome
  • Guest


phpBB robots.txt
Goto page 1, 2  Next
 
Post new topic   Reply to topic    myfreeforum.org Forum Index -> Search Engines
View previous topic :: View next topic  
Author Message
Symon
Moderator
Moderator

Virtual Cash: 28730

Joined: 04 Sep 2005
Posts: 11158
Location: Hampshire,England
Add Karma

rated by 85 members
Add Comment
Show Comments

online/offline
PostPosted: Mon Dec 04, 2006 2:59 pm    Post subject: phpBB robots.txt Reply with quote

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
View user's profile Private message Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 46230

Joined: 22 May 2005
Posts: 19679

Add Karma

rated by 164 members
Add Comment
Show Comments

online/offline
PostPosted: Mon Dec 04, 2006 3:04 pm    Post subject: Reply with quote

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
View user's profile Private message Send e-mail Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 46230

Joined: 22 May 2005
Posts: 19679

Add Karma

rated by 164 members
Add Comment
Show Comments

online/offline
PostPosted: Mon Dec 04, 2006 3:06 pm    Post subject: Reply with quote

Actually we do!
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
Symon
Moderator
Moderator

Virtual Cash: 28730

Joined: 04 Sep 2005
Posts: 11158
Location: Hampshire,England
Add Karma

rated by 85 members
Add Comment
Show Comments

online/offline
PostPosted: Mon Dec 04, 2006 3:09 pm    Post subject: Reply with quote

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
View user's profile Private message Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 46230

Joined: 22 May 2005
Posts: 19679

Add Karma

rated by 164 members
Add Comment
Show Comments

online/offline
PostPosted: Mon Dec 04, 2006 4:15 pm    Post subject: Reply with quote

Not sure what you mean about the rest of the site,as the entries seem only forum related.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
Symon
Moderator
Moderator

Virtual Cash: 28730

Joined: 04 Sep 2005
Posts: 11158
Location: Hampshire,England
Add Karma

rated by 85 members
Add Comment
Show Comments

online/offline
PostPosted: Mon Dec 04, 2006 4:21 pm    Post subject: Reply with quote

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
View user's profile Private message Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 46230

Joined: 22 May 2005
Posts: 19679

Add Karma

rated by 164 members
Add Comment
Show Comments

online/offline
PostPosted: Mon Dec 04, 2006 4:32 pm    Post subject: Reply with quote

Where are you altering index.php? I cannot see the links you mention.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
Symon
Moderator
Moderator

Virtual Cash: 28730

Joined: 04 Sep 2005
Posts: 11158
Location: Hampshire,England
Add Karma

rated by 85 members
Add Comment
Show Comments

online/offline
PostPosted: Mon Dec 04, 2006 4:33 pm    Post subject: Reply with quote

http://forum.myfreeforum.org/ftopic6366.php
_________________


http://www.saynoto0870.com/

http://www.myshopbag.co.uk

XXVIII/ I/ MCMLXXI
Back to top
View user's profile Private message Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 46230

Joined: 22 May 2005
Posts: 19679

Add Karma

rated by 164 members
Add Comment
Show Comments

online/offline
PostPosted: Mon Dec 04, 2006 4:39 pm    Post subject: Reply with quote

What parse error do you get? and what is the code?


Do you really know php?
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
Symon
Moderator
Moderator

Virtual Cash: 28730

Joined: 04 Sep 2005
Posts: 11158
Location: Hampshire,England
Add Karma

rated by 85 members
Add Comment
Show Comments

online/offline
PostPosted: Mon Dec 04, 2006 4:45 pm    Post subject: Reply with quote

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
View user's profile Private message Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 46230

Joined: 22 May 2005
Posts: 19679

Add Karma

rated by 164 members
Add Comment
Show Comments

online/offline
PostPosted: Mon Dec 04, 2006 4:49 pm    Post subject: Reply with quote

$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
View user's profile Private message Send e-mail Visit poster's website
Symon
Moderator
Moderator

Virtual Cash: 28730

Joined: 04 Sep 2005
Posts: 11158
Location: Hampshire,England
Add Karma

rated by 85 members
Add Comment
Show Comments

online/offline
PostPosted: Mon Dec 04, 2006 4:55 pm    Post subject: Reply with quote

Just got to remove the rouge

Parse error: parse error, unexpected '.' in /home/symon/public_html/forum/index.php on line 683
_________________


http://www.saynoto0870.com/

http://www.myshopbag.co.uk

XXVIII/ I/ MCMLXXI
Back to top
View user's profile Private message Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 46230

Joined: 22 May 2005
Posts: 19679

Add Karma

rated by 164 members
Add Comment
Show Comments

online/offline
PostPosted: Mon Dec 04, 2006 5:12 pm    Post subject: Reply with quote

So you are saying my replacement line does not fix the bug?
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
Symon
Moderator
Moderator

Virtual Cash: 28730

Joined: 04 Sep 2005
Posts: 11158
Location: Hampshire,England
Add Karma

rated by 85 members
Add Comment
Show Comments

online/offline
PostPosted: Mon Dec 04, 2006 5:16 pm    Post subject: Reply with quote

No it came back with above error message
_________________


http://www.saynoto0870.com/

http://www.myshopbag.co.uk

XXVIII/ I/ MCMLXXI
Back to top
View user's profile Private message Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 46230

Joined: 22 May 2005
Posts: 19679

Add Karma

rated by 164 members
Add Comment
Show Comments

online/offline
PostPosted: Mon Dec 04, 2006 5:23 pm    Post subject: Reply with quote

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
View user's profile Private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    myfreeforum.org Forum Index -> Search Engines All times are GMT + 1 Hour
Goto page 1, 2  Next
Page 1 of 2
 
 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Card File  Gallery  Forum Archive
Powered by phpBB © 2001, 2005 phpBB Group
Create your own free forum | Buy a domain to use with your forum