Solved: 6 Years, 10 Months ago [How To?] Blocking Google Bots for Some Pages like "search.php, memberlist.php"
#1
Solved: 6 Years, 10 Months ago
How can we do it?
I dont use seo plugin, I just use SEF URL feature. So i haven't robot.txt or sitemap..
I can do this from htaccess i think. But i don't know how to do this. 
I  appreciate your help.
Reply
#2
Solved: 6 Years, 10 Months ago
Set up a robots.txt. That's the way you control search engine bots. Wink
[Image: banner.png]
Reply
#3
Solved: 6 Years, 10 Months ago
here is a sample robots.txt file (assuming that forum is at public_html folder on files server)

User-Agent: *
Disallow: /captcha.php
Disallow: /editpost.php
Disallow: /memberlist.php
Disallow: /misc.php
Disallow: /modcp.php
Disallow: /moderation.php
Disallow: /newreply.php
Disallow: /newthread.php
Disallow: /online.php
Disallow: /printthread.php
Disallow: /private.php
Disallow: /ratethread.php
Disallow: /report.php
Disallow: /reputation.php
Disallow: /sendthread.php
Disallow: /search.php
Disallow: /task.php
Disallow: /usercp.php
Disallow: /usercp2.php
Disallow: /calendar.php
Disallow: /newpoints.php
Disallow: /*action=emailuser*
Disallow: /*action=nextnewest*
Disallow: /*action=nextoldest*
Disallow: /*action=emailuser*
Disallow: /*year=*
Disallow: /*action=weekview*
Disallow: /*action=nextnewest*
Disallow: /*action=nextoldest*
Disallow: /*sort=*
Disallow: /*order=*
Disallow: /*mode=*
Allow: /
Reply
#4
Solved: 6 Years, 10 Months ago
Thanks a lot both big guys..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)