how define in htacess a link that don´t exist?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jason7899
    New Member
    • Mar 2008
    • 59

    how define in htacess a link that don´t exist?

    hi,
    i have this domain for example: mydomain.com
    and i want when i enter this url in browser:

    mydomain.com/test

    the htacess see the "test" redirect the site for test location ex: www.silva.com
    and to that for the other words that i enter after "/"
    for the folders that exist in server the htacess will don´t do nothing
    the objective is only for the words what i want
    this is possible?
    thanks for your help
    :)
  • Markus
    Recognized Expert Expert
    • Jun 2007
    • 6092

    #2
    Hi, there.

    Please see this thread. The question is different, but the answer is generally the same. Instead of redirecting to a local site, provide a complete http:// URL to wherever you want to redirect to.

    When you have given it a go, post back with any other questions and the source-code you have tried with.

    Thanks,
    Mark (moderator).

    P.S. I moved your thread from PHP to Apache (.htaccess is apache stuff).

    Comment

    • Jason7899
      New Member
      • Mar 2008
      • 59

      #3
      hi,
      thanks a lot for your help
      i will try that
      :)

      Comment

      Working...