Are you a Google Analytics enthusiast?
More SEO Content
Loading External Html Into A Div Container
Posted 01 December 2011 - 07:53 AM
I've been searching through the forums but don't seem to be able to find this topic (possibly because everyone knows the answer apart from me who's a complete newbie to SEO)!
It's a simple pretty question. I have a <div> which acts as a container which loads html text from an external html pages into it (imagine 3 tabs - each tab loads in a separate html file into the same container). Is the text content in the external html files visible to search engines? If so, is it as visible as if it wasn't external or less visible? Or should I avoid loading external text like the plague?!
Thanks in advance for your help.
Posted 01 December 2011 - 08:01 AM
Welcome to the forums.
Chances are that the text content is NOT visible to search engines on the page URL that contains the DIV. However, search engines MAY find the three separate HTML pages that contain the text that will be loaded into the DIV, and each of those three pages may be separately crawled and indexed.
What exactly is the mechanism for loading the external HTML pages into the DIV?
Posted 01 December 2011 - 08:20 AM
Thanks for the superfast reply and the welcome.
Well, it would be ajax I think. I haven't even started building the site so I was just thinking of ways to do things. My friend who wants the site wants it to be optimized for search engines but needs to be able to update the text content as easily as possible. I thought perhaps all the stuff like navigation buttons, calling scripts & stylesheets etc could be in the index.htm which he wouldn't need to touch then have really simple separate html files he could edit without breaking anything (!)
But no, SEO is a higher priority. I'm pretty sure I can make the main html pages pretty bomb-proof without the need for loading anything external, so you've told me all I need to know I think.
Thanks so much,
Posted 01 December 2011 - 08:35 AM
Posted 03 December 2011 - 06:32 AM
You either use iframes or handle the includes server-side.
Posted 04 December 2011 - 12:41 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users