![]() |
robots.txt and URL
Hello,
I've a robot.txt file wich work perfectly with PhpDig. Notice the forum folder into: Code:
User-agent: * It is possible to force a few URLs (in fact 19 entries) when the forum is exclude form indexing? Thx for your help and time. Regards; Dominique |
From what I can see your are asking how to make PHP spider a directory that has been excluded in the robots.txt file.
From my experience of the software it is built into PHPDIG to read the robots.txt file and obey it, ethically if the web master has excluded the directory from robots would it be right to try and index it? No doubt people with more experience than me may well answer your question or know how it's done but I would ask the question "Wouldn't that make the robot spider little more than a hacking device?" Hopefuly someone with more knowledge will help you. |
No ambigous way in my question, but I understand what you mean and I've not think about until you talk about.
I've a forum (www.john-howe.com/forum) with a lot of section and one is about FAQ wich I wisch to include into indexing. My question is: How can I do that? I don't want to list into robots.txt my thousand treads :) It is possible to specified at robot.txt wich URL index? I've found nothing about. Is "Allow:" supported in phpdig? Regards, Dom |
First, remove "Disallow: /forum/" from your robots.txt file.
Next, go to the PhpDig admin panel and copy down the "update sites" values for your site. Then, enter each FAQ-type URL that you want to index, one per line, in the PhpDig textbox like so: Code:
http://www.john-howe.com/forum/phpbb/viewtopic.php?t=XXXX Once PhpDig is done, go to "update sites" and edit the values back to their original settings. Remember to add "Disallow: /forum/" back to your robots.txt file. PhpDig currently does not understand robots.txt "allow" lines. Also, read this documentation for further information. |
Super tricks. Thx a lots.
I will try it tonigh. Regards, Dom |
All times are GMT -8. The time now is 12:15 PM. |
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.