Question:

URL re-direction ?

by Guest31945  |  earlier

0 LIKES UnLike

i have windows server 2003 with DNS server set up on it, i would like to re-direct www.dl-share.co.uk/images to www.dl-share.co.uk/notfound.php please can anyboday tell me how to do this using the DNS server

 Tags:

   Report

3 ANSWERS


  1. You can only redirect domain names and subdomains with dns not a path like /images. Use a file images/index.htm to redirect using <meta refresh>


  2. In the /images directory, make a file called index.php, in this you write:

    <?php

    header("Location: notfound.php");

    ?>

    And this should work.

    What it does it when you enter /images directory, it'll automatically go to index.php seeing as it's the index page of the directory, and then the code will redirect the user to the specified page.

  3. Well, you do not do a directory redirect with the DNS. You use the redirect command within the site for directory moves. DNS is used for the SITE not a subsection or directory.

    Here is a complete list of methods to redirect a directory within your site.

    http://www.seocompany.ca/seo/url-redirec...

    Good Luck
You're reading: URL re-direction ?

Question Stats

Latest activity: earlier.
This question has 3 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.
Unanswered Questions