Jump to content
xisto Community
Sign in to follow this  
paulmason411

Redirect Problem

Recommended Posts

Hi, does anyone know if there is a way to display say http://forums.xisto.com/no_longer_exists/ at http://forums.xisto.com/no_longer_exists/ without using redirect from a to b. The real problem i have is if you try going to http://www.frusciante.net/ you will get redirected to http://forums.xisto.com/no_longer_exists/ where the files are stored.The code in frusciante.net is:

<FRAMESET border=0 frameSpacing=0 rows=100%,* frameBorder=0>    <FRAME name=bannerframe src="http://forums.xisto.com/no_longer_exists/; noResize></FRAMESET>

So is there a way to display the files from locborg.de/fru while maintaining the frusciante.net URL in the browser?

Share this post


Link to post
Share on other sites

You want to do it with help of html or php (for example)?if with help of html try FRAMES like you do.
if PHP try to use include function.


In the old day they used frames to this. The external frames have generally been dropped because of the problems they give search engines. But unless you are using some scripting language like jsp, the only choice I can think of, i.e. the only html tag I know of with a src attribute that can load an entire other page is the inline frame tag i.e. iframe.

So the option you have is to write: <iframe src="http://forums.xisto.com/no_longer_exists/; style="visibility:hidden"></iframe>. What this will do is to hide you iframe as if it didn't exist. Then when you want to redirect to it, simply use javascript to make the visibility property : visible.

Share this post


Link to post
Share on other sites

as already suggested, try using iframes. search Xisto forums regarding iframes, i believe there's a bunch of threads on this regard.but better for your domain, is to have it parked/addon in your host (http://forums.xisto.com/no_longer_exists/) so that it gives you frusciante.net without a trace of locborg anywhere in your site links. (parked and addon domains have been extensively discussed in Xisto also, so it might help you search the forums if you want). to do this your host has to support adding/parking a domain via cpanel, so consult with locborg if this can be done. :P

Share this post


Link to post
Share on other sites

Why don't you just store the files here on Xisto and then have the domain http://frusciante.net/ pointed to your hosting account? That would be a lot easier. You wouldn't need frames then. You could also try this:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; <html xmlns="http://www.w3.org/1999/xhtml/ <head><title>Home - [url=http://frusciante.net</title></head>]http://frusciante.net</title></head>[/url] <body> <iframe src="locborg.de/fru/; frameborder="0" width="100%" height="100%" scrolling="auto"><p><a href="locborg.de/fru/ to [url=http://frusciante.net/</a>]http://frusciante.net/</a>[/url]. Your browser does not support frames.</p></iframe> </body> </html>
It should help. Because the <object> tag isn't compatible with IE, I'll use iFrame for now. --EDIT 5:37PM-- Never mind, it didn't work. I just tested it. The site has this on it:

<script language="JavaScript" type="text/javascript">if( top.parent.frames.length > 0)top.parent.location.href = self.location.href;</script>

This means that if the page isn't EXACTLY at the very top corner of the document, it will reload itself into a new document.


Edited by OpaQue (see edit history)

Share this post


Link to post
Share on other sites

Or you could just be using iframe it should work at least I've tryed it several times although it would not change your address in the address bar if you had intention to do that.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.