Web Development: How to show another webpage or blog in your own blog or page.

 

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.

 

<center>

<iframe name=”Wordpress” src=”http://www.freesmsinfo.wordpress.com&#8221; frameborder=”0″ scrolling=”auto” height=”200″ width=”500″> <href=”http://www.freesmsinfo.wordpress.com”></a&gt;

</iframe>

</center>

 

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.

<div>

<?php include(“menu.php”); ?>

</div>

One Response to Web Development: How to show another webpage or blog in your own blog or page.

  1. Occasurce says:

    I love allaboutbasic.com! Here I always find a lot of helpful information for myself. Thanks you for your work.
    Best regards

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s