PDA

View Full Version : Cannot Index My Site


weddingsite
2-1-05, 11:27 AM
I use a Fluid Dynamics Search Engine. All of a sudden I cannot reindex my site. It always worked for thr last three years.

I am getting Timed out error. The help says....

Either your web hosting provider has disabled sockets privileges as a matter of policy.
Or, the network architecture at your web hosting provider prevents outbound sockets from being made.

Has Powweb changes anything which is stopping me from doing so?

swordman007
2-5-05, 07:03 AM
I have had similar problems. There is a value that is set within the server OS that we have no control over, which has to do with a short timeout limit. Indexing takes time, and if the operation takes more than a prescribed amount of time, it is stopped by the server in order to keep one site from hogging so much of the CPU time from other sites hosted on the same server. You can always purchase a dedicated server for your site.....if you have that kind of money.

I got rid of all that PHP script and incorporated this little Java script into the main page, and other pages of my choosing, and it works great. Why go through the hassle of indexing when the work can be done by Google, or any other search engine of your own choosing? Simply make the modifications to the object search engine and your domain identifier, and it should work.

Here is the script:


<script type="text/javascript">

//Enter your root domain URL here, or the root of your web page URL.
var domainroot="www.javascriptkit.com"

function Gsitesearch(curobj){
curobj.q.value="site:"+domainroot+" "+curobj.qfront.value
}

</script>

//Make the necessary change, if you wish, to the search engine of your choice.
<form action="http://www.google.com/search" method="get" onSubmit="Gsitesearch(this)">

<p>Search (your site name):<br />
<input name="q" type="hidden" />
<input name="qfront" type="text" style="width: 180px" /> <input type="submit" value="Search" /></p>

</form>