Forum Moderators: open
I've been searching in vane for an answer to a pretty vital question that popped up yesterday:
I'm usually buildning sites (static) with the menu in a separate file SSI'd inte the pages. Will the SEs find and understand the tag
<!--#include file="../resources/menu.shtml" -->?
I mean, when viewing the page's source code in a regular browser, the menu's code will show up as if it were included in the page from start, so to speak. But will the spiders see it the same way? Or do I need to fgure out something else here?
Insights, viewpoints or suggestions of any kind is welcome.
TIA
Dan
It is a SERVER SIDE include, so any request for the page will have your server doing all the hard work and returning all the included files to the browser or spider as one standard HTML file.
The includes will be indexed.
Dan
No, it doesn't matter for the SE ranking. It's just easier to change/upload one file (the menu) when you're making changes to the site that requires new links in the menu.
If I e.g. add a page and have the menu included in all pages, I would need to change and upload them all.
I'd like to take this opportunity to thank all for elaborate replies!
Cheers,
Dan