View Full Version : How to add spider friendly news feed to site?
wiltonbiz
07-23-2005, 12:56 PM
I want to add a news feed to my website home page. I don't want to use JavaScript, because the search engines won't crawl the content. I can add the news feed using an ASP script, but this will require me to change the extension of my home page from index.htm to index.asp But I don't want to change the file name of the home page to index.asp because I'm afraid it will affect my PageRank or some other aspect of my SEO. Is there a workaround?
Thanks. :confused:
Mikkel deMib Svendsen
07-23-2005, 01:06 PM
Is there a workaround?
Yes, you can set your webserver up so that it parse HTML-files as ASP - that is, if you have your own or dedicated server. I doubt you will get away with it on a shared server.
wiltonbiz
07-23-2005, 01:16 PM
Thanks Mikkel.
I doubt you will get away with it on a shared server.
I currently have some shared hosting accounts and use .htaccess to run some .html files as .php with no complaints. Perhaps this takes more resources on a Windows server though?
And another way which may also work is to use the Windows equivalent of Service Side Includes to add that ASP code to the HTML page. I sometimes do this with HTML files - use SSI's to add PHP code to the page (this avoids having to use .htaccess or renaming the .html to .php).
Mikkel deMib Svendsen
07-23-2005, 02:37 PM
You can't insert include files server side with HTML-files on an IIS server unless you specifically setup the webserver to parse the HTML files as ASP (or another server processing). HTML files simply won't undergo any server side processing before served up on request.
The problem on a shred host is that most hosts like to keep all websites setup with the same standard settings. So if they turn ASP parsing of HTML-files on for all sites on a server that might host several hundred sites it WILL take more CPU - totally - which will leave them with less headroom to add more sites (and make more money).