SitePoint Sponsor

User Tag List

Results 1 to 5 of 5

Thread: Redirection !

  1. #1
    SitePoint Evangelist Caesar's Avatar
    Join Date
    May 2000
    Location
    On some harddisk
    Posts
    599
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,

    When a visitor types in http://www.yourdomain.com/forum, how can I redirect it to http://www.yourdomain.com/forum/index.php3 ?

    Thanks !

  2. #2
    Not Bad, eh? Justin Sampson's Avatar
    Join Date
    Aug 2000
    Location
    N.S., Canada
    Posts
    487
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well you could just use .htaccess and make index.php3 your defualt page in that directory. If you wan't me to explain in more detail just ask.

  3. #3
    SitePoint Evangelist Caesar's Avatar
    Join Date
    May 2000
    Location
    On some harddisk
    Posts
    599
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok, I'll ask. I know where to put that htaccess file in but I need to know what codes should be in that file cos' I've never done any redirection with htaccess.

    Thanks Justin !

  4. #4
    SitePoint Author Kevin Yank's Avatar
    Join Date
    Apr 2000
    Location
    Melbourne, Australia
    Posts
    2,571
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    The answer is on this page of my MySQL/PHP tutorial:

    http://www.webmasterbase.com/article.php?aid=228&pid=73
    Kevin Yank
    CTO, sitepoint.com
    I wrote: Simply JavaScript | BYO PHP/MySQL | Tech Times | Editize
    Baby’s got back—a hard back, that is: The Ultimate CSS Reference

  5. #5
    SitePoint Evangelist Caesar's Avatar
    Join Date
    May 2000
    Location
    On some harddisk
    Posts
    599
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Got it ! Thanks kyank and Justin !


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •