Dynadot โ€” .com Transfer

Php includes affect SEO

SpaceshipSpaceship
Watch

TWM

Web Marketing SpecialistEstablished Member
Impact
9
Will page includes effect the search engines ability to sniff your website? Say i have a header and a footer file and include them on the index.php file. Will the SE be able to see the header and footer file and sniff it?
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
They will see the HTML, it doesn't matter if you use PHP, Perl, ASP, etc.
 
0
•••
Yea. If you view the source, you will see that the dynamic content is there and that's what matters.
 
0
•••
idevisedesign said:
Will page includes effect the search engines ability to sniff your website? Say i have a header and a footer file and include them on the index.php file. Will the SE be able to see the header and footer file and sniff it?

Since the php end of it was answered...

If your concerned about your header and footer getting indexed seperately you can drop them in a seperate folder and disallow the search engines using a robots.txt file. I've seen a couple of sites who's header.html file are indexed and as such provide a unwelcome entrance into the site.
 
1
•••
Yes only the HTML is read meaning the output of your PHP code. The only SEO related problem that PHP seems to present is with dynamic URLs. Although you can easily fix this with Apache's mod_rewrite making easier to remember URLs that are search engine friendly.
 
0
•••
Appraise.net
Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back