spewn
Programmer
- May 7, 2001
- 1,034
i run all my pages from a .pl file, that generates the html seen on a page.
my site runs like this...
' goes to the index default file, index.html. on the index.html page there is the meta tags and then a javascript that changes the location to the site.pl with the parameters...
ex.
<HTML>
<HEAD>
<TITLE></TITLE>
<META NAME="KEYWORDS" CONTENT="">
<META NAME="DESCRIPTION" CONTENT="">
<META HTTP-EQUIV="content-type" CONTENT="text/html; charset=ISO-8859-1">
<META HTTP-EQUIV="" CONTENT="no-cache">
</HEAD>
<BODY>
<form name="go" method="post" action="/cgi/count.cgi?eyc" >
</form>
<script>document.go.submit();</script>
</BODY>
</HTML>
Now my question is this...will the spiders (esp google!) read the index page and follow the javascript to the file? of course, this goes to a counter that then proceeds to the main site.pl file.
this is wrong?
how about if this is in there instead...
<BODY>
<script>location.href='wherever.html'</script>
</BODY>
will it follow then?
or how about if i have a meta tag that redirects it using the refresh...will it follow then?
and finally...
if you know about the .htaccess, how about if the DirectoryIndex points to the site.pl directly...will the spiders follow?
any help is appreciated...
- g
my site runs like this...
' goes to the index default file, index.html. on the index.html page there is the meta tags and then a javascript that changes the location to the site.pl with the parameters...
ex.
<HTML>
<HEAD>
<TITLE></TITLE>
<META NAME="KEYWORDS" CONTENT="">
<META NAME="DESCRIPTION" CONTENT="">
<META HTTP-EQUIV="content-type" CONTENT="text/html; charset=ISO-8859-1">
<META HTTP-EQUIV="" CONTENT="no-cache">
</HEAD>
<BODY>
<form name="go" method="post" action="/cgi/count.cgi?eyc" >
</form>
<script>document.go.submit();</script>
</BODY>
</HTML>
Now my question is this...will the spiders (esp google!) read the index page and follow the javascript to the file? of course, this goes to a counter that then proceeds to the main site.pl file.
this is wrong?
how about if this is in there instead...
<BODY>
<script>location.href='wherever.html'</script>
</BODY>
will it follow then?
or how about if i have a meta tag that redirects it using the refresh...will it follow then?
and finally...
if you know about the .htaccess, how about if the DirectoryIndex points to the site.pl directly...will the spiders follow?
any help is appreciated...
- g