htaccess redirect

Discussion in 'Google' started by puffyz, Jun 30, 2008.

  1. #1
    I am having a little difficulty figuring a problem out. Trying to redirect pagination pages to the main for 1... ie /cat/name/page-1 to /cat/name

    in htaccess have tried

    RewriteRule ^([^/]+)/([^/]+)/page-1$ /$1/$2 [L]

    but this seems to make everything a 500 int error.

    What am I doing wrong? thanks in advance everyone.
     
    puffyz, Jun 30, 2008 IP
  2. Camay123

    Camay123 Well-Known Member

    Messages:
    3,423
    Likes Received:
    86
    Best Answers:
    0
    Trophy Points:
    160
    #2
    Camay123, Jun 30, 2008 IP