Will search engines see an #include?

Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
Spacemail by SpaceshipSpacemail by Spaceship
Watch

bob_visualefx

Established Member
Impact
0
Will search engines see my content if I use
Code:
<!--#include virtual="/filename.html"-->
in my pages? If so, what will they see? Just the include, everything but the include, the whole page?
I'm just wondering because I am working on a site that will have many pages and I'd like to try to avoid having to update hundreds of pages every time we change something. Thanks for any help!
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
If you use php include I am pretty sure they won't see it. Because spiders just spider html and the site and php is processed then displayed as html.
 
0
Close
would iframes be better then includes then?
 
0
Close
Search engines see the rendered page. Includes are fine.
 
0
Close
Porto88 said:
would iframes be better then includes then?
includes are better than iframes for the latter feeds 2 or 3 pages at a time to search engines some sort of a spam.
 
0
Close
shanee86 said:
If you use php include I am pretty sure they won't see it. Because spiders just spider html and the site and php is processed then displayed as html.

I use php include and they see mine and index what is on it no problem.
 
0
Close
Include is serverside so searchengine crawlers see it as content, so use include before iframes....
 
0
Close
Phoog said:
Include is serverside so searchengine crawlers see it as content, so use include before iframes....

Was just about to say that, Includes are serverside, they are processed everytime the page is called for, regardless of who/what calls it. The page will display with all includes pulling their correct data for spiders and humans alike.

Regards
Brian
 
0
Close
They only could spider the "result page" ,that is showing to any web browser, they can't spider your code sources :)
 
0
Close
CatchedCatched

We're social

Escrow.com
Spaceship
CryptoExchange.com
Domain Recover

NamePros updates

Quick replies: search, your most used replies, and more on every post
Quick replies are easier to find and use now. The quick reply menu has a search box. Type a few letters to find the reply you want. A...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back