Computing.Net > Forums > Web Development > Moved Permanently 301 query

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Moved Permanently 301 query

Reply to Message Icon

Name: ian_ok
Date: February 15, 2006 at 00:34:39 Pacific
OS: win xp 98 & 2k
CPU/Ram: p3 512
Comment:

I'm using the following code on a dynamic page, but SHOULD I remove all code below it i.e. the <HTML> <HEAD>etc etc etc....
<?php
header("HTTP/1.1 301 Moved Permanently");
header("Location: h ttp://www.site.com");
exit(); ?>

Thanks Ian

Venta Sanlucar Sales



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: Moved Permanently 301 query

cpanel not opening on home pc www.computing.net/answers/webdevel/cpanel-not-opening-on-home-pc/4108.html

cant access webpage outside lan ..? www.computing.net/answers/webdevel/cant-access-webpage-outside-lan-/3045.html

Move to next field www.computing.net/answers/webdevel/move-to-next-field/2557.html