Forum Moderators: coopster & phranque

Message Too Old, No Replies

Perl Script as a whole site

         

Elefante

2:38 pm on May 26, 2005 (gmt 0)



Im new to perl scripts but I´ve just set up a site that uses a script as the whole site. I´ve used a index html page with a refresh metatag to redirect visitors to the script in the cgi-bin on my server. I´d like to know if I can direct people straight the the script without the need for the refresh as I think this will affect the search engines results.

rocknbil

3:49 pm on May 26, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Make sure .cgi is in the server config for directory indexing, name the file index.cgi, remove all other index pages, and you're done. This may already be in place, most servers are configured to index a directory in an order something like index.html, index.htm, index.cgi, default.asp, or something like that. If it doesn't find the first, it moves on to the next, and so on; if none are found, it either displays directory contents or a message saying directory listing is not allowed.

A topic that seems to be pretty highly debated is whether that (a dynamic home page) is going to affect search engines more than your meta refresh. I've been listening for years and most opt for the static home page because they KNOW it works, but no one has presented any evidence that a dynamic page positively kills your ranking. I'm still listening. :-)

coopster

10:17 pm on May 26, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld, Elefante.

I agree, no need for the meta redirects. I would go about it much the same way and would even take it a step further and go to extenionless uris [w3.org].