Printable Version of Topic

Click here to view this topic in its original format

HTMLHelp Forums _ Markup (HTML, XHTML, XML) _ Auto-redirection

Posted by: Minarin Dec 11 2007, 09:32 PM

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!

Posted by: Darin McGrew Dec 11 2007, 10:18 PM

Please see the FAQ entry http://www.htmlhelp.com/faq/html/frames.html#stop-framing

Posted by: pandy Dec 11 2007, 11:06 PM

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.

Posted by: Minarin Dec 12 2007, 12:05 AM

QUOTE(Darin McGrew @ Dec 11 2007, 10:18 PM) *

Please see the FAQ entry http://www.htmlhelp.com/faq/html/frames.html#stop-framing


thank you very much.

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)