Johnburk
04-06-2005, 04:33 AM
I have a website that uses frames and I was wondering if there is a simple way to change the pages into non-frames for search engines.
![]() | View Full Version : Turning fames page into non-frames? Johnburk 04-06-2005, 04:33 AM I have a website that uses frames and I was wondering if there is a simple way to change the pages into non-frames for search engines. samdax 04-06-2005, 05:08 AM just use SSI (server side include) option instead of frame. Johnburk 04-06-2005, 07:21 AM Is there a tutoriol on that? Andy AWFX 04-06-2005, 08:16 AM It's quite simple: Add this line where you want your ssi pages. <!--#include file="your.html"--> If you set your website out in tables so that the table matches your original frameset layout EG: If you had a frameset set like this; Top frame Main frame Bottom frame Use the ssi tags like this on the main frame: <!--#include file="top.html"--> top frame your content would be here <!--#include file="bottom.html"-->bottom frame Hope this helps Andy Johnburk 04-06-2005, 07:01 PM My frame looks abit more complicated than that. Its <frameset framespacing="0" border="0" frameborder="0" cols="*,75,838,75,*"> <frame name="Left" target="main" marginwidth="0" marginheight="0" scrolling="no" noresize src="frames/left.htm"> <frame name="Left2" marginwidth="0" marginheight="0" scrolling="no" noresize src="frames/left2.htm" target="_self"> <frameset rows="174,48%,26"> <frame name="main" marginwidth="0" marginheight="0" scrolling="no" src="frames/top.htm" target="_self" noresize> <frame name="main2" src="frames/main.htm" target="_self" scrolling="auto" marginwidth="16"> <frame name="main1" marginwidth="0" marginheight="0" scrolling="no" noresize src="frames/bottem.htm" target="_self"> </frameset> <frame name="Right2" marginwidth="0" marginheight="0" scrolling="no" noresize src="frames/right2.htm" target="_self"> <frame name="Right" marginwidth="0" marginheight="0" scrolling="no" noresize src="frames/right.htm" target="_self"> <noframes> So how could that be changed? SniperDevil 04-06-2005, 07:08 PM Originally posted by Andy AWFX It's quite simple: Add this line where you want your ssi pages. <!--#include file="your.html"--> If you set your website out in tables so that the table matches your original frameset layout EG: If you had a frameset set like this; Top frame Main frame Bottom frame Use the ssi tags like this on the main frame: <!--#include file="top.html"--> top frame your content would be here <!--#include file="bottom.html"-->bottom frame Hope this helps Andy He's asking about frames, which are strictly client side. SSI is mainly used for including headers/footers/other things dynamically... on the server side. You have to change it into HTML for the browser to display it on the client side, right? So he's asking about a simpler way to display his pages ... an alternative to frames; SSI is not an alternative, it's apples versus oranges. As for the original question, I don't know much about frames, nor do I like them, but sometimes they are a necessity. There are solutions, but none that I know of are as widely supported by browsers as frames are. |