what redirect is this?

ShiftySituation

Power Member
Joined
Apr 15, 2010
Messages
621
Reaction score
319
The page @ 12carloan.com has a delayed redirect which seems to happen after the page loads. I looked at the source and there isn't any javascript to do the redirect, so what is causing the page to redirect after it loads?
 
<meta http-equiv="refresh" content="5; url=redirect_page_here.html">
make sure this is in between the head tags ;)
 
**in that example, 5 is the amount of seconds to wait before the redirect.
 
I looked up timed redirect in google and all I could find is javascript and meta redirect. There isn't any javascript on the page so it wouldn't be that. I didn't see any meta redirect coding on the page either... What am I missing here?
 
HTML:
<script type="text/javascript">
setTimeout(window.location="http://url.com",1000);
</script>

or

HTML:
<meta http-equiv="Refresh" content="1;url=http://url.com" />

1000 is the time in milliseconds, which is equal to 1 second as shown in example 2.


EDIT: Just took a look at the code. There's no JS redirect. There's no meta-redirect. PHP is server-side, and data can't be outputted after the headers (e.g. a redirect) is sent. If I were you, I'd just use a javascript/meta redirect.
 
Last edited:
HTML:
<script type="text/javascript">
setTimeout(window.location="http://url.com",1000);
</script>

or

HTML:
<meta http-equiv="Refresh" content="1;url=http://url.com" />

1000 is the time in milliseconds, which is equal to 1 second as shown in example 2.


EDIT: I see you've already got answers; Are you sure it's not an external .js file? - Going to take a look at the site now, be right back :).

Yeah, no external js. It's some ghost redirect that I can't see!
 
The page is an asp page and after reading, you can do Response.AddHeader() to inject the meta redirect after a delay. Would this cause the meta tag to not show up on the html code, even if viewing it from fiddler?
 
Reason I want to do it this way is so I can have a page with backlinks on it for search engines and don't want to negatively effect that backlink juice with a contextually visual redirect.
 
Back
Top