Forums
This topic is locked
my include files don't work
Posted 16 Aug 2007 18:06:24
1
has voted
16 Aug 2007 18:06:24 Javier Castro posted:
Hi, I have ASP files parsed as html due to SEO requirements. All well and good there. However, I have tried using some include files and they don't work. I have tried variations and nothing. Does anyone know how can I make this includes to work?
Any ideas, are appreciated.
Javier
Replies
Replied 20 Aug 2007 21:42:51
20 Aug 2007 21:42:51 Jon Jaques replied:
Hello, is it possible that you've gotten those requirements backwards? If you "parse asp files as html", then the files would be displayed, code and all, instead of being executed.
Sounds more like you want to parse HTML files as ASP (the other way around) so that you can include ASP code in files which have the .htm(l) extension.
This is presuming that search engines prefer html files to dynamic asp files, and doing this might help to hide the dynamic nature of this page from the search engines. I'm not sure how much I agree with this presumption, but I've heard this before.
--J
Sounds more like you want to parse HTML files as ASP (the other way around) so that you can include ASP code in files which have the .htm(l) extension.
This is presuming that search engines prefer html files to dynamic asp files, and doing this might help to hide the dynamic nature of this page from the search engines. I'm not sure how much I agree with this presumption, but I've heard this before.
--J