Welcome to TalkGraphics.com

Search:

Type: Posts; User: sculptex; Keyword(s):

Search: Search took 0.03 seconds.

  1. Replies
    11
    Views
    9,180

    Re: How to set up a 301 re-direct

    The above only works for php to html

    Oldfile.php and newfile.htm should of course be replaced with actual filenames

    Now as for redirecting a whole domain, are new filenames the same as old? Are...
  2. Replies
    11
    Views
    9,180

    Re: How to set up a 301 re-direct

    Okay, to redirect individual Php pages to HTML ones, create a file called oldfile.php and edit its contents to:-
    <?php
    header("HTTP/1.1 301 Moved Permanently");
    header("Location: newfile.htm");
    ?>
  3. Replies
    11
    Views
    9,180

    Re: How to set up a 301 re-direct

    Hi Tinkerbell,
    Please give a couple of examples of old URL and new URL and I can make some suggestions.
    Also, how many URLs are there in total to be redirected?

    Edit, I see this is an old post!
Results 1 to 3 of 3