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 sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Addressbar URL static on redirect from another ISP 1

Status
Not open for further replies.

ChrisRChamberlain

Programmer
Mar 23, 2000
3,392
GB
Hi all

Apologies if this is the wrong forum.

Have a domain name which is subject to redirection from ISP1 to a website on ISP2.

Whilst you can navigate normally around the website on ISP2, in IE6 the URL in the addressbar remains static as the original URL called from ISP1.

Under these circumstances, is there any way to force the addressbar to indicate the current page?

TIA

FAQ184-2483 - answering getting answered.​
Chris [pc2]
PDFcommandertm.net
PDFcommandertm.com
 
It's probably displaying the site within a frame.

If using IE try right clicking, view properties.
Copy and paste the url that is displayed into your address bar.

In FF etc, simply right click and select "this frame" then choose and option for the menu.

Of course, there may be some javascript at play to stop you viewing the site outside the parent frameset.

Foamcow Heavy Industries - Web design and ranting
Buy Languedoc wines in the UK
 
Your site is framed. That is how frames naturally behave (or misbehave).
 
Ummm.

Well the site uses a frameset.
That is a group of frames that each contain a seperate HTML document.

When you click a link in the, lets say, nav frame it loads a corresponding page in the, lets say, content frame.

What I would do is abandon the frames and just create a "normal" site with no frames.

There is undoubtedly some reason the site is built using frames. If you were to tell us why then perhaps we could suggest an alternative method to achieve the same result but that would change the address bar.

Foamcow Heavy Industries - Web design and ranting
Buy Languedoc wines in the UK
 
Hi Chris,

The IFrames are unrelated, what is happening is when the domain is forwarded over to the other domain, the .co.uk is framing the whole site and this is why you keep seeing the static address bar.

Add the following code to the head section of your site:

Code:
<script language="JavaScript">
<!--
if (window != top) top.location.href = location.href;
// -->
</script>

Then try viewing the page and see if the address changes.

Hope this helps

Wullie

Fresh Look - Quality Coldfusion/Windows Hosting

The pessimist complains about the wind. The optimist expects it to change. The leader adjusts the sails. - John Maxwell
 
Why isn't ISP1 redirecting people straight to ISP2 ...

Code:
<script>
window.location="[URL unfurl="true"]http://www.pdfcommander.net";[/URL]
</script>

Is there a reason you need to keep to url .co.uk over .net ?
 
Wullie

Thanks for the code - unfortunately it makes no difference.

The static URL is irritating rather than anything else and if a major rework is the only solution, it may not be worth doing.

Fendal

I've been 'done over' by ISPs in the past who refuse to release domain names, (not their property), to alternative ISPs.

Prefer therefore to spread domain names over different ISPs to avoid getting stung again.

FAQ184-2483 - answering getting answered.​
Chris [pc2]
PDFcommandertm.net
PDFcommandertm.com
 
ChrisRChamberlain said:
Wullie

Thanks for the code - unfortunately it makes no difference.

The static URL is irritating rather than anything else and if a major rework is the only solution, it may not be worth doing.

Can you put the code on the site and then let us know when it is there? The reason I say this is that there is no reason I can see that this wouldn't work, so being able to see exactly what is happening would help.

Hope this helps

Wullie

Fresh Look - Quality Coldfusion/Windows Hosting

The pessimist complains about the wind. The optimist expects it to change. The leader adjusts the sails. - John Maxwell
 
Wullie

Apologies, your solution works as anticipated - when I checked again I had incorrectly pasted the code within another <script></script> block. [blush]

Thanks to all for your help

FAQ184-2483 - answering getting answered.​
Chris [pc2]
PDFcommandertm.net
PDFcommandertm.com
 
I've been 'done over' by ISPs in the past who refuse to release domain names, (not their property), to alternative ISPs.

Prefer therefore to spread domain names over different ISPs to avoid getting stung again.[/quote]
I've been caught by this too. My solution was not to register domains at a hosting company - with a domain+hosting package - but to register the domain myself with a domain seller like ukreg or 123reg and point it at the hosting provider's name servers.

That way I retain control of the domain, so if the hosting provider goes belly up or starts playing silly b*ggers I can easily move to somewhere else. Of course I may still be in some trouble if something happens to the domain seller (hopefully not too much because the domains are registered in my name not theirs), but I'll cross that bridge when I come to it...

-- Chris Hunt
Webmaster & Tragedian
Extra Connections Ltd
 
I've been caught by this too. My solution was not to register domains at a hosting company - with a domain+hosting package - but to register the domain myself with a domain seller like ukreg or 123reg and point it at the hosting provider's name servers.

That way I retain control of the domain, so if the hosting provider goes belly up or starts playing silly b*ggers I can easily move to somewhere else. Of course I may still be in some trouble if something happens to the domain seller (hopefully not too much because the domains are registered in my name not theirs), but I'll cross that bridge when I come to it...

Thats the best way if you are comfortable doing that and want the most control. If the registrar ever did flop, then you can go straight above them to Nominet/ICANN etc to retrieve control of your domains.

Hope this helps

Wullie

Fresh Look - Quality Coldfusion/Windows Hosting

The pessimist complains about the wind. The optimist expects it to change. The leader adjusts the sails. - John Maxwell
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top