Click here to Skip to main content
15,909,605 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
I'm designing a search engine. Here I'm able to display the keywords along with the hyperlinks on the html page.But when i click on the link, it is being redirected to the error page saying site not found in this server. The thing is if i have a hyperlink say www.google.com, if i click on it then it gets connected to http://localhost/www.google.com and says site not found. It is not getting directly connected to www.google.com.Please help find me find a solution.

Server: Apache
Language: Python
Posted
Comments
Sergey Alexandrovich Kryukov 17-Oct-11 14:35pm    
Not enough information. If this is Python, is this WSGI or not, what kind? Can you make a code sample manifesting the problem?
--SA

1 solution

I'm not quite sure what you mean by "designing a search enginge", but if you you press a hyperlink and are not redirected where you think you should have been redirected, well there must be something wrong with your hyperlink then. Since you have given us no hint at all how your hyperlink was rendered as HTML there is nothing much we can do for you.

Please analyze the HTML anchor link that is giving you trouble and add it to your question, so we can see what it looks like. Also add information about the site structure as this is relevant when relative URLs are used.

Best Regards,

—MRB
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900