Auto-redirection, using html to redirect from a site |
Auto-redirection, using html to redirect from a site |
Minarin |
Dec 11 2007, 09:32 PM
Post
#1
|
Group: Members Posts: 2 Joined: 11-December 07 Member No.: 4,519 |
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 |
Dec 11 2007, 10:18 PM
Post
#2
|
WDG Member Group: Root Admin Posts: 8,365 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 |
Please see the FAQ entry Is there a way to prevent getting framed?
|
pandy |
Dec 11 2007, 11:06 PM
Post
#3
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
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 |
Dec 12 2007, 12:05 AM
Post
#4
|
Group: Members Posts: 2 Joined: 11-December 07 Member No.: 4,519 |
thank you very much. |
Lo-Fi Version | Time is now: 19th April 2024 - 05:41 PM |