Permanent 301 redirect syntax for .ht access when directory name / level has changed

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tfirma2000
    New Member
    • Feb 2010
    • 1

    Permanent 301 redirect syntax for .ht access when directory name / level has changed

    Hello,

    I have moved my files up one level in directory structure.

    OLD URL

    http://www.domain.com/info/filename1.php
    http://www.domain.com/info/filename2.php
    etc

    NEW URL

    http://www.domain.com/filename1.php
    http://www.domain.com/filename2.php
    etc

    QUESTION:

    What is they syntax to put into .ht access file to correctly redirect (rename) the path from previous /info to the current url structure?
Working...