SeoPromoter Site Admin
Joined: 07 May 2005 Posts: 12
|
Posted: Thu Sep 15, 2005 11:51 pm Post subject: URL Redirections |
|
|
The redirects can take problems, although isn't not frequent.
They are not banned.
Remember this:
If you have changed the url of your page or simply you think that people are going to go to an URL and you want to redirect it, the best thing for the search engines is a 301 redirect , a permanent redirect. With this redirect you indicate to the search engine that you have changed your location and it fixes and pass the gained positioning to the new page, as backlinks too. Can be very useful if you change the file names too.
ColdFusion Redirect:
<.cfheader statuscode="301" statustext="Moved permanently">
<.cfheader name="Location" value="http://www.newdomain.com">
PHP Redirect:
<?
Header( "HTTP/1.1 301 Moved Permanently" );
Header( "Location: http://www.newdomain" );
?>
ASP Redirect:
<%@ Language=VBScript %>
<%
Response.Status="301 Moved Permanently" Response.AddHeader "Location", " http://www.newdomain.com"
>
ASP .NET Redirect:
<script runat="server">
private void Page_Load(object sender, System.EventArgs e)
{
Response.Status = "301 Moved Permanently";
Response.AddHeader("Location","http://www.newdomain.com");
}
</script>
Regards! |
|