I’m a fairly inexperienced web designer learning css/html on the fly for a company’s web site.
I want to keep menus, banners, etc in one document so I don’t have to repeat updates across many documents.
My solution was to make an index.aspx file with the menus and headers, then have a simple iframe for content. This works quite well and updates easily.
the format is:
The problem — Google is indexing my iframe’d pages and linking to them directly:
How can I set up redirects to page1.htm forwards to index.aspx?page=page1.htm without creating a “hall of mirrors” effect inside the original iframe?
Simple answer, put this on your page, either inside the head or the body tag:
Complex answer, you really should get some sort of CMS system.