st0rmer Posted October 30, 2007 Share Posted October 30, 2007 If you include something into a php doucment with the include function, will oogle be able to read it easily, just as easily as if it were plain HTML? Quote Link to comment https://forums.phpfreaks.com/topic/75405-php-include-and-google/ Share on other sites More sharing options...
Wuhtzu Posted October 30, 2007 Share Posted October 30, 2007 Depends on what you mean. Take this example: home.inc <p>This is just some text</p> index.php <html> <head> <title>Test page</title> </head> <body> <?php include("home.inc"); ?> </body> </html> When someone (even google) sees index.php they wont know you have included home.inc. So in this case no problems. Was that what you ment? Quote Link to comment https://forums.phpfreaks.com/topic/75405-php-include-and-google/#findComment-381455 Share on other sites More sharing options...
st0rmer Posted October 30, 2007 Author Share Posted October 30, 2007 Yeah, i was wondering if google would pick up the included page, rather than just crawl the include() Quote Link to comment https://forums.phpfreaks.com/topic/75405-php-include-and-google/#findComment-381465 Share on other sites More sharing options...
Wuhtzu Posted October 30, 2007 Share Posted October 30, 2007 Google will never see anything other than pure HTML: <html> <head> <title>Test page</title> </head> <body> <p>This is just some text</p> </body> </html> Quote Link to comment https://forums.phpfreaks.com/topic/75405-php-include-and-google/#findComment-381473 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.