Jump to content

Recommended Posts

<html> 
<head> 
<title>IU Webmaster redirect</title>
<META http-equiv="refresh" content="5;URL=http://www.indiana.edu/~wmhelp/new-directory"> </head> 
<body bgcolor="#ffffff"> <center>The contents you are looking for have moved. You will be redirected to the new location automatically in 5 seconds. Please bookmark the correct page at <a href="http://www.indiana.edu/~wmhelp/new-directory"> http://www.indiana.edu/~wmhelp/new-directory</a> </center> </body> </html> 

http://webmaster.indiana.edu/tool_guide_info/refresh_metatag.shtml

 

sry.. no time to explain.. just read the link

 

the main source was here

<META http-equiv="refresh" content="5;URL=http://www.indiana.edu/~wmhelp/new-directory">

Link to comment
https://forums.phpfreaks.com/topic/142337-redirect-in-opera/#findComment-745873
Share on other sites

You forgot the semicolon at the end of your script.

 

Keep an eye out in the lower left hand corner if youre using IE for the yellow exclimation point.  Im not too familiar with Opera but javascript is like php, needs a ; character at the end of every command basicly.

 

window.location = "http://www.google.com/";

 

Link to comment
https://forums.phpfreaks.com/topic/142337-redirect-in-opera/#findComment-749569
Share on other sites

A php header redirect is also frowned upon by search engines. :D I would use either a temporary or permananet htaccess redirect.

 

Search engines cannot tell the difference between a php redirect and .htaccess redirect. They both occur serverside, and are both served up by the server as a header. On top of this, with php redirects, you can attach HTTP error code stating that it is a permanent, temporary, or other redirect, which the search engines DO like. So I have to politely disagree with you, and say that you are in fact wrong with that comment.

Link to comment
https://forums.phpfreaks.com/topic/142337-redirect-in-opera/#findComment-750305
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

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.   Restore formatting

  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.

×
×
  • Create New...

Important Information

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.