Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Apr 2010
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile .htaccess rewrite rule in Apache configuration

    when i write the .htaccees rule in page url

    e.g.
    RewriteRule ^painting-(.*)/(.*)/(.*).html painting.php?u_category=$1&u_subcategory=$2&u_pg=$3

    it shows

    http://www.abtc.com/painting/Art-Gal...ainting/1.html

    its find out the directory but there is no Art-Gallery,Landscape-Painting directory in root server.

    how can i redirect the page to http://www.abtc.com/painting/Art-Gal...ainting/1.html

  • #2
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,994
    Thanks
    4
    Thanked 2,662 Times in 2,631 Posts
    That rule doesn't match the url you've provided. The first level is painting- while you only have painting/. Looks to me like that - should be a /.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •