Mod rewrite question..

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chadglni
    Confirmed User
    • Dec 2002
    • 6924

    #1

    Mod rewrite question..

    How can I make ALL html documents in a specific folder point to a clean url only?

    Example:

    /blah/whatever1.html
    /blah/whatever2.html

    I want this to rewrite to

    /blah-whatever1

    All help appreciated!


    Sign up here - Dating Site affiliate program
  • psili
    Confirmed User
    • Apr 2003
    • 5526

    #2
    just a stab in the dark:

    RewriteRule ^/blah-(*.)$ /blah/$1.html
    Your post count means nothing.

    Comment

    Working...