htaccess help -- get request 301 redirect.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gwidomains
    Confirmed User
    • May 2007
    • 426

    #1

    htaccess help -- get request 301 redirect.

    htaccess help -- get request 301 redirect.

    What is the best way to implement a 301 redirect on a get request?
  • fris
    Too lazy to set a custom title
    • Aug 2002
    • 55679

    #2
    do you have a sample url structure?
    Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

    Comment

    • gwidomains
      Confirmed User
      • May 2007
      • 426

      #3
      RewriteRule ^/site.aspx?aspxerrorpath=(.*)$ http://www.domain.com/new-lander/

      Tried this, but it isn't working.

      Comment

      • fris
        Too lazy to set a custom title
        • Aug 2002
        • 55679

        #4
        Code:
        RewriteRule ^site.aspx?aspxerrorpath=(.*)$ http://www.domain.com/new-lander/ [L,R=301]
        Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

        Comment

        Working...