Jump to content

What method do you use to redirect a page?


Recommended Posts

To redirect from an HTML page, use the META Tag. With this, use the http-equiv attribute to provide an HTTP header for the value of the content attribute. The value in the content is the number of seconds; you want the page to redirect after. Set the content attribute to 0, if you want it to load immediately.

Link to post
Share on other sites

The simplest way to redirect to another URL is to use an HTML <meta> tag with the http-equiv parameter set to “refresh”. The content attribute sets the delay before the browser redirects user to the new web page. For redirect to occur immediately set this parameter to “0” seconds for the content attribute.

Link to post
Share on other sites

A redirect is a way to send both users and search engines to another URL from the one they basically asked.

It can be done in two ways. 301 & 302 redirection.
301 is a permanent redirect 
302 is a temporary redirect

So you can choose according to the position.
 

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