homepage Welcome to WebmasterWorld Guest from 54.198.139.141
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld

Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
Frame Redirection
Ross_TPO




msg:4159806
 12:06 pm on Jun 26, 2010 (gmt 0)

Hey,

Im wondering if anyone can help me with this problem.

I have some webspace and domain names registered at Strato (a German webhosting company). I am trying to redirect one of my domain names to my bands myspace but when I do this, it is redirecting to the German version of myspace - presumably because of the German IP address on the redirect?

A friend suggested doing a frame set redirection. Would this work? And how would I go about doing this?

Thanks in advance.

 

penders




msg:4160724
 3:12 pm on Jun 28, 2010 (gmt 0)

Presumably you do actually get to your bands myspace page - but the rest of myspace is in German?

I don't see how doing a 'frame set redirection' would make any difference to this.

Is it possible to send an "Accept-Language: en" header when you do the redirect to suggest that you would prefer English?

tedster




msg:4160784
 5:03 pm on Jun 28, 2010 (gmt 0)

If MySpace forces a language redirect, presumably they would be picking up the IP address (or possible the browser settings) of the user, not the referring website. I don't see how a frame solution would change either one.

You can experiment easily enough. Let's assume your site is called example.com. Then create a URL example.com/myspacepage.html

Use standard frameset mark-up, and only have one visible frame:

<html>
<frameset cols="100%,0">
<frame src="[full myspace address here]" />
</frameset>
</html>

I'd be very surprised if it gets around the language redirection, but it's quick enough to experiment.

Ross_TPO




msg:4161044
 1:55 am on Jun 29, 2010 (gmt 0)

Hey,

Thanks for the replies, much appreciated.

I tried a variation of the standard frameset mark-up and it worked. I just redirected my bands site to an html document with the code below in it and it worked

What exactly is a frame redirection? And why has it sorted the problem? Im totally as a loss as to what has gone on.



<html>
<frameset rows="*">
<frame src="http://www.myspace.com/">
</frameset>
</html>

tedster




msg:4161054
 2:35 am on Jun 29, 2010 (gmt 0)

The phrase "frame redirection" is a bit of a misnomer. A frame is a way of having a page on one URL display one or more other URLs inside various sections of that browser window. The URLs for the various frames can be on any domain at all - they're not limited to the domain that the main page is being served from.

So what happens is the browser shows the URL of the main page, and the URL of any framed page or pages is not immediately visible. That's not exactly "redirection" but it sometimes gets called that.

I don't know exactly what Myspace is using for language detection. But whatever it is, apparently by using a full window frame, you've taken away the information they were using when you just linked.

So it sounds like Myspace is using the IP address of the referring page, if the user comes in via a link. Then with a frame, they are only able to see the IP address of the user's browser.

piatkow




msg:4161116
 6:51 am on Jun 29, 2010 (gmt 0)

Its a quick and dirty way to redirect which has a single advantage in that it requires only the url of the target site so is good for people who don't, or don't want to, understand the technicalities.

Google will index the pages inside the frame rather than the frameset. So the Myspace page will be indexed with the Myspace URL not the domain name. Other search engines will vary.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved