Redirect 301 question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bigalownz
    Confirmed User
    • Aug 2005
    • 1657

    #1

    Redirect 301 question

    i got a folder with alot of the same galleries in a folder
    eg

    folder/1.html
    folder/2.html
    folder/3.html

    and i want to send them to another site

    is this right to put in .htaccess ??

    Redirect 301 /folder/(.*)\.html$ http://www.newsite/folder2/index.html

    i tryed it but it but it doesnt work
    have i done something wrong ?
    $100 free credit for all hosting needs
  • budz
    Disruptive Innovator
    • Sep 2003
    • 4230

    #2
    RedirectMatch 301 ^/KimK(.*) http://track.vivid.com/vc/ppj/151.1/102982/

    this would send anyone going to mysite/KimKaawhateverthefuck/bleh.bleh.wmv to vivid..
    C:\Code\
    C:\Code\Run\

    Comment

    • bigalownz
      Confirmed User
      • Aug 2005
      • 1657

      #3
      Originally posted by budz
      RedirectMatch 301 ^/KimK(.*) http://track.vivid.com/vc/ppj/151.1/102982/

      this would send anyone going to mysite/KimKaawhateverthefuck/bleh.bleh.wmv to vivid..
      thanks

      and what do i put if i only want to redirect only html files ?
      $100 free credit for all hosting needs

      Comment

      Working...