janhoedt
asked on
Redirect site, hide url
Hi,
I have this domain www.mydomain.com. I created a redirect underneath it, so www.mydomain.com/mysite goes to my home hosted site (no-ip.com).
It works but not on all browsers, please advise.
This is the redirect.
<frameset rows="100%"> <frameset cols="100%"> <frame src="https://mynoipdomain:8089/" frameborder="0" scrolling="no"> </frameset></frameset>
I have this domain www.mydomain.com. I created a redirect underneath it, so www.mydomain.com/mysite goes to my home hosted site (no-ip.com).
It works but not on all browsers, please advise.
This is the redirect.
<frameset rows="100%"> <frameset cols="100%"> <frame src="https://mynoipdomain:8089/" frameborder="0" scrolling="no"> </frameset></frameset>
ASKER
It's a hosted http server (one.com), not sure if I can change anything there.
Try adding this code after the HEAD statement, instead of what you have now.
<meta http-equiv="refresh" content="0"; URL="https://mynoipdomain:8089">
"0" is the number of seconds before the redirect happens.
If this works for you then move it into your frame setup.
<meta http-equiv="refresh" content="0"; URL="https://mynoipdomain:8089">
"0" is the number of seconds before the redirect happens.
If this works for you then move it into your frame setup.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for the ideas but I d just need one known solid working setup.
Since it is a hosted site and you cannot change the server config, one of these alternates should work for you
I have used the first one, and it works in all browsers. But I have not tried it in frames.
I have used the first one, and it works in all browsers. But I have not tried it in frames.
try .htaccess redirect first.... this is the only way, that someone, who will try to access a subpage directly will be redirected.
ASKER
Btw, the "couple of ideas" is exactly where I got my code in the first place.
What solution did you use?
What Http server are you using?