#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2010
    Posts
    1
    Rep Power
    0

    301 redirect in web.config


    Hello!
    I need help!
    web. config is very hard to me!

    Please, can you help me?

    **************************
    PHP Code:
    from 
    site
    .com/index.php
    to
    site
    .com
    ***********************************
    I found this but Im not sure that is right
    PHP Code:
    <rule name="Redirect to root" patternSyntax="Wildcard" stopProcessing="true">
    <
    match url="index.php" />
    <
    action type="Redirect" url="/" appendQueryString="false" redirectType="Permanent" />
    </
    rule
  2. #2
  3. No Profile Picture
    Grumpier old Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jun 2003
    Posts
    14,443
    Rep Power
    4539
    I don't know about web.config settings for this, sorry.
    ======
    Doug G
    ======
    Bartender to Rene Descartes "have another beer?" Descartes: "I think not" and he vanished.
    --Alfred Bester

IMN logo majestic logo threadwatch logo seochat tools logo