Hi Guys, I'm a new member in this forum and also a newbie in SEO world. Got question: Does googlebot reads external .tpl file embeded into a page using 'php include'? Please anyone help me. I promise to buy you a drink Thx in adavance
If there are no links to the file then google won't index it. It will parse any pages that use the file quite happily as the php include is server-side and invisible to search engines and users. I did read somewhere that your files should be called filename.inc.php if they are includes and that will stop them being indexed though.
Sounds Great Thanks for your help. The page I made is consist of 3 parts i.e. 1. header (full of images) and saved as header.tpl 2. Content area which then hopefully readable to google 3. footer (full of images) and saved as footer.tpl So the structure would be: <html> <body> <?php include "header.tpl"; ?> <table><tr><td> Content Area </td></tr></table> <?php include "footer.tpl"; ?> </body> </html> I hope this thing works the way that google won't read the embeded .tpl files and directly go to content instead. Or should just change the file ext to inc.php?