Forum Moderators: open
In html we could write up a code for include file i.e.
<!--# include virtual="a.txt"-->
Can somebody tell me if this is Search engine friendly especially in Google. This code saves up lot of repetation in each page of the site and i was thinking of implementing this in one of my sites. Is it a good idea to include a file in an html code??
Or does anyone know of a better way to include file in an html code?
because it is included by the server before serving the page the SE or any other viewer would never know it wasn't hard coded into the page, so it is the same as writing the html snippet on every page.
if you are running from a windows server then
server.execute
(asp3 only)
does a similiar thing except that it will execute code from the "executed file" as well, the snag being you need an .asp filename, although i have no problem with this others around here say there could be a penalty.