Jump to content

Recommended Posts

What would be considered best practice to show a user a blog on a different domain from the same entity? A javascript redirect? An html redirect? A frame where the other domain is displayed under a "bar" (a la stumbleupon)? I'm thinking a javascript redirect with an animated timer (about 10 seconds or so) that lets the user know they're about to be redirected, but can click the link (the place where they'll eventually be redirected anyways) to speed up the process. Thoughts? Am I completely wrong?

  • Like 1

Share this post


Link to post
Share on other sites

Are you redirecting because the blog has moved or are you just showing a different blog?

Share this post


Link to post
Share on other sites

I would use a meta refresh tag instead of Javascript. You can still have a countdown timer and a link to the other page.

Share this post


Link to post
Share on other sites

Does http-equiv="refresh" just make the redirect more, for lack of a better term, legitimate? I assume a 301 redirect is just the wrong tool for the job then. I also assume the timer would just be a bit of code with the only function of being a timer which happens to end at the same time the meta refresh, refreshes.

Share this post


Link to post
Share on other sites

The meta refresh works without Javascript, and has been around for as long as meta tags. A 301 is more for search engines these days, where you are telling them that something has moved permanently and that they should update their indexes. Don't use a 301 for something that hasn't moved permanently. You would use a 302 for a temporary redirect.

Share this post


Link to post
Share on other sites

Sorry, I was ambiguous. :Pleased: I understand the meta tag doesn't need JS to do it's thing. Now that I know a meta refresh would be best, I just need to throw together a JS countdown that ends just as the meta refresh takes effect. Thanks justsomeguy, Ingolme.

Edited by Coaxsist

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...