GFXVoid Graphic Design Forum

Remove Text Formatting
Loading...

» Online Users: 9,578

0 members and 9,578 guests
No Members online

» Site Navigation

 > FAQ

» Stats

Members: 35,442
Threads: 103,075
Posts: 826,688
Top Poster: cc.RadillacVIII (7,429)
Welcome to our newest member, Lekelindids
Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2004
    Location
    Buffalo Grove, Illinois
    Posts
    350

    Default

    This tutorial will teach you how to create a redirection script that redirects web crawlers as well. This is very useful if you just moved your site to a new domain, and you wanted a page rank quicker.

    Code:
    <?php
    
    Header ("HTTP/1.1 301 Moved Permanently");
    Header ("Location: http://www.yoursite.com");
    
    ?>
    Created By PHPMini

  2. #2
    Join Date
    Mar 2005
    Location
    Montreal
    Posts
    713

    Default

    nice nice

    i am in intro to php coded

    all i know is include and getdate lol

    now i know this too lol

    thx demo

  3. #3
    Join Date
    Dec 2004
    Location
    Buffalo Grove, Illinois
    Posts
    350

    Default

    No problem. This script is very useful to let crawlers know that your site is moved. Before I knew how to do this, it took a long time for crawlers such as Googlebot to notice that my site was moved.

  4. #4
    Join Date
    Jul 2005
    Posts
    15

    Default

    Good try, but wrong one.

    header("HTTP/1.1 302 Found");
    header("Location: http://host.lv/address/file.php?smth=1&oth...#anchor");
    header("Connection: close");
    die
    Use this instead of 301. Used to fix some redirecting problems on Opera and some other browsers.

Similar Threads

  1. Perl: Redirection Script
    By demo in forum Other Tutorials
    Replies: 2
    Last Post: 02-08-2006, 03:07 PM
  2. Simple sig
    By Tyson in forum Sigs & Manips
    Replies: 8
    Last Post: 08-26-2005, 10:16 AM
  3. Simple FF Sig
    By robgasm in forum Sigs & Manips
    Replies: 8
    Last Post: 05-04-2005, 12:44 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBadvanced CMPS v4.1.1