URL Redirecting Script Rumi, October 12, 2008October 12, 2008 Meta Refresh URL Redirect Meta Refresh URL Redirect is an example of a meta refresh URL redirect. The code is quite simple. <meta http-equiv=”refresh” content=”8;url=http://www.seocompany.ca/index.html” /> Meta tag refresh is known to not be very search engine friendly and is consider spammy because of its misuse. If you keep it up around 8 seconds it is said it is ok. This method displays the new page that the refresh points to.PHP URL Redirect PHP URL Redirect is just like it says. The code for this script is short and simple. The following code goes at the top of the page. <?php header(“location:http://www.seocompany.ca/index.html”); exit; ?> This script shows the new page that the refresh points to. 301 ASP URL Redirect RewriteRule ^(.*)$ http://www.seocompany.ca/$1 [R=301,L] ASP URL Redirect does the redirect quite quickly. The code goes at the top of the page. <%@ Language=VBScript %> <% Response.Status=”301 Moved Permanently” Response.AddHeader “Location”, “http://www.seocompany.ca/index.html” %> This code also takes you to the redirected page. Coldfusion URL Redirect Coldfusion URL Redirect is about as short as they get. <cflocation url=”http://www.seocompany.ca”> This code also takes you to the redirected page. Javascrip URL Redirect Javascript URL Redirect shows this script in action. Again this solution only takes one line of code. <script type=”text/javascript”>document.location.href=’www.seocompany.ca/index.html'</script> This code also sends you to the redirected url. shtml URL Redirect shtml URL Redirect displays the same code but don’t redirect you to the page like the other processes. <!–#include virtual=”http://www.seocompany.ca/index.html”–> Scripts