Help with HT.Acess url rewrite - Very easy

Discussion in 'Apache' started by TODMovies, Sep 22, 2009.

  1. #1
    For someone who knows this will be a very simple task.

    my current url reads **blog url**/category/movies

    i would like it to read **blog url**/movies.html

    Can someone pls help me with the correct rewrite rule to add to my ht acess file.

    Thanks!!
     
    TODMovies, Sep 22, 2009 IP
  2. chadsmith

    chadsmith Peon

    Messages:
    82
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hi. This should do it if it's added at the end:

    RewriteRule ^movies\.html$ /category/movies [L]
    
    # Generated for free at SearchFriendlyURLs.com
    Code (markup):
     
    chadsmith, Sep 24, 2009 IP