SEO – 301 Redirect voor CGI (perl)

Posted by Gaaf on June 28, 2007 in Algemeen, Internet |

Gebruik je Perl in je website en je wilt een 301 redirect?

Gebruik de volgende code:

1. CGI (Perl):
#! /usr/bin/perl

use cgi;
my $q = cgi->new();
print $q->redirect(
-location => ‘http://www.site.nl/nieuw.html’,
-status => 301,
);

Controleer altijd je werkzaamheden. Gebruik een browser of de volgende locatie: http://www.seochat.com/seo-tools/redirect-check/

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Copyright © 2006-2012 Dit is gaaf! All rights reserved.
Desk Mess Mirrored version 1.9.1 theme from BuyNowShop.com.

Performance Optimization WordPress Plugins by W3 EDGE