PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > Troubleshooting

Reply
 
Thread Tools
Old 01-26-2004, 05:58 AM   #1
bordsenius
Green Mole
 
Join Date: Dec 2003
Location: norway
Posts: 2
Url resembles news:

Hi
Just came across a very unlikely bug, but thought I'd mention it.
I have been indexing a few sites to test things out, but there is one site that really does not work ok (there might be others, but I have only come across this one)

The url:
http://www.mediamac.dk/index.php?pag...:show,id=10276

seems to hit a filter for links to news: ,and the url is not indexed.

I realize that this is a bit of a strange url (I do not make the site so do not blame me) , but perhaps it is a good idea to filter Url's that begin with "news: and not news: to make sure the news: part is the protocol and not a part of the url.

Sb
bordsenius is offline   Reply With Quote
Old 01-26-2004, 08:34 AM   #2
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hi. Perhaps try editing the phpdigRewriteUrl function in the robot_functions.php file and remove the news piece from the following code:
PHP Code:
if (eregi("[/]?mailto:|[/]?javascript:|[/]?news:",$eval)) {
   return -
1;

__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote
Reply

Thread Tools

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
Another URL Question please. Kenny How-to Forum 2 12-01-2004 05:17 AM
How to unlock an URL philbihr How-to Forum 2 11-08-2004 04:11 AM
getting Url in Results firestarter Mod Requests 0 08-31-2004 02:53 PM
Suggest URL Dave A How-to Forum 1 08-18-2004 06:51 PM
Good News Charter Feedback & News 1 09-14-2003 08:58 AM


All times are GMT -8. The time now is 03:34 AM.


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