Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Framed Redirect!!!!

Status
Not open for further replies.

EliseFreedman

Programmer
Dec 6, 2002
470
GB
I have my domain name (for my archery club website) hosted with a company called one to one. To keep costs down, I am using the free webspace which I have with my AOL account and simply redirecting users to this webspace. Despite the user being redirected, they still see
my domain name in the address bar. In this case
The address stays the same regardless of which page the user is on.

My problem is that if the user presses the refresh button, they are redirected to i.e my home page. What I want to happen is that the current page is reloaded.

I have been advised that this is happening because I am using a 'framed redirect' and that if I 'dump the frame, the the real url will show in the browser.

I am now completely confused. I have no idea what a framed redirect is and also I am not using frames on my site.

Does anyone know how I can remove the redirect or indeed if that is not the root of the problem, what else could be causing it
 
Hi Elise,

The framed redirect is indeed the cause of your problem. How this works is, the host (AOL) create a index frame 0 pixels high, then in the frameset code calls up your home page so when you upload your pages you don't even need to know about the frame.
like so;
Code:
<HTML><HEAD>
<META NAME=&quot;description&quot; content=&quot;archery, archery clubs Glasgow, Giffnock Archers&quot;>
<META NAME=&quot;keywords&quot; content=&quot; &quot;>
<TITLE>GIFFNOCK ARCHERS</TITLE>

</HEAD>
<FRAMESET ROWS=&quot;100%,*&quot; BORDER=&quot;0&quot; FRAMEBORDER=&quot;0&quot;>
<FRAME SRC=&quot;[URL unfurl="true"]http://members.aol.com/elisefreedman57/&quot;[/URL] SCROLLING=&quot;AUTO&quot; NAME=&quot;bannerframe&quot; NORESIZE>
</FRAMESET>
<NOFRAMES>
GIFFNOCK ARCHERS
<P>
<DIV ALIGN=&quot;CENTER&quot;><A HREF=&quot;[URL unfurl="true"]http://members.aol.com/elisefreedman57/&quot;>http://giffnockarchers.co.uk/</A></DIV>[/URL]
</NOFRAMES>
</HTML>
I would move away from the freespace as soon as possible otherwise you will always have this problem, there are some good cheap hosting deals around. One I've used personally is Their starter plan is £29.99.

The other things I would suggest is to dump the flash intro. it serves no purpose, it is not related to your site in any way and will just put visitors off. clean up the javascript and optimise your site better for the SEs, get some more articles on archery and you may qualify for the Google Adsense program where google serves in context ads on your site and pays you for it. That may help to offset the hosting costs and the optimising could even get you new membership!

btw this is your site as seen by the SEs



Chris.

Indifference will be the downfall of mankind, but who cares?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top