iframe alternative

by 3 replies
4
I'd like to add some content to pages on my site without having to edit each page individually. The issue is that I also want search engines to just think that content is a part of the page. To be more specific, on a page with articles I'd like to add a "top 5 articles" section that I can change without going through every page on my web site that particular set of 5 shows up on. However, iframes are separate pages (and I hear google even ignores iframe content completely) which I'd imagine causes quite a bit of trouble if I'm trying to pour all my PR into a handful of pages (which is the main point of doing this).

Are there any css alternatives? I just need to be able to write one or more anchor tags in a separate file. In particular, I'd need the XXX sections from the following example in a separate file:
<a href="XXX">XXX</a>

Any suggestions? I'm willing to use cgi/php, but I'd rather not since I write and test stuff offline on different computers and i don't want to have to install a server just for this (which I can't take with me anyway).
#website design #alternative #iframe
  • You could use a server side include http://www.mediatitan.com/articles/p...e_includes.php

    Very easy to manage and nowhere near as complicated as they sound.
    • [ 1 ] Thanks
    • [1] reply
  • Just in case someone else is curious, those instructions seem to be a bit out of date. the include php code that works for me is this:

    <?php
    include 'sitestructure.php';
    ?>

Next Topics on Trending Feed

  • 4

    I'd like to add some content to pages on my site without having to edit each page individually. The issue is that I also want search engines to just think that content is a part of the page. To be more specific, on a page with articles I'd like to add a "top 5 articles" section that I can change without going through every page on my web site that particular set of 5 shows up on. However, iframes are separate pages (and I hear google even ignores iframe content completely) which I'd imagine causes quite a bit of trouble if I'm trying to pour all my PR into a handful of pages (which is the main point of doing this). Are there any css alternatives? I just need to be able to write one or more anchor tags in a separate file. In particular, I'd need the XXX sections from the following example in a separate file: