PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > How-to Forum

Reply
 
Thread Tools
Old 07-31-2006, 12:43 PM   #1
Samar
Green Mole
 
Join Date: Feb 2006
Posts: 3
Change user-agent name

I have a website in english and french and I want to have 2 phpdig installation, one to search the french pages and one for the english pages.

I want to block access to the english pages to the french phpdig and vice versa in my robots.txt file.

For example my robots.txt would look like :

Code:
#phpdig for english pages
User-agent: PhpDig
Disallow: /fr/
#phpdig for french pages
User-agent: PhpDigFr
Disallow: /en/
I have read some post on how to change the user-agent name and I've changed the robot_functions.php and spider.php files without success.

Any help would be much appreciated.
Samar is offline   Reply With Quote
Old 08-14-2006, 11:33 PM   #2
mickres
Green Mole
 
Join Date: Aug 2006
Posts: 1
I think you have to change the user agent name for the english pages too (PhpDigEn for example). Change it in your english phpdig installation also.
mickres is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Chaning name of user-agent? AllKnightAccess How-to Forum 6 11-30-2004 11:57 AM
um new user help mspmsp How-to Forum 1 09-16-2004 07:35 PM
how to change user-agent ? 123av Mod Requests 11 04-21-2004 05:29 AM
User Titles Charter The Mole Hole 0 01-30-2004 11:55 PM


All times are GMT -8. The time now is 03:52 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.