Help - Search - Members - Calendar
Full Version: Auto-redirection
HTMLHelp Forums > Web Authoring > Markup (HTML, XHTML, XML)
Minarin
I've switched from Geocities to my own host and would like to have it auto-redirect. That part is covered, I've quickly put together a little redirect page: http://www.geocities.com/minarinshop/

I'm currently using JavaScript
<script language="javascript"><!--
location.replace("http://linuxdigital.net/minarin/index.html")
//-->
</script>

But, will later go back to HTML:
CONTENT="2; URL=http://linuxdigital.net/minarin/index.html">

My problem is that with both methods, the URL stays the same, even if I navigate on to new pages. How can I fix this?

Thank you!
Darin McGrew
Please see the FAQ entry Is there a way to prevent getting framed?
pandy
You could improve the JavaScript by usning
CODE
top.location.href = '[NEW URL]';

if geo doesn't have a way around that too. But above all you should have real link on the page that everyone can follow.
Minarin
QUOTE(Darin McGrew @ Dec 11 2007, 10:18 PM) *


thank you very much.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.