Web Development: How to show another webpage or blog in your own blog or page.
December 27, 2010 1 Comment
I have found two solutions to show another webpage into your own blog or webpage.
Solution-1: Using iframe:
Here is the code just paste it in your blog or page.
Important Notes on iframe:
This solution is better for those who are using free WordPress blog or BlogSpot, whatever it is, and want to show other blog or page into theirs.
In various forums I found that the content of the page displayed by iframe will not be indexed by Google so it is not SEO friendly
iframe may also used to show adds on your page or blog.
Solution-2: Using PHP:
The following code is SEO friendly and the page displayed by using PHP include() function, will be indexed by Google.
<?php include(“menu.php”); ?>