Forum Moderators: phranque
I've already made more than a few improvements to my site and code thanks to WW over the past week but the time has come for me to stop lurking and ask a question:
I have recently updated my smallish site so that every page imports the site navigation/menu from another file via an iframe. I thought this would be such a clever idea as it saves me updating every single file if I ever need to change any of the url's, for example. It also reduces file sizes and download size.
Being a control freak I instructed robots.txt to deny access to the navigation file so that it would not be listed in SERP's. But now I'm concerned that the SE's have no way to navigate and index the main sections of my site.
Are the spiders able to extract the links from the content of the IFrame and therefore index my site with this set up or do I need to remove the robots.txt instruction?
I've tested the iframe and not found any problems with the browsers that visit my site so I'm going to keep it and just allow the bots into the nav page with a script to jump to the index if anyone tries to load the nav page alone.
Thanks for the welcome despite my blunderous first post :o)